Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index d10af1ff3681f6998041a6e560deb342f61e01c7..58925cd1cf4c1398e0e96e866723961c2b176d9c 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -2340,8 +2340,8 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
DCHECK(ToRegister(instr->right()).is(eax)); |
DCHECK(ToRegister(instr->result()).is(eax)); |
- 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); |
} |
@@ -2773,7 +2773,8 @@ static Condition ComputeCompareCondition(Token::Value op) { |
void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) { |
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); |
@@ -3046,7 +3047,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 = ComputeCompareCondition(op); |