| Index: src/arm/macro-assembler-arm.cc
|
| diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
|
| index eaaaefa8e13cba5f228942a7cd5c78e44ec7be8b..66894ddeb0c6323b3d1303d80a58f8b0a1a1166d 100644
|
| --- a/src/arm/macro-assembler-arm.cc
|
| +++ b/src/arm/macro-assembler-arm.cc
|
| @@ -1229,7 +1229,7 @@ void MacroAssembler::InvokeFunction(Register fun,
|
| }
|
|
|
|
|
| -void MacroAssembler::InvokeFunction(Register function,
|
| +void MacroAssembler::InvokeFunction(Handle<JSFunction> function,
|
| const ParameterCount& expected,
|
| const ParameterCount& actual,
|
| InvokeFlag flag,
|
| @@ -1238,10 +1238,8 @@ void MacroAssembler::InvokeFunction(Register function,
|
| // You can't call a function without a valid frame.
|
| ASSERT(flag == JUMP_FUNCTION || has_frame());
|
|
|
| - // Contract with called JS functions requires that function is passed in r1.
|
| - ASSERT(function.is(r1));
|
| -
|
| // Get the function and setup the context.
|
| + Move(r1, function);
|
| ldr(cp, FieldMemOperand(r1, JSFunction::kContextOffset));
|
|
|
| // We call indirectly through the code field in the function to
|
| @@ -1252,17 +1250,6 @@ void MacroAssembler::InvokeFunction(Register function,
|
| }
|
|
|
|
|
| -void MacroAssembler::InvokeFunction(Handle<JSFunction> function,
|
| - const ParameterCount& expected,
|
| - const ParameterCount& actual,
|
| - InvokeFlag flag,
|
| - const CallWrapper& call_wrapper,
|
| - CallKind call_kind) {
|
| - Move(r1, function);
|
| - InvokeFunction(r1, expected, actual, flag, call_wrapper, call_kind);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::IsObjectJSObjectType(Register heap_object,
|
| Register map,
|
| Register scratch,
|
|
|