| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index 461da112cdd520b1a1056d4fa1e240665b71f602..b49a6c22dca57898cb78a9b142f33dfdd3932175 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -1769,8 +1769,8 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
|
| DCHECK(ToRegister(instr->right()).is(x0));
|
| DCHECK(ToRegister(instr->result()).is(x0));
|
|
|
| - 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);
|
| }
|
|
|
| @@ -2529,7 +2529,7 @@ void LCodeGen::DoCmpT(LCmpT* instr) {
|
| DCHECK(ToRegister(instr->left()).Is(x1));
|
| DCHECK(ToRegister(instr->right()).Is(x0));
|
| Handle<Code> ic =
|
| - CodeFactory::CompareIC(isolate(), op, instr->language_mode()).code();
|
| + CodeFactory::CompareIC(isolate(), op, instr->strength()).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| // Signal that we don't inline smi code before this stub.
|
| InlineSmiCheckInfo::EmitNotInlined(masm());
|
| @@ -5593,7 +5593,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);
|
| InlineSmiCheckInfo::EmitNotInlined(masm());
|
|
|
|
|