| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index bec04634ef449c41deb7426ce2a166480ab41b97..096427542f0e17ea770eb980f0a2cc841ae332a6 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -575,36 +575,22 @@ class LArgumentsElements: public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LModI: public LTemplateInstruction<1, 2, 3> {
|
| +class LModI: public LTemplateInstruction<1, 2, 2> {
|
| public:
|
| - // Used when the right hand is a constant power of 2.
|
| - LModI(LOperand* left,
|
| - LOperand* right) {
|
| - inputs_[0] = left;
|
| - inputs_[1] = right;
|
| - temps_[0] = NULL;
|
| - temps_[1] = NULL;
|
| - temps_[2] = NULL;
|
| - }
|
| -
|
| - // Used for the standard case.
|
| LModI(LOperand* left,
|
| LOperand* right,
|
| - LOperand* temp,
|
| - LOperand* temp2,
|
| - LOperand* temp3) {
|
| + LOperand* temp = NULL,
|
| + LOperand* temp2 = NULL) {
|
| inputs_[0] = left;
|
| inputs_[1] = right;
|
| temps_[0] = temp;
|
| temps_[1] = temp2;
|
| - temps_[2] = temp3;
|
| }
|
|
|
| LOperand* left() { return inputs_[0]; }
|
| LOperand* right() { return inputs_[1]; }
|
| LOperand* temp() { return temps_[0]; }
|
| LOperand* temp2() { return temps_[1]; }
|
| - LOperand* temp3() { return temps_[2]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(ModI, "mod-i")
|
| DECLARE_HYDROGEN_ACCESSOR(Mod)
|
|
|