Fix calling functions by pointer in Aarch64 compiler
This commit is contained in:
parent
c83a5be119
commit
e0c1db4978
1 changed files with 1 additions and 1 deletions
|
|
@ -1173,7 +1173,7 @@ namespace pslang::jit::aarch64
|
|||
builder.cb_inject(pcontext.code.data() + resolve.offset, (lcontext.nodes.at(resolve.target) - resolve.offset) / 4);
|
||||
|
||||
for (auto const & resolve : lcontext.adr_resolve)
|
||||
builder.adr_inject(pcontext.code.data() + resolve.offset, (lcontext.nodes.at(resolve.target) - resolve.offset) / 4);
|
||||
builder.adr_inject(pcontext.code.data() + resolve.offset, lcontext.nodes.at(resolve.target) - resolve.offset);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue