Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 092aee5d47b5aed45eb1f1562021e92efd26a667..0eda69c97c4b39e744c0e65ff42f3baa00e8d32f 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2278,6 +2278,7 @@ void MacroAssembler::InvokeFunction(Register fun, |
void MacroAssembler::InvokeFunction(Handle<JSFunction> function, |
+ const ParameterCount& expected, |
const ParameterCount& actual, |
InvokeFlag flag, |
const CallWrapper& call_wrapper, |
@@ -2289,7 +2290,6 @@ void MacroAssembler::InvokeFunction(Handle<JSFunction> function, |
LoadHeapObject(edi, function); |
mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); |
- ParameterCount expected(function->shared()->formal_parameter_count()); |
// We call indirectly through the code field in the function to |
// allow recompilation to take effect without changing any of the |
// call sites. |
@@ -2480,6 +2480,7 @@ int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { |
void MacroAssembler::LoadHeapObject(Register result, |
Handle<HeapObject> object) { |
+ ALLOW_HANDLE_DEREF(isolate(), "embedding raw address"); |
if (isolate()->heap()->InNewSpace(*object)) { |
Handle<JSGlobalPropertyCell> cell = |
isolate()->factory()->NewJSGlobalPropertyCell(object); |
@@ -2491,6 +2492,7 @@ void MacroAssembler::LoadHeapObject(Register result, |
void MacroAssembler::PushHeapObject(Handle<HeapObject> object) { |
+ ALLOW_HANDLE_DEREF(isolate(), "using raw address"); |
if (isolate()->heap()->InNewSpace(*object)) { |
Handle<JSGlobalPropertyCell> cell = |
isolate()->factory()->NewJSGlobalPropertyCell(object); |