Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index ac5af2bf66a3f504a9e130ed6e866e2ae7a89814..eb6965837e8cec478e8830c361c125b28ad55a39 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -647,7 +647,7 @@ void KeyedLoadIC::GenerateString(MacroAssembler* masm) { |
char_at_generator.GenerateSlow(masm, call_helper); |
__ bind(&miss); |
- GenerateMiss(masm, false); |
+ GenerateMiss(masm, MISS); |
} |
@@ -689,7 +689,7 @@ void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) { |
__ TailCallExternalReference(ref, 2, 1); |
__ bind(&slow); |
- GenerateMiss(masm, false); |
+ GenerateMiss(masm, MISS); |
} |
@@ -714,7 +714,7 @@ void KeyedLoadIC::GenerateNonStrictArguments(MacroAssembler* masm) { |
__ mov(eax, unmapped_location); |
__ Ret(); |
__ bind(&slow); |
- GenerateMiss(masm, false); |
+ GenerateMiss(masm, MISS); |
} |
@@ -743,7 +743,7 @@ void KeyedStoreIC::GenerateNonStrictArguments(MacroAssembler* masm) { |
__ RecordWrite(ebx, edi, edx, kDontSaveFPRegs); |
__ Ret(); |
__ bind(&slow); |
- GenerateMiss(masm, false); |
+ GenerateMiss(masm, MISS); |
} |
@@ -1385,7 +1385,7 @@ void LoadIC::GenerateMiss(MacroAssembler* masm) { |
} |
-void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, bool force_generic) { |
+void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, ICMissMode miss_mode) { |
// ----------- S t a t e ------------- |
// -- ecx : key |
// -- edx : receiver |
@@ -1400,7 +1400,7 @@ void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, bool force_generic) { |
__ push(ebx); // return address |
// Perform tail call to the entry. |
- ExternalReference ref = force_generic |
+ ExternalReference ref = miss_mode == MISS_FORCE_GENERIC |
? ExternalReference(IC_Utility(kKeyedLoadIC_MissForceGeneric), |
masm->isolate()) |
: ExternalReference(IC_Utility(kKeyedLoadIC_Miss), masm->isolate()); |
@@ -1598,7 +1598,7 @@ void KeyedStoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
} |
-void KeyedStoreIC::GenerateMiss(MacroAssembler* masm, bool force_generic) { |
+void KeyedStoreIC::GenerateMiss(MacroAssembler* masm, ICMissMode miss_mode) { |
// ----------- S t a t e ------------- |
// -- eax : value |
// -- ecx : key |
@@ -1613,7 +1613,7 @@ void KeyedStoreIC::GenerateMiss(MacroAssembler* masm, bool force_generic) { |
__ push(ebx); |
// Do tail-call to runtime routine. |
- ExternalReference ref = force_generic |
+ ExternalReference ref = miss_mode == MISS_FORCE_GENERIC |
? ExternalReference(IC_Utility(kKeyedStoreIC_MissForceGeneric), |
masm->isolate()) |
: ExternalReference(IC_Utility(kKeyedStoreIC_Miss), masm->isolate()); |