Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 7f87345901445b0dca0076f0f699cf8899277928..6e6f8e50cfbd538a3ea6426d74e97c8062168c95 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -562,7 +562,7 @@ void CompareIC::Clear(Isolate* isolate, Address address, Code* target, |
SetTargetAtAddress(address, |
GetRawUninitialized(isolate, stub.op(), stub.strength()), |
constant_pool); |
- PatchInlinedSmiCode(address, DISABLE_INLINED_SMI_CHECK); |
+ PatchInlinedSmiCode(isolate, address, DISABLE_INLINED_SMI_CHECK); |
} |
@@ -2616,9 +2616,9 @@ MaybeHandle<Object> BinaryOpIC::Transition( |
// Patch the inlined smi code as necessary. |
if (!old_state.UseInlinedSmiCode() && state.UseInlinedSmiCode()) { |
- PatchInlinedSmiCode(address(), ENABLE_INLINED_SMI_CHECK); |
+ PatchInlinedSmiCode(isolate(), address(), ENABLE_INLINED_SMI_CHECK); |
} else if (old_state.UseInlinedSmiCode() && !state.UseInlinedSmiCode()) { |
- PatchInlinedSmiCode(address(), DISABLE_INLINED_SMI_CHECK); |
+ PatchInlinedSmiCode(isolate(), address(), DISABLE_INLINED_SMI_CHECK); |
} |
return result; |
@@ -2711,7 +2711,7 @@ Code* CompareIC::UpdateCaches(Handle<Object> x, Handle<Object> y) { |
// Activate inlined smi code. |
if (old_stub.state() == CompareICState::UNINITIALIZED) { |
- PatchInlinedSmiCode(address(), ENABLE_INLINED_SMI_CHECK); |
+ PatchInlinedSmiCode(isolate(), address(), ENABLE_INLINED_SMI_CHECK); |
} |
return *new_target; |