Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index fb6227beff84050d57d5b74444101be00774c5ba..d2c2b96b4610d97818d75979d1c4b341923c6862 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2482,7 +2482,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); |
@@ -2626,7 +2627,8 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ pop(r1); |
- 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(); |
@@ -5002,7 +5004,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); |