Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index 38d1808960277378815a7e8e8a9e9016894c2f84..484c5b3b3c6eaa4c9b38fcea186ee78ca46c4ee4 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -2676,9 +2676,9 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
- Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
- isolate(), instr->typeof_mode(), PREMONOMORPHIC) |
- .code(); |
+ Handle<Code> ic = |
+ CodeFactory::LoadICInOptimizedCode(isolate(), instr->typeof_mode()) |
+ .code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2779,10 +2779,8 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
// Name is always in r4. |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
- Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
- isolate(), NOT_INSIDE_TYPEOF, |
- instr->hydrogen()->initialization_state()) |
- .code(); |
+ Handle<Code> ic = |
+ CodeFactory::LoadICInOptimizedCode(isolate(), NOT_INSIDE_TYPEOF).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -3129,14 +3127,9 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister())); |
+ EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
- if (instr->hydrogen()->HasVectorAndSlot()) { |
- EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
- } |
- |
- Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode( |
- isolate(), instr->hydrogen()->initialization_state()) |
- .code(); |
+ Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode(isolate()).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -3990,15 +3983,12 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
DCHECK(ToRegister(instr->object()).is(StoreDescriptor::ReceiverRegister())); |
DCHECK(ToRegister(instr->value()).is(StoreDescriptor::ValueRegister())); |
- if (instr->hydrogen()->HasVectorAndSlot()) { |
- EmitVectorStoreICRegisters<LStoreNamedGeneric>(instr); |
- } |
+ EmitVectorStoreICRegisters<LStoreNamedGeneric>(instr); |
__ mov(StoreDescriptor::NameRegister(), Operand(instr->name())); |
- Handle<Code> ic = CodeFactory::StoreICInOptimizedCode( |
- isolate(), instr->language_mode(), |
- instr->hydrogen()->initialization_state()) |
- .code(); |
+ Handle<Code> ic = |
+ CodeFactory::StoreICInOptimizedCode(isolate(), instr->language_mode()) |
+ .code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -4291,13 +4281,10 @@ void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->key()).is(StoreDescriptor::NameRegister())); |
DCHECK(ToRegister(instr->value()).is(StoreDescriptor::ValueRegister())); |
- if (instr->hydrogen()->HasVectorAndSlot()) { |
- EmitVectorStoreICRegisters<LStoreKeyedGeneric>(instr); |
- } |
+ EmitVectorStoreICRegisters<LStoreKeyedGeneric>(instr); |
Handle<Code> ic = CodeFactory::KeyedStoreICInOptimizedCode( |
- isolate(), instr->language_mode(), |
- instr->hydrogen()->initialization_state()) |
+ isolate(), instr->language_mode()) |
.code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |