Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 1b017be3e3c76a7daf3ad37d29323a9396a2331d..90eb4f74cf9a542071186592165522a1dde24e9a 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2987,7 +2987,6 @@ void LCodeGen::DoReturn(LReturn* instr) { |
template <class T> |
void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
- DCHECK(FLAG_vector_ics); |
Register vector_register = ToRegister(instr->temp_vector()); |
Register slot_register = VectorLoadICDescriptor::SlotRegister(); |
DCHECK(vector_register.is(VectorLoadICDescriptor::VectorRegister())); |
@@ -3010,9 +3009,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->result()).is(r0)); |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
- if (FLAG_vector_ics) { |
- EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
- } |
+ EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
ContextualMode mode = instr->for_typeof() ? NOT_CONTEXTUAL : CONTEXTUAL; |
Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate(), mode, |
PREMONOMORPHIC).code(); |
@@ -3109,9 +3106,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
// Name is always in r2. |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
- if (FLAG_vector_ics) { |
- EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
- } |
+ EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
isolate(), NOT_CONTEXTUAL, |
instr->hydrogen()->initialization_state()).code(); |
@@ -3962,29 +3957,6 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) { |
} |
-void LCodeGen::DoTailCallThroughMegamorphicCache( |
- LTailCallThroughMegamorphicCache* instr) { |
- Register receiver = ToRegister(instr->receiver()); |
- Register name = ToRegister(instr->name()); |
- DCHECK(receiver.is(LoadDescriptor::ReceiverRegister())); |
- DCHECK(name.is(LoadDescriptor::NameRegister())); |
- DCHECK(receiver.is(r1)); |
- DCHECK(name.is(r2)); |
- Register scratch = r4; |
- Register extra = r5; |
- Register extra2 = r6; |
- Register extra3 = r9; |
- |
- // 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. |
- LoadIC::GenerateMiss(masm()); |
-} |
- |
- |
void LCodeGen::DoCallWithDescriptor(LCallWithDescriptor* instr) { |
DCHECK(ToRegister(instr->result()).is(r0)); |