| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index df0cdfa0d03e29d1cb652e336e5553c75a676566..76933858e97d2868d484771c2503a41574880a13 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -1091,7 +1091,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();
|
|
|
| @@ -2476,8 +2476,8 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr,
|
| patch_site.EmitJumpIfSmi(scratch1, &smi_case);
|
|
|
| __ bind(&stub_call);
|
| - Handle<Code> code = CodeFactory::BinaryOpIC(
|
| - isolate(), op, language_mode()).code();
|
| + Handle<Code> code =
|
| + CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code();
|
| CallIC(code, expr->BinaryOperationFeedbackId());
|
| patch_site.EmitPatchInfo();
|
| __ jmp(&done);
|
| @@ -2620,8 +2620,8 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) {
|
| __ mov(a0, result_register());
|
| __ pop(a1);
|
| - 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.
|
| CallIC(code, expr->BinaryOperationFeedbackId());
|
| patch_site.EmitPatchInfo();
|
| @@ -5061,8 +5061,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| // Record position before stub call.
|
| SetSourcePosition(expr->position());
|
|
|
| - 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();
|
| __ bind(&done);
|
| @@ -5325,8 +5325,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);
|
|
|