| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 4ff65fbb9eeeb85c907a5eb768faee380773c8b2..dabeb53cebacf8c9093382a287ff88df491c627f 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -2502,7 +2502,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);
|
| @@ -2773,7 +2773,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);
|
|
|