Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 02b932d50f45ee0ba2d2061428b6ac6c255f383a..cdc615ea5a2c1e81affebbea57cb01f104d41a3d 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1074,7 +1074,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { |
// Record position before stub call for type feedback. |
SetSourcePosition(clause->position()); |
Handle<Code> ic = CodeFactory::CompareIC(isolate(), Token::EQ_STRICT, |
- language_mode()).code(); |
+ strength(language_mode())).code(); |
CallIC(ic, clause->CompareId()); |
patch_site.EmitPatchInfo(); |
@@ -2148,8 +2148,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ Bind(&stub_call); |
- Handle<Code> code = CodeFactory::BinaryOpIC( |
- isolate(), op, language_mode()).code(); |
+ Handle<Code> code = |
+ CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); |
{ |
Assembler::BlockPoolsScope scope(masm_); |
CallIC(code, expr->BinaryOperationFeedbackId()); |
@@ -2231,8 +2231,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ Pop(x1); |
- Handle<Code> code = CodeFactory::BinaryOpIC( |
- isolate(), op, language_mode()).code(); |
+ Handle<Code> code = |
+ CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); |
JumpPatchSite patch_site(masm_); // Unbound, signals no inlined smi code. |
{ |
Assembler::BlockPoolsScope scope(masm_); |
@@ -4722,8 +4722,9 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
{ |
Assembler::BlockPoolsScope scope(masm_); |
- Handle<Code> code = CodeFactory::BinaryOpIC( |
- isolate(), Token::ADD, language_mode()).code(); |
+ Handle<Code> code = |
+ CodeFactory::BinaryOpIC(isolate(), Token::ADD, |
+ strength(language_mode())).code(); |
CallIC(code, expr->CountBinOpFeedbackId()); |
patch_site.EmitPatchInfo(); |
} |
@@ -4998,8 +4999,8 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
// Record position and call the compare IC. |
SetSourcePosition(expr->position()); |
- Handle<Code> ic = |
- CodeFactory::CompareIC(isolate(), op, language_mode()).code(); |
+ Handle<Code> ic = CodeFactory::CompareIC( |
+ isolate(), op, strength(language_mode())).code(); |
CallIC(ic, expr->CompareOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |