Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 1a4e591f0635e1e3df977a3c3cafab5cf1d653f5..2d8721eeba8a31f91ca67db7967f784f93c799ab 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2889,7 +2889,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())); |
@@ -2912,9 +2911,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->result()).is(rax)); |
__ Move(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(); |
@@ -3031,9 +3028,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
DCHECK(ToRegister(instr->result()).is(rax)); |
__ Move(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(); |
@@ -3563,24 +3558,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 = rdi; |
- DCHECK(!scratch.is(receiver) && !scratch.is(name)); |
- |
- // 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, no_reg); |
- |
- LoadIC::GenerateMiss(masm()); |
-} |
- |
- |
void LCodeGen::DoCallWithDescriptor(LCallWithDescriptor* instr) { |
DCHECK(ToRegister(instr->result()).is(rax)); |