mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
[Orc] Update kaleidoscope tutorial for API change in r234669.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb36df33ba
commit
43aeb128e1
@ -1270,7 +1270,7 @@ private:
|
|||||||
// pointer for the indirection to point at the trampoline.
|
// pointer for the indirection to point at the trampoline.
|
||||||
std::string BodyPtrName = (F->getName() + "$address").str();
|
std::string BodyPtrName = (F->getName() + "$address").str();
|
||||||
GlobalVariable *FunctionBodyPointer =
|
GlobalVariable *FunctionBodyPointer =
|
||||||
createImplPointer(*F, BodyPtrName,
|
createImplPointer(*F->getType(), *F->getParent(), BodyPtrName,
|
||||||
createIRTypedAddress(*F->getFunctionType(),
|
createIRTypedAddress(*F->getFunctionType(),
|
||||||
CallbackInfo.getAddress()));
|
CallbackInfo.getAddress()));
|
||||||
makeStub(*F, *FunctionBodyPointer);
|
makeStub(*F, *FunctionBodyPointer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user