projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cb36df3
)
[Orc] Update kaleidoscope tutorial for API change in r234669.
author
Lang Hames
<lhames@gmail.com>
Sat, 11 Apr 2015 00:56:21 +0000
(
00:56
+0000)
committer
Lang Hames
<lhames@gmail.com>
Sat, 11 Apr 2015 00:56:21 +0000
(
00:56
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234673
91177308
-0d34-0410-b5e6-
96231b3b80d8
examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
patch
|
blob
|
history
diff --git
a/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
b/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
index e3359dd0e470aa7bbbccbef76554a18823d3f161..b5822921b400115ee8552c6b47b2829af1ee7aa9 100644
(file)
--- a/
examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
+++ b/
examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
@@
-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);