Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 0a00bddd398d799733120c9c960c3c725946c699..0f183fbaafaef3b96074a618ab2de987934f57ad 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -929,8 +929,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(); |
@@ -2127,8 +2127,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
patch_site.EmitJumpIfSmi(scratch1, &smi_case); |
__ bind(&stub_call); |
- 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(); |
__ b(&done); |
@@ -2290,8 +2289,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
__ pop(r4); |
- 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(); |
@@ -4111,8 +4109,7 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
SetExpressionPosition(expr); |
- 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(); |
__ bind(&done); |
@@ -4340,8 +4337,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); |