Index: src/ic/arm/ic-arm.cc |
diff --git a/src/ic/arm/ic-arm.cc b/src/ic/arm/ic-arm.cc |
index b92c296003f84ae449bfc8c86d807b583a04fade..418c1ea7040339954b9b6584f14f97bedf49ee4b 100644 |
--- a/src/ic/arm/ic-arm.cc |
+++ b/src/ic/arm/ic-arm.cc |
@@ -843,7 +843,8 @@ bool CompareIC::HasInlinedSmiCode(Address address) { |
} |
-void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
+void PatchInlinedSmiCode(Isolate* isolate, Address address, |
+ InlinedSmiCheck check) { |
Address cmp_instruction_address = |
Assembler::return_address_from_call_start(address); |
@@ -882,7 +883,7 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
// tst rx, #kSmiTagMask |
// b ne/eq, <target> |
// and vice-versa to be disabled again. |
- CodePatcher patcher(patch_address, 2); |
+ CodePatcher patcher(isolate, patch_address, 2); |
Register reg = Assembler::GetRn(instr_at_patch); |
if (check == ENABLE_INLINED_SMI_CHECK) { |
DCHECK(Assembler::IsCmpRegister(instr_at_patch)); |