| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index acc647d793c8bb0f020ecc6ab89895decb283ecd..41665e75b4821b14e86feccbcade63653a8c6d1a 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -668,7 +668,7 @@ bool LCodeGen::GeneratePrologue() {
|
| // Sloppy mode functions and builtins need to replace the receiver with the
|
| // global proxy when called as functions (without an explicit receiver
|
| // object).
|
| - if (graph()->this_has_uses() && is_sloppy(info_->language_mode()) &&
|
| + if (graph()->this_has_uses() && is_sloppy(info()->language_mode()) &&
|
| !info_->is_native()) {
|
| Label ok;
|
| int receiver_offset = info_->scope()->num_parameters() * kXRegSize;
|
| @@ -1772,7 +1772,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()).code();
|
| + Handle<Code> code = CodeFactory::BinaryOpIC(
|
| + isolate(), instr->op(), info()->language_mode()).code();
|
| CallCode(code, RelocInfo::CODE_TARGET, instr);
|
| }
|
|
|
|
|