Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 02dfc5881cbec3338347ae45fbb9565ab7578363..53f59f5a970cdbae291ade9e6fca53e149a6d106 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -3046,9 +3046,9 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->result()).Is(x0)); |
__ 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); |
} |
@@ -3311,8 +3311,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); |
DCHECK(ToRegister(instr->result()).Is(x0)); |
@@ -3366,10 +3366,10 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
__ 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); |
DCHECK(ToRegister(instr->result()).is(x0)); |