Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index db1e490d9aa1f174ce9fde3c25fdbcbe04718394..27f9841d4d4c29aa8bf90e7176634ce6d5f15b69 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -830,7 +830,8 @@ bool CompareIC::HasInlinedSmiCode(Address address) { |
// Activate a SMI fast-path by patching the instructions generated by |
// JumpPatchSite::EmitJumpIf(Not)Smi(), using the information encoded by |
// JumpPatchSite::EmitPatchInfo(). |
-void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
+void PatchInlinedSmiCode(Isolate* isolate, Address address, |
+ InlinedSmiCheck check) { |
// The patch information is encoded in the instruction stream using |
// instructions which have no side effects, so we can safely execute them. |
// The patch information is encoded directly after the call to the helper |
@@ -855,7 +856,7 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
// to |
// tb(!n)z test_reg, #0, <target> |
Instruction* to_patch = info.SmiCheck(); |
- PatchingAssembler patcher(to_patch, 1); |
+ PatchingAssembler patcher(isolate, to_patch, 1); |
DCHECK(to_patch->IsTestBranch()); |
DCHECK(to_patch->ImmTestBranchBit5() == 0); |
DCHECK(to_patch->ImmTestBranchBit40() == 0); |