Chromium Code Reviews| Index: src/a64/lithium-codegen-a64.cc |
| diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc |
| index aeb18d05860e2b13bd2187edb7168fe0e6075431..b51e93b77def13a8c71255fbdd389504ff939af8 100644 |
| --- a/src/a64/lithium-codegen-a64.cc |
| +++ b/src/a64/lithium-codegen-a64.cc |
| @@ -3785,6 +3785,7 @@ void LCodeGen::DoPower(LPower* instr) { |
| MathPowStub stub(MathPowStub::TAGGED); |
| __ CallStub(&stub); |
| } else if (exponent_type.IsInteger32()) { |
| + __ Mov(x12, x11); |
|
ulan
2014/01/29 15:13:41
MathPowStub expects integer exponent in x12
baptiste.afsa1
2014/01/29 15:23:48
Isn't it possible to modify register constraints i
ulan
2014/01/29 15:33:14
Agreed. Done.
On 2014/01/29 15:23:48, baptiste.af
|
| MathPowStub stub(MathPowStub::INTEGER); |
| __ CallStub(&stub); |
| } else { |