| Index: src/arm/macro-assembler-arm.cc
|
| ===================================================================
|
| --- src/arm/macro-assembler-arm.cc (revision 8110)
|
| +++ src/arm/macro-assembler-arm.cc (working copy)
|
| @@ -1048,7 +1048,8 @@
|
|
|
| void MacroAssembler::InvokeFunction(JSFunction* function,
|
| const ParameterCount& actual,
|
| - InvokeFlag flag) {
|
| + InvokeFlag flag,
|
| + CallKind call_kind) {
|
| ASSERT(function->is_compiled());
|
|
|
| // Get the function and setup the context.
|
| @@ -1063,9 +1064,9 @@
|
| // code field in the function to allow recompilation to take effect
|
| // without changing any of the call sites.
|
| ldr(r3, FieldMemOperand(r1, JSFunction::kCodeEntryOffset));
|
| - InvokeCode(r3, expected, actual, flag);
|
| + InvokeCode(r3, expected, actual, flag, NullCallWrapper(), call_kind);
|
| } else {
|
| - InvokeCode(code, expected, actual, RelocInfo::CODE_TARGET, flag);
|
| + InvokeCode(code, expected, actual, RelocInfo::CODE_TARGET, flag, call_kind);
|
| }
|
| }
|
|
|
| @@ -2369,10 +2370,12 @@
|
| GetBuiltinEntry(r2, id);
|
| if (flag == CALL_FUNCTION) {
|
| call_wrapper.BeforeCall(CallSize(r2));
|
| + SetCallKind(r5, CALL_AS_METHOD);
|
| Call(r2);
|
| call_wrapper.AfterCall();
|
| } else {
|
| ASSERT(flag == JUMP_FUNCTION);
|
| + SetCallKind(r5, CALL_AS_METHOD);
|
| Jump(r2);
|
| }
|
| }
|
|
|