projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CMake build support for Orc examples (& fix some clang -Werror build
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Orc
/
lazy_codegen
/
toy.cpp
diff --git
a/examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp
b/examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp
index 9ba8899033b1aa3461d91cf9adfd546df457f753..47cb71bb5f3d3833e042f9bc15e2a3701e6f85f8 100644
(file)
--- a/
examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp
+++ b/
examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp
@@
-1297,7
+1297,6
@@
int main() {
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
InitializeNativeTargetAsmParser();
- LLVMContext &Context = getGlobalContext();
// Install standard binary operators.
// 1 is lowest precedence.