Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index 18c9782e6e51eb247b6b87019548a0c50d05162f..6c740793bf1a0c7fcf018799b0f85637738e4e91 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -2188,8 +2188,8 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
DCHECK(ToRegister(instr->right()).is(r3)); |
DCHECK(ToRegister(instr->result()).is(r3)); |
- Handle<Code> code = CodeFactory::BinaryOpIC( |
- isolate(), instr->op(), instr->language_mode()).code(); |
+ Handle<Code> code = |
+ CodeFactory::BinaryOpIC(isolate(), instr->op(), instr->strength()).code(); |
CallCode(code, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2665,7 +2665,8 @@ void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
Token::Value op = instr->op(); |
- Handle<Code> ic = CodeFactory::CompareIC(isolate(), op, SLOPPY).code(); |
+ Handle<Code> ic = |
+ CodeFactory::CompareIC(isolate(), op, Strength::WEAK).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
// This instruction also signals no smi code inlined |
__ cmpi(r3, Operand::Zero()); |
@@ -2973,7 +2974,7 @@ void LCodeGen::DoCmpT(LCmpT* instr) { |
Token::Value op = instr->op(); |
Handle<Code> ic = |
- CodeFactory::CompareIC(isolate(), op, instr->language_mode()).code(); |
+ CodeFactory::CompareIC(isolate(), op, instr->strength()).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
// This instruction also signals no smi code inlined |
__ cmpi(r3, Operand::Zero()); |