Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 5ad78bd30040ef37ca291ed8eedd45c63328617a..043c5b1036e6a6e702a859bdde117ba25a048eda 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -919,8 +919,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(); |
@@ -2078,8 +2078,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ bind(&stub_call); |
__ movp(rax, rcx); |
- Handle<Code> code = |
- CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); |
+ Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); |
CallIC(code, expr->BinaryOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ jmp(&done, Label::kNear); |
@@ -2179,8 +2178,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ Pop(rdx); |
- 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. |
CallIC(code, expr->BinaryOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
@@ -4043,8 +4041,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
__ bind(&stub_call); |
__ movp(rdx, rax); |
__ Move(rax, Smi::FromInt(1)); |
- Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), expr->binary_op(), |
- strength(language_mode())).code(); |
+ Handle<Code> code = |
+ CodeFactory::BinaryOpIC(isolate(), expr->binary_op()).code(); |
CallIC(code, expr->CountBinOpFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ bind(&done); |
@@ -4271,8 +4269,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(); |