Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index c1edac75554927513b3389d3d96b5151256b9fb0..03b5eb3da3de6c2d32b598e1acf328c094f4fc06 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2956,7 +2956,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
ContextualMode mode = instr->for_typeof() ? NOT_CONTEXTUAL : CONTEXTUAL; |
- Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate(), mode, SLOPPY, |
+ Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate(), mode, |
PREMONOMORPHIC).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -3052,10 +3052,9 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
// Name is always in r2. |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
- Handle<Code> ic = |
- CodeFactory::LoadICInOptimizedCode( |
- isolate(), NOT_CONTEXTUAL, instr->hydrogen()->language_mode(), |
- instr->hydrogen()->initialization_state()).code(); |
+ Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
+ isolate(), NOT_CONTEXTUAL, |
+ instr->hydrogen()->initialization_state()).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
} |
@@ -3362,9 +3361,9 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
} |
- Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode( |
- isolate(), instr->hydrogen()->language_mode(), |
- instr->hydrogen()->initialization_state()).code(); |
+ Handle<Code> ic = |
+ CodeFactory::KeyedLoadICInOptimizedCode( |
+ isolate(), instr->hydrogen()->initialization_state()).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
} |