| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 8a15bd59e62108ebea0779614582ceac5fbf4e57..8b8ce1d647f50f6684b60332825e8412cfaddc32 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -2163,8 +2163,8 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
|
| DCHECK(ToRegister(instr->right()).is(r0));
|
| DCHECK(ToRegister(instr->result()).is(r0));
|
|
|
| - Handle<Code> code = CodeFactory::BinaryOpIC(
|
| - isolate(), instr->op(), instr->language_mode()).code();
|
| + Handle<Code> code =
|
| + CodeFactory::BinaryOpIC(isolate(), instr->op(), instr->strength()).code();
|
| // Block literal pool emission to ensure nop indicating no inlined smi code
|
| // is in the correct position.
|
| Assembler::BlockConstPoolScope block_const_pool(masm());
|
| @@ -2600,7 +2600,8 @@ void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) {
|
| DCHECK(ToRegister(instr->context()).is(cp));
|
| Token::Value op = instr->op();
|
|
|
| - Handle<Code> ic = CodeFactory::CompareIC(isolate(), op, SLOPPY).code();
|
| + Handle<Code> ic =
|
| + CodeFactory::CompareIC(isolate(), op, Strength::WEAK).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| // This instruction also signals no smi code inlined.
|
| __ cmp(r0, Operand::Zero());
|
| @@ -2918,7 +2919,7 @@ void LCodeGen::DoCmpT(LCmpT* instr) {
|
| Token::Value op = instr->op();
|
|
|
| Handle<Code> ic =
|
| - CodeFactory::CompareIC(isolate(), op, instr->language_mode()).code();
|
| + CodeFactory::CompareIC(isolate(), op, instr->strength()).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| // This instruction also signals no smi code inlined.
|
| __ cmp(r0, Operand::Zero());
|
|
|