| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index b4e36a66919c3cff80658b5c7588115f38d8063b..35f541cb4a06db11215ef565b135c785a9e800ec 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -908,8 +908,8 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
|
| }
|
|
|
| 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();
|
|
|
| @@ -2058,8 +2058,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr,
|
|
|
| __ bind(&stub_call);
|
| __ mov(eax, ecx);
|
| - 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);
|
| @@ -2191,8 +2190,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
|
|
| void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) {
|
| __ pop(edx);
|
| - 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();
|
| @@ -4042,8 +4040,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| __ bind(&stub_call);
|
| __ mov(edx, eax);
|
| __ mov(eax, Immediate(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);
|
| @@ -4270,8 +4268,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();
|
|
|
|
|