| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 8940eb0c865d263108b073a4a082400fc6671617..35f358370abec7e4299a160094aced3379bc287b 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -2047,8 +2047,8 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
|
| DCHECK(ToRegister(instr->right()).is(a0));
|
| DCHECK(ToRegister(instr->result()).is(v0));
|
|
|
| - Handle<Code> code = CodeFactory::BinaryOpIC(
|
| - isolate(), instr->op(), instr->language_mode()).code();
|
| + Handle<Code> code =
|
| + CodeFactory::BinaryOpIC(isolate(), instr->op(), instr->strength()).code();
|
| CallCode(code, RelocInfo::CODE_TARGET, instr);
|
| // Other arch use a nop here, to signal that there is no inlined
|
| // patchable code. Mips does not need the nop, since our marker
|
| @@ -2530,7 +2530,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);
|
|
|
| Condition condition = ComputeCompareCondition(op);
|
| @@ -2833,7 +2834,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);
|
| // On MIPS there is no need for a "no inlined smi code" marker (nop).
|
|
|
|
|