Add CMake build support for Orc examples (& fix some clang -Werror build
[oota-llvm.git] / examples / Kaleidoscope / Orc / lazy_codegen / toy.cpp
index 9ba8899033b1aa3461d91cf9adfd546df457f753..47cb71bb5f3d3833e042f9bc15e2a3701e6f85f8 100644 (file)
@@ -1297,7 +1297,6 @@ int main() {
   InitializeNativeTarget();
   InitializeNativeTargetAsmPrinter();
   InitializeNativeTargetAsmParser();
-  LLVMContext &Context = getGlobalContext();
 
   // Install standard binary operators.
   // 1 is lowest precedence.