Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index c479208f01175205e9f053e2b62ac0f55c554e43..7a2c09dda5d0d8343eb568fcfeb363fb66647f1f 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2458,7 +2458,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
patch_site.EmitJumpIfSmi(scratch1, &smi_case); |
__ bind(&stub_call); |
- 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); |
@@ -2601,7 +2602,8 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ mov(a0, result_register()); |
__ pop(a1); |
- 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(); |
@@ -5005,7 +5007,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
// Record position before stub call. |
SetSourcePosition(expr->position()); |
- Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), Token::ADD).code(); |
+ Handle<Code> code = CodeFactory::BinaryOpIC( |
+ isolate(), Token::ADD, language_mode()).code(); |
CallIC(code, expr->CountBinOpFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ bind(&done); |