summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
index b9cfcaf26ce..55a02ab25cf 100644
--- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
@@ -127,15 +127,11 @@ private:
FPM->add(createCFGSimplificationPass());
FPM->doInitialization();
- dbgs() << "<pre-opt>\n" << *M << "</pre-opt>\n";
-
// Run the optimizations over all functions in the module being added to
// the JIT.
for (auto &F : *M)
FPM->run(F);
- dbgs() << "<post-opt>\n" << *M << "</post-opt>\n";
-
return M;
}
OpenPOWER on IntegriCloud