namespace {
static struct RegisterJIT {
- RegisterJIT() { llvm::OrcMCJITReplacement::Register(); }
+ RegisterJIT() { llvm::orc::OrcMCJITReplacement::Register(); }
} JITRegistrator;
-extern "C" void LLVMLinkInOrcMCJITReplacement() {}
}
+extern "C" void LLVMLinkInOrcMCJITReplacement() {}
+
namespace llvm {
+namespace orc {
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);
llvm_unreachable("Full-featured argument passing not supported yet!");
}
-}
+
+} // End namespace orc.
+} // End namespace llvm.