Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 3b295be3c2afbbac9b36305c713416ff2fd5f9aa..08ace7fb524ece6999f11c304ccaab546a5fd106 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2868,7 +2868,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())); |
@@ -2891,9 +2890,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->result()).is(eax)); |
__ mov(LoadDescriptor::NameRegister(), 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(); |
@@ -3010,9 +3007,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
DCHECK(ToRegister(instr->result()).is(eax)); |
__ mov(LoadDescriptor::NameRegister(), 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(); |
@@ -3485,27 +3480,6 @@ void LCodeGen::CallKnownFunction(Handle<JSFunction> function, |
} |
-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())); |
- Register scratch = ebx; |
- Register extra = edi; |
- DCHECK(!scratch.is(receiver) && !scratch.is(name)); |
- DCHECK(!extra.is(receiver) && !extra.is(name)); |
- |
- // The probe will tail call to a handler if found. |
- // If --vector-ics is on, then it knows to pop the two args first. |
- isolate()->stub_cache()->GenerateProbe(masm(), Code::LOAD_IC, |
- instr->hydrogen()->flags(), false, |
- receiver, name, scratch, extra); |
- |
- LoadIC::GenerateMiss(masm()); |
-} |
- |
- |
void LCodeGen::DoCallWithDescriptor(LCallWithDescriptor* instr) { |
DCHECK(ToRegister(instr->result()).is(eax)); |