| Index: src/a64/lithium-a64.h
|
| diff --git a/src/a64/lithium-a64.h b/src/a64/lithium-a64.h
|
| index 84659552e9851b859bd01c8330046193853ab1a5..8eb5167e2628ff5834486a32e9972c46cdbf341c 100644
|
| --- a/src/a64/lithium-a64.h
|
| +++ b/src/a64/lithium-a64.h
|
| @@ -148,6 +148,7 @@ class LCodeGen;
|
| V(MathSin) \
|
| V(MathSqrt) \
|
| V(MathTan) \
|
| + V(ModI) \
|
| V(MulConstI) \
|
| V(MulI) \
|
| V(NumberTagD) \
|
| @@ -1926,6 +1927,21 @@ class LMathTan: public LUnaryMathOperation<0> {
|
| };
|
|
|
|
|
| +class LModI: public LTemplateInstruction<1, 2, 0> {
|
| + public:
|
| + LModI(LOperand* left, LOperand* right) {
|
| + inputs_[0] = left;
|
| + inputs_[1] = right;
|
| + }
|
| +
|
| + LOperand* left() { return inputs_[0]; }
|
| + LOperand* right() { return inputs_[1]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(ModI, "mod-i")
|
| + DECLARE_HYDROGEN_ACCESSOR(Mod)
|
| +};
|
| +
|
| +
|
| class LMulConstI: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LMulConstI(LOperand* left, LConstantOperand* right) {
|
|
|