Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 3f8d92275f53e57acc306c96db8def46408affff..77bd8f19ffed5a1de6ad9b12c1090f1f3c6d578b 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -74,6 +74,7 @@ void MacroAssembler::Jump(Handle<Code> code, RelocInfo::Mode rmode, |
Condition cond) { |
ASSERT(RelocInfo::IsCodeTarget(rmode)); |
// 'code' is always generated ARM code, never THUMB code |
+ ALLOW_HANDLE_DEREF(isolate(), "embedding raw address"); |
Jump(reinterpret_cast<intptr_t>(code.location()), rmode, cond); |
} |
@@ -162,6 +163,7 @@ int MacroAssembler::CallSize(Handle<Code> code, |
RelocInfo::Mode rmode, |
TypeFeedbackId ast_id, |
Condition cond) { |
+ ALLOW_HANDLE_DEREF(isolate(), "using raw address"); |
return CallSize(reinterpret_cast<Address>(code.location()), rmode, cond); |
} |
@@ -179,6 +181,7 @@ void MacroAssembler::Call(Handle<Code> code, |
rmode = RelocInfo::CODE_TARGET_WITH_ID; |
} |
// 'code' is always generated ARM code, never THUMB code |
+ ALLOW_HANDLE_DEREF(isolate(), "embedding raw address"); |
Call(reinterpret_cast<Address>(code.location()), rmode, cond, mode); |
} |
@@ -395,6 +398,7 @@ void MacroAssembler::StoreRoot(Register source, |
void MacroAssembler::LoadHeapObject(Register result, |
Handle<HeapObject> object) { |
+ ALLOW_HANDLE_DEREF(isolate(), "using raw address"); |
if (isolate()->heap()->InNewSpace(*object)) { |
Handle<JSGlobalPropertyCell> cell = |
isolate()->factory()->NewJSGlobalPropertyCell(object); |
@@ -1117,6 +1121,7 @@ void MacroAssembler::InvokeFunction(Register fun, |
void MacroAssembler::InvokeFunction(Handle<JSFunction> function, |
+ const ParameterCount& expected, |
const ParameterCount& actual, |
InvokeFlag flag, |
const CallWrapper& call_wrapper, |
@@ -1128,7 +1133,6 @@ void MacroAssembler::InvokeFunction(Handle<JSFunction> function, |
LoadHeapObject(r1, function); |
ldr(cp, FieldMemOperand(r1, 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. |