projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PM] Update the examples to reflect the removal of the
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Chapter4
/
toy.cpp
diff --git
a/examples/Kaleidoscope/Chapter4/toy.cpp
b/examples/Kaleidoscope/Chapter4/toy.cpp
index ae52db82db3f848e1cb2c74fc4d7ddccb3bb7a12..f70c836ddb188e795de7136fb2a001f07f1e3462 100644
(file)
--- a/
examples/Kaleidoscope/Chapter4/toy.cpp
+++ b/
examples/Kaleidoscope/Chapter4/toy.cpp
@@
-556,7
+556,7
@@
void *MCJITHelper::getPointerToFunction(Function *F) {
}
// Create a function pass manager for this engine
}
// Create a function pass manager for this engine
-
FunctionPassManager *FPM = new
FunctionPassManager(OpenModule);
+
auto *FPM = new legacy::
FunctionPassManager(OpenModule);
// Set up the optimizer pipeline. Start with registering info about how the
// target lays out data structures.
// Set up the optimizer pipeline. Start with registering info about how the
// target lays out data structures.