Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index 5f55fed186dd2f6f2a2e2fa8145a912e66912fa3..5b5a58b938c2763f31b78605d20541b85eba8e8c 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -3047,7 +3047,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())); |
@@ -3070,9 +3069,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->result()).is(r3)); |
__ 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(); |
@@ -3189,9 +3186,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
// Name is always in r5. |
__ 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(); |
@@ -4178,29 +4173,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(r4)); |
- DCHECK(name.is(r5)); |
- Register scratch = r7; |
- Register extra = r8; |
- Register extra2 = r9; |
- Register extra3 = r10; |
- |
- // 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(r3)); |