Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index c8297a29eb3fea68bf3d4d4d5718727af1b0e19c..7ee8b64a4d1fb5c087ecc0c67de12e4679fb995b 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -2043,8 +2043,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 |
@@ -2529,7 +2529,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); |
@@ -2832,7 +2833,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). |