Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 511a3c74f26ccf19ee4aac6c755d583bdc2e1a83..f15d4b11f843bd22e43d67c5a4048d73ac2b54da 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -354,7 +354,7 @@ void CallICBase::GenerateMonomorphicCacheProbe(MacroAssembler* masm, |
extra_state, |
Code::NORMAL, |
argc); |
- Isolate::Current()->stub_cache()->GenerateProbe( |
+ masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, r1, r2, r3, r4, r5, r6); |
// If the stub cache probing failed, the receiver might be a value. |
@@ -393,7 +393,7 @@ void CallICBase::GenerateMonomorphicCacheProbe(MacroAssembler* masm, |
// Probe the stub cache for the value object. |
__ bind(&probe); |
- Isolate::Current()->stub_cache()->GenerateProbe( |
+ masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, r1, r2, r3, r4, r5, r6); |
__ bind(&miss); |
@@ -658,7 +658,7 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
Code::Flags flags = Code::ComputeFlags( |
Code::STUB, MONOMORPHIC, Code::kNoExtraICState, |
Code::NORMAL, Code::LOAD_IC); |
- Isolate::Current()->stub_cache()->GenerateProbe( |
+ masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, r0, r2, r3, r4, r5, r6); |
// Cache miss: Jump to runtime. |
@@ -1490,7 +1490,7 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm, |
Code::STUB, MONOMORPHIC, strict_mode, |
Code::NORMAL, Code::STORE_IC); |
- Isolate::Current()->stub_cache()->GenerateProbe( |
+ masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, r1, r2, r3, r4, r5, r6); |
// Cache miss: Jump to runtime. |