summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-03-24 02:53:49 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-03-24 02:53:49 +0000
commit2f51914d828b462b054195e73c75448f24e01979 (patch)
tree4920004701e877ba1a1a09454fdfea7792cb9d42 /lib/ExecutionEngine
parentd1f04d40a078d6ca7c876b16a178992a109af774 (diff)
downloadllvm-2f51914d828b462b054195e73c75448f24e01979.tar.gz
llvm-2f51914d828b462b054195e73c75448f24e01979.tar.bz2
llvm-2f51914d828b462b054195e73c75448f24e01979.tar.xz
Get JIT/Interpreter working on Windows again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp5
-rw-r--r--lib/ExecutionEngine/JIT/JIT.cpp5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 37f16f528f..c17e4d4041 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -24,6 +24,11 @@ static struct RegisterInterp {
RegisterInterp() { Interpreter::Register(); }
} InterpRegistrator;
+namespace llvm {
+ void LinkInInterpreter() {
+ }
+}
+
/// create - Create a new interpreter object. This can never fail.
///
ExecutionEngine *Interpreter::create(ModuleProvider *MP) {
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp
index 66e0468f18..5f426b877e 100644
--- a/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/lib/ExecutionEngine/JIT/JIT.cpp
@@ -32,6 +32,11 @@ static struct RegisterJIT {
RegisterJIT() { JIT::Register(); }
} JITRegistrator;
+namespace llvm {
+ void LinkInJIT() {
+ }
+}
+
JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji)
: ExecutionEngine(MP), TM(tm), TJI(tji), state(MP) {
setTargetData(TM.getTargetData());