Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(101)

Unified Diff: examples/BrainF/BrainFDriver.cpp

Issue 144074: [PATCH] Make the lazy/eager decision explicit instead of defaulted (Closed) Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: Created 15 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/ProgrammersManual.html ('k') | examples/Fibonacci/fibonacci.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/BrainF/BrainFDriver.cpp
===================================================================
--- examples/BrainF/BrainFDriver.cpp (revision 85295)
+++ examples/BrainF/BrainFDriver.cpp (working copy)
@@ -145,7 +145,8 @@
ExecutionEngine *ee = EngineBuilder(mod).create();
std::vector<GenericValue> args;
Function *brainf_func = mod->getFunction("brainf");
- GenericValue gv = ee->runFunction(brainf_func, args);
+ GenericValue gv = ee->runFunction(brainf_func, args,
+ ExecutionEngine::Eager);
} else {
WriteBitcodeToFile(mod, *out);
}
« no previous file with comments | « docs/ProgrammersManual.html ('k') | examples/Fibonacci/fibonacci.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b