Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 8a647d880b3bce58b893eed0dcb380d9a70db919..2453509c2dd67a28153da83fbba148c335cc0bba 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3957,32 +3957,13 @@ void LCodeGen::DoTailCallThroughMegamorphicCache( |
Register extra2 = r6; |
Register extra3 = r9; |
-#ifdef DEBUG |
- Register slot = FLAG_vector_ics ? ToRegister(instr->slot()) : no_reg; |
- Register vector = FLAG_vector_ics ? ToRegister(instr->vector()) : no_reg; |
- DCHECK(!FLAG_vector_ics || |
- !AreAliased(slot, vector, scratch, extra, extra2, extra3)); |
-#endif |
- |
- // Important for the tail-call. |
- bool must_teardown_frame = NeedsEagerFrame(); |
- |
- if (!instr->hydrogen()->is_just_miss()) { |
- DCHECK(!instr->hydrogen()->is_keyed_load()); |
- |
- // The probe will tail call to a handler if found. |
- isolate()->stub_cache()->GenerateProbe( |
- masm(), Code::LOAD_IC, instr->hydrogen()->flags(), must_teardown_frame, |
- receiver, name, scratch, extra, extra2, extra3); |
- } |
+ // The probe will tail call to a handler if found. |
+ isolate()->stub_cache()->GenerateProbe( |
+ masm(), Code::LOAD_IC, instr->hydrogen()->flags(), false, receiver, name, |
+ scratch, extra, extra2, extra3); |
// Tail call to miss if we ended up here. |
- if (must_teardown_frame) __ LeaveFrame(StackFrame::INTERNAL); |
- if (instr->hydrogen()->is_keyed_load()) { |
- KeyedLoadIC::GenerateMiss(masm()); |
- } else { |
- LoadIC::GenerateMiss(masm()); |
- } |
+ LoadIC::GenerateMiss(masm()); |
} |