aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
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.h
parent0380851130cafa4cda99e923fdc97c7a2c1eaf27 (diff)
downloadllvm-70415d97a84fa557048feadafbacc1b08fc0695c.zip
llvm-70415d97a84fa557048feadafbacc1b08fc0695c.tar.gz
llvm-70415d97a84fa557048feadafbacc1b08fc0695c.tar.bz2
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.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 6b13c90..d56161f 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -108,7 +108,8 @@ public:
/// create - Create an interpreter ExecutionEngine. This can never fail.
///
static ExecutionEngine *create(ModuleProvider *M, std::string *ErrorStr = 0,
- CodeGenOpt::Level = CodeGenOpt::Default);
+ CodeGenOpt::Level = CodeGenOpt::Default,
+ bool GVsWithCode = true);
/// run - Start execution with the specified function and arguments.
///