Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 85f733dbf643b414eb273d34d30a58858aa9bfdb..c83387286875bcdd816e29ea14c4f5eb82515311 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -2022,29 +2022,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())); |
- DCHECK(receiver.is(x1)); |
- DCHECK(name.is(x2)); |
- Register scratch = x4; |
- Register extra = x5; |
- Register extra2 = x6; |
- Register extra3 = x7; |
- |
- // 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(instr->IsMarkedAsCall()); |
DCHECK(ToRegister(instr->result()).Is(x0)); |
@@ -3363,7 +3340,6 @@ void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* 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())); |
@@ -3385,9 +3361,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
.is(LoadDescriptor::ReceiverRegister())); |
DCHECK(ToRegister(instr->result()).Is(x0)); |
__ 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(); |
@@ -3714,9 +3688,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
// LoadIC expects name and receiver in registers. |
DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
__ Mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
- if (FLAG_vector_ics) { |
- EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
- } |
+ EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
isolate(), NOT_CONTEXTUAL, |