summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-02-03 19:18:04 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-02-03 19:18:04 +0000
commit099552a0ca16d720c10802c00a54d52a9a2264ed (patch)
treeda826eb1a19ec4b31d506ce25a919d587db5986f
parent66498388a7d1bf9de14942194009aed9eecb4fe0 (diff)
downloadbcm5719-llvm-099552a0ca16d720c10802c00a54d52a9a2264ed.tar.gz
bcm5719-llvm-099552a0ca16d720c10802c00a54d52a9a2264ed.zip
r94686 changed all ModuleProvider parameters to Modules, which made the
1-argument ExecutionEngine::create(Module*) ambiguous with the signature that used to be ExecutionEngine::create(ModuleProvider*, defaulted_params). Fixed by removing the 1-argument create(). Fixes PR6221. llvm-svn: 95236
-rw-r--r--llvm/include/llvm/ExecutionEngine/ExecutionEngine.h5
-rw-r--r--llvm/lib/ExecutionEngine/ExecutionEngine.cpp4
2 files changed, 0 insertions, 9 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
index ce6a2e9af0a..01b727f8252 100644
--- a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
+++ b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
@@ -157,11 +157,6 @@ public:
// default freeMachineCodeForFunction works.
bool GVsWithCode = true);
- /// create - This is the factory method for creating an execution engine which
- /// is appropriate for the current machine. This takes ownership of the
- /// module.
- static ExecutionEngine *create(Module *M);
-
/// createJIT - This is the factory method for creating a JIT for the current
/// machine, it does not fall back to the interpreter. This takes ownership
/// of the Module and JITMemoryManager if successful.
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
index d4af8599731..7d629af83cb 100644
--- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
+++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -387,10 +387,6 @@ ExecutionEngine *ExecutionEngine::create(Module *M,
.create();
}
-ExecutionEngine *ExecutionEngine::create(Module *M) {
- return EngineBuilder(M).create();
-}
-
ExecutionEngine *EngineBuilder::create() {
// Make sure we can resolve symbols in the program as well. The zero arg
// to the function tells DynamicLibrary to load the program, not a library.
OpenPOWER on IntegriCloud