diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 17:33:41 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 17:33:41 +0000 |
commit | c8f02e7540117f9f1fdfa500bc899e14232b5712 (patch) | |
tree | 61b875a124e07a7cbc833aa09e2b29601bfe926e /llvm/lib/ExecutionEngine/Interpreter | |
parent | d1c66ddf00242fef8f402d9c41a526fdcb79ba83 (diff) | |
download | bcm5719-llvm-c8f02e7540117f9f1fdfa500bc899e14232b5712.tar.gz bcm5719-llvm-c8f02e7540117f9f1fdfa500bc899e14232b5712.zip |
Interpreter: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250185
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 42004a14ec5..d0efa1f1c08 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -2091,7 +2091,7 @@ void Interpreter::callFunction(Function *F, ArrayRef<GenericValue> ArgVals) { } // Get pointers to first LLVM BB & Instruction in function. - StackFrame.CurBB = F->begin(); + StackFrame.CurBB = &F->front(); StackFrame.CurInst = StackFrame.CurBB->begin(); // Run through the function arguments and initialize their values... @@ -2103,7 +2103,7 @@ void Interpreter::callFunction(Function *F, ArrayRef<GenericValue> ArgVals) { unsigned i = 0; for (Function::arg_iterator AI = F->arg_begin(), E = F->arg_end(); AI != E; ++AI, ++i) - SetValue(AI, ArgVals[i], StackFrame); + SetValue(&*AI, ArgVals[i], StackFrame); // Handle varargs arguments... StackFrame.VarArgs.assign(ArgVals.begin()+i, ArgVals.end()); |