Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 60c6b51580ba88faa702a0aa1d249f7fcc02fc47..18c0237919c911dec22b84a03a1ab0a29352afc5 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -2152,7 +2152,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ Bind(&stub_call); |
- Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); |
+ Handle<Code> code = CodeFactory::BinaryOpIC( |
+ isolate(), op, language_mode()).code(); |
{ |
Assembler::BlockPoolsScope scope(masm_); |
CallIC(code, expr->BinaryOperationFeedbackId()); |
@@ -2234,7 +2235,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ Pop(x1); |
- 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. |
{ |
Assembler::BlockPoolsScope scope(masm_); |
@@ -4683,7 +4685,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
{ |
Assembler::BlockPoolsScope scope(masm_); |
- 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(); |
} |