| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index e2dda91189109a1d2a1c11a7bedd21a653d0b353..dc3d403044c2e7db2edc4d57ff5965c60fc6e8ec 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2387,7 +2387,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr,
|
|
|
| __ bind(&stub_call);
|
| __ mov(eax, ecx);
|
| - Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code();
|
| + Handle<Code> code = CodeFactory::BinaryOpIC(
|
| + isolate(), op, language_mode()).code();
|
| CallIC(code, expr->BinaryOperationFeedbackId());
|
| patch_site.EmitPatchInfo();
|
| __ jmp(&done, Label::kNear);
|
| @@ -2531,7 +2532,8 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
|
|
| void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) {
|
| __ pop(edx);
|
| - Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code();
|
| + Handle<Code> code = CodeFactory::BinaryOpIC(
|
| + isolate(), op, language_mode()).code();
|
| JumpPatchSite patch_site(masm_); // unbound, signals no inlined smi code.
|
| CallIC(code, expr->BinaryOperationFeedbackId());
|
| patch_site.EmitPatchInfo();
|
| @@ -4925,7 +4927,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| __ mov(edx, eax);
|
| __ mov(eax, Immediate(Smi::FromInt(1)));
|
| Handle<Code> code =
|
| - CodeFactory::BinaryOpIC(isolate(), expr->binary_op()).code();
|
| + CodeFactory::BinaryOpIC(
|
| + isolate(), expr->binary_op(), language_mode()).code();
|
| CallIC(code, expr->CountBinOpFeedbackId());
|
| patch_site.EmitPatchInfo();
|
| __ bind(&done);
|
|
|