| Index: src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| index 8c7f1dc641098ec9005b45667a74404812a50b24..52bbac6490ce0d6374bd40ed75bc3cb476685d97 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| @@ -1166,7 +1166,7 @@ void LCodeGen::DoFlooringDivByPowerOf2I(LFlooringDivByPowerOf2I* instr) {
|
| DCHECK(!result.is(dividend) || !scratch.is(dividend));
|
|
|
| // If the divisor is 1, return the dividend.
|
| - if (divisor == 1) {
|
| + if (divisor > 0) {
|
| __ Move(result, dividend);
|
| return;
|
| }
|
| @@ -3879,7 +3879,7 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
|
| CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| __ bind(&done);
|
| } else {
|
| - ArrayNArgumentsConstructorStub stub(isolate(), kind, override_mode);
|
| + ArrayNArgumentsConstructorStub stub(isolate());
|
| CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| }
|
| }
|
|
|