| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index 28e14bcb242763d3bb29d4a3b4c02596efa966ec..7548b045895cfe662f40cbeb011aa8acda10dc0e 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -900,8 +900,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();
|
|
|
| @@ -2050,8 +2050,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);
|
| @@ -2183,8 +2182,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();
|
| @@ -4026,8 +4024,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);
|
| @@ -4254,8 +4252,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();
|
|
|
|
|