Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 0a82b86f9b4f53544eb03eaff4d0de4c0d4e8290..d4fe0ed8214ae5cc16ce0f4138905b2b3c6f00b8 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -973,8 +973,8 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { |
// Record position before stub call for type feedback. |
SetExpressionPosition(clause); |
- Handle<Code> ic = CodeFactory::CompareIC(isolate(), Token::EQ_STRICT, |
- strength(language_mode())).code(); |
+ Handle<Code> ic = |
+ CodeFactory::CompareIC(isolate(), Token::EQ_STRICT).code(); |
CallIC(ic, clause->CompareId()); |
patch_site.EmitPatchInfo(); |
@@ -1946,8 +1946,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ Bind(&stub_call); |
- Handle<Code> code = |
- CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); |
+ Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); |
{ |
Assembler::BlockPoolsScope scope(masm_); |
CallIC(code, expr->BinaryOperationFeedbackId()); |
@@ -2029,8 +2028,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ Pop(x1); |
- Handle<Code> code = |
- CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); |
+ Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); |
JumpPatchSite patch_site(masm_); // Unbound, signals no inlined smi code. |
{ |
Assembler::BlockPoolsScope scope(masm_); |
@@ -3914,9 +3912,7 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
{ |
Assembler::BlockPoolsScope scope(masm_); |
- Handle<Code> code = |
- CodeFactory::BinaryOpIC(isolate(), Token::ADD, |
- strength(language_mode())).code(); |
+ Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), Token::ADD).code(); |
CallIC(code, expr->CountBinOpFeedbackId()); |
patch_site.EmitPatchInfo(); |
} |
@@ -4151,8 +4147,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
__ Bind(&slow_case); |
} |
- Handle<Code> ic = CodeFactory::CompareIC( |
- isolate(), op, strength(language_mode())).code(); |
+ Handle<Code> ic = CodeFactory::CompareIC(isolate(), op).code(); |
CallIC(ic, expr->CompareOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |