| Index: src/x87/lithium-codegen-x87.cc
|
| diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc
|
| index 62c4c942a45c85a74ff716c0a115689aadbba335..d775a731e6b3f6e963f091178cb3d062f6d8a8ec 100644
|
| --- a/src/x87/lithium-codegen-x87.cc
|
| +++ b/src/x87/lithium-codegen-x87.cc
|
| @@ -2780,7 +2780,7 @@ static Condition ComputeCompareCondition(Token::Value op) {
|
| void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) {
|
| Token::Value op = instr->op();
|
|
|
| - Handle<Code> ic = CodeFactory::CompareIC(isolate(), op).code();
|
| + Handle<Code> ic = CodeFactory::CompareIC(isolate(), op, SLOPPY).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
|
|
| Condition condition = ComputeCompareCondition(op);
|
| @@ -3052,7 +3052,8 @@ void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
|
| void LCodeGen::DoCmpT(LCmpT* instr) {
|
| Token::Value op = instr->op();
|
|
|
| - Handle<Code> ic = CodeFactory::CompareIC(isolate(), op).code();
|
| + Handle<Code> ic =
|
| + CodeFactory::CompareIC(isolate(), op, instr->language_mode()).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
|
|
| Condition condition = ComputeCompareCondition(op);
|
|
|