Skip to content

Commit 8b1a943

Browse files
committed
memory_addr.gep_quote: fix lret and largs
1 parent 66451ef commit 8b1a943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llvm_intrin/memory_addr.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,14 +373,14 @@ function gep_quote(
373373
# ::Type{T}, ind_type::Symbol, indargname = '1', ibytes::Int, W::Int = 1, X::Int = 1, M::Int = 1, O::Int = 0, forgep::Bool = false
374374
instrs, i = offset_ptr(T_sym, ind_type, '1', ibits, W, X, M, O, true, rs)
375375
ret = Expr(:curly, :Ptr, T_sym)
376-
lret = JULIAPOINTERTYPE
376+
lret = "ptr"
377377
if gep_returns_vector(W, X, M, ind_type)
378378
ret = Expr(:curly, :_Vec, W, ret)
379379
lret = "<$W x $lret>"
380380
end
381381

382382
args = Expr(:curly, :Tuple, Expr(:curly, :Ptr, T_sym))
383-
largs = String[JULIAPOINTERTYPE]
383+
largs = String["ptr"]
384384
arg_syms = Union{Symbol,Expr}[:ptr]
385385

386386
if !(iszero(M) || ind_type === :StaticInt)

0 commit comments

Comments
 (0)