mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[Orc] Update kaleidoscope tutorial for API change in r234669.
llvm-svn: 234673
This commit is contained in:
parent
fc434ac72e
commit
07acccf1a4
@ -1270,7 +1270,7 @@ private:
|
||||
// pointer for the indirection to point at the trampoline.
|
||||
std::string BodyPtrName = (F->getName() + "$address").str();
|
||||
GlobalVariable *FunctionBodyPointer =
|
||||
createImplPointer(*F, BodyPtrName,
|
||||
createImplPointer(*F->getType(), *F->getParent(), BodyPtrName,
|
||||
createIRTypedAddress(*F->getFunctionType(),
|
||||
CallbackInfo.getAddress()));
|
||||
makeStub(*F, *FunctionBodyPointer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user