Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 0f23b2f00bd09077bc6b0aa423565971d7ec0e05..7b18584fc4355b4b079ff2814d490ac693bb67de 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). |