projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ExecutionEngine] ArrayRefize argument passing.
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
Orc
/
OrcMCJITReplacement.cpp
diff --git
a/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
b/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
index f658ab2b298f1886380bbc4337498685cf1b6dfb..b7a68e041c1286b7b195f5d1bf9cda2345c2077e 100644
(file)
--- a/
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
+++ b/
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
@@
-13,17
+13,19
@@
namespace {
static struct RegisterJIT {
namespace {
static struct RegisterJIT {
- RegisterJIT() { llvm::OrcMCJITReplacement::Register(); }
+ RegisterJIT() { llvm::
orc::
OrcMCJITReplacement::Register(); }
} JITRegistrator;
} JITRegistrator;
-extern "C" void LLVMLinkInOrcMCJITReplacement() {}
}
}
+extern "C" void LLVMLinkInOrcMCJITReplacement() {}
+
namespace llvm {
namespace llvm {
+namespace orc {
GenericValue
OrcMCJITReplacement::runFunction(Function *F,
GenericValue
OrcMCJITReplacement::runFunction(Function *F,
-
const std::vector<GenericValue> &
ArgValues) {
+
ArrayRef<GenericValue>
ArgValues) {
assert(F && "Function *F was null at entry to run()");
void *FPtr = getPointerToFunction(F);
assert(F && "Function *F was null at entry to run()");
void *FPtr = getPointerToFunction(F);
@@
-121,4
+123,6
@@
OrcMCJITReplacement::runFunction(Function *F,
llvm_unreachable("Full-featured argument passing not supported yet!");
}
llvm_unreachable("Full-featured argument passing not supported yet!");
}
-}
+
+} // End namespace orc.
+} // End namespace llvm.