Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 48ad79378ebaa2849d14934f1be50f1e49df333e..8308edd969d311185954769ec742b41ad3d4c601 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2099,8 +2099,8 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
DCHECK(ToRegister(instr->right()).is(rax)); |
DCHECK(ToRegister(instr->result()).is(rax)); |
- 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); |
} |
@@ -2543,7 +2543,8 @@ void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) { |
DCHECK(ToRegister(instr->context()).is(rsi)); |
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 = TokenToCondition(op, false); |
@@ -2828,7 +2829,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); |
Condition condition = TokenToCondition(op, false); |