Index: src/arm/code-stubs-arm.cc |
=================================================================== |
--- src/arm/code-stubs-arm.cc (revision 6858) |
+++ src/arm/code-stubs-arm.cc (working copy) |
@@ -5884,11 +5884,10 @@ |
void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
- ApiFunction *function) { |
+ ExternalReference function) { |
__ mov(lr, Operand(reinterpret_cast<intptr_t>(GetCode().location()), |
RelocInfo::CODE_TARGET)); |
- __ mov(r2, |
- Operand(ExternalReference(function, ExternalReference::DIRECT_CALL))); |
+ __ mov(r2, Operand(function)); |
// Push return address (accessible to GC through exit frame pc). |
__ str(pc, MemOperand(sp, 0)); |
__ Jump(r2); // Call the api function. |