Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 01112066969f949d6c5d9e121ee49bd6857c81b9..667a52305d7f5a03ff9504b153b93a5b26bad206 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -540,7 +540,7 @@ void KeyedLoadIC::GenerateString(MacroAssembler* masm) { |
char_at_generator.GenerateSlow(masm, call_helper); |
__ bind(&miss); |
- GenerateMiss(masm, MISS); |
+ GenerateMiss(masm); |
} |
@@ -583,7 +583,7 @@ void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) { |
1); |
__ bind(&slow); |
- GenerateMiss(masm, MISS); |
+ GenerateMiss(masm); |
} |
@@ -1271,7 +1271,7 @@ void KeyedLoadIC::GenerateNonStrictArguments(MacroAssembler* masm) { |
__ movq(rax, unmapped_location); |
__ Ret(); |
__ bind(&slow); |
- GenerateMiss(masm, MISS); |
+ GenerateMiss(masm); |
} |
@@ -1423,7 +1423,7 @@ void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
} |
-void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, ICMissMode miss_mode) { |
+void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- rax : key |
// -- rdx : receiver |
@@ -1439,10 +1439,8 @@ void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, ICMissMode miss_mode) { |
__ PushReturnAddressFrom(rbx); |
// Perform tail call to the entry. |
- ExternalReference ref = miss_mode == MISS_FORCE_GENERIC |
- ? ExternalReference(IC_Utility(kKeyedLoadIC_MissForceGeneric), |
- masm->isolate()) |
- : ExternalReference(IC_Utility(kKeyedLoadIC_Miss), masm->isolate()); |
+ ExternalReference ref = |
+ ExternalReference(IC_Utility(kKeyedLoadIC_Miss), masm->isolate()); |
__ TailCallExternalReference(ref, 2, 1); |
} |