Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index b3526412b5c7e85b932f5e32c7dc1f3dc0ba4499..d57f2078c0097c1e93329a19b80b0b161c90e85b 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -2671,9 +2671,9 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
__ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
- Handle<Code> ic = |
- CodeFactory::LoadICInOptimizedCode(isolate(), instr->typeof_mode(), |
- SLOPPY, PREMONOMORPHIC).code(); |
+ Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
+ isolate(), instr->typeof_mode(), PREMONOMORPHIC) |
+ .code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2768,10 +2768,10 @@ 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_INSIDE_TYPEOF, instr->hydrogen()->language_mode(), |
- instr->hydrogen()->initialization_state()).code(); |
+ Handle<Code> ic = CodeFactory::LoadICInOptimizedCode( |
+ isolate(), NOT_INSIDE_TYPEOF, |
+ instr->hydrogen()->initialization_state()) |
+ .code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
} |
@@ -3070,8 +3070,8 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
} |
Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode( |
- isolate(), instr->hydrogen()->language_mode(), |
- instr->hydrogen()->initialization_state()).code(); |
+ isolate(), instr->hydrogen()->initialization_state()) |
+ .code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
} |