| Index: src/ia32/macro-assembler-ia32.cc
|
| ===================================================================
|
| --- src/ia32/macro-assembler-ia32.cc (revision 8110)
|
| +++ src/ia32/macro-assembler-ia32.cc (working copy)
|
| @@ -1690,7 +1690,8 @@
|
| void MacroAssembler::InvokeFunction(JSFunction* function,
|
| const ParameterCount& actual,
|
| InvokeFlag flag,
|
| - const CallWrapper& call_wrapper) {
|
| + const CallWrapper& call_wrapper,
|
| + CallKind call_kind) {
|
| ASSERT(function->is_compiled());
|
| // Get the function and setup the context.
|
| mov(edi, Immediate(Handle<JSFunction>(function)));
|
| @@ -1702,11 +1703,11 @@
|
| // code field in the function to allow recompilation to take effect
|
| // without changing any of the call sites.
|
| InvokeCode(FieldOperand(edi, JSFunction::kCodeEntryOffset),
|
| - expected, actual, flag, call_wrapper);
|
| + expected, actual, flag, call_wrapper, call_kind);
|
| } else {
|
| Handle<Code> code(function->code());
|
| InvokeCode(code, expected, actual, RelocInfo::CODE_TARGET,
|
| - flag, call_wrapper);
|
| + flag, call_wrapper, call_kind);
|
| }
|
| }
|
|
|
| @@ -1723,7 +1724,7 @@
|
| ParameterCount expected(0);
|
| GetBuiltinFunction(edi, id);
|
| InvokeCode(FieldOperand(edi, JSFunction::kCodeEntryOffset),
|
| - expected, expected, flag, call_wrapper);
|
| + expected, expected, flag, call_wrapper, CALL_AS_METHOD);
|
| }
|
|
|
| void MacroAssembler::GetBuiltinFunction(Register target,
|
|
|