summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-07-08 21:59:57 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-07-08 21:59:57 +0000
commit70415d97a84fa557048feadafbacc1b08fc0695c (patch)
treed64dd69a67c8c9c357d503f8795e60f968b762bb /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
parent0380851130cafa4cda99e923fdc97c7a2c1eaf27 (diff)
downloadbcm5719-llvm-70415d97a84fa557048feadafbacc1b08fc0695c.tar.gz
bcm5719-llvm-70415d97a84fa557048feadafbacc1b08fc0695c.zip
Add an option to allocate JITed global data separately from code. By
default, this option is not enabled to support clients who rely on this behavior. Fixes http://llvm.org/PR4483 A patch to allocate additional memory for globals after we run out is forthcoming. Patch by Reid Kleckner! llvm-svn: 75059
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index d7f38ef548f..902f6768dc8 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -34,7 +34,8 @@ extern "C" void LLVMLinkInInterpreter() { }
/// create - Create a new interpreter object. This can never fail.
///
ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr,
- CodeGenOpt::Level OptLevel /*unused*/) {
+ CodeGenOpt::Level OptLevel, /*unused*/
+ bool GVsWithCode /* unused */) {
// Tell this ModuleProvide to materialize and release the module
if (!MP->materializeModule(ErrStr))
// We got an error, just return 0
@@ -98,4 +99,3 @@ Interpreter::runFunction(Function *F,
return ExitValue;
}
-
OpenPOWER on IntegriCloud