X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FExecutionEngine%2FOrc%2FOrcMCJITReplacement.cpp;h=b7a68e041c1286b7b195f5d1bf9cda2345c2077e;hb=4bb355e88525e01a13a0036a7b67f8777dfed119;hp=75d1b1f7431ce01b74d662c69176a575c19f42b0;hpb=89eab6e7bdb04741c86f1f83e2d567e328cf24f3;p=oota-llvm.git diff --git a/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp b/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp index 75d1b1f7431..b7a68e041c1 100644 --- a/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp +++ b/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp @@ -13,7 +13,7 @@ namespace { static struct RegisterJIT { - RegisterJIT() { llvm::OrcMCJITReplacement::Register(); } + RegisterJIT() { llvm::orc::OrcMCJITReplacement::Register(); } } JITRegistrator; } @@ -21,10 +21,11 @@ static struct RegisterJIT { extern "C" void LLVMLinkInOrcMCJITReplacement() {} namespace llvm { +namespace orc { GenericValue OrcMCJITReplacement::runFunction(Function *F, - const std::vector &ArgValues) { + ArrayRef ArgValues) { assert(F && "Function *F was null at entry to run()"); void *FPtr = getPointerToFunction(F); @@ -122,4 +123,6 @@ OrcMCJITReplacement::runFunction(Function *F, llvm_unreachable("Full-featured argument passing not supported yet!"); } -} + +} // End namespace orc. +} // End namespace llvm.