Index: src/crankshaft/arm64/lithium-arm64.h |
diff --git a/src/crankshaft/arm64/lithium-arm64.h b/src/crankshaft/arm64/lithium-arm64.h |
index 98902434a9260f1ae68029e2bddaf882bf43aff1..0a7c4523785665d96f8bbea11dc08f8ff7d97790 100644 |
--- a/src/crankshaft/arm64/lithium-arm64.h |
+++ b/src/crankshaft/arm64/lithium-arm64.h |
@@ -104,6 +104,8 @@ class LCodeGen; |
V(MathAbs) \ |
V(MathAbsTagged) \ |
V(MathClz32) \ |
+ V(MathCos) \ |
+ V(MathSin) \ |
V(MathExp) \ |
V(MathFloorD) \ |
V(MathFloorI) \ |
@@ -1763,6 +1765,20 @@ class LMathAbsTagged: public LTemplateInstruction<1, 2, 3> { |
DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
}; |
+class LMathCos final : public LUnaryMathOperation<0> { |
+ public: |
+ explicit LMathCos(LOperand* value) : LUnaryMathOperation<0>(value) {} |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(MathCos, "math-cos") |
+}; |
+ |
+class LMathSin final : public LUnaryMathOperation<0> { |
+ public: |
+ explicit LMathSin(LOperand* value) : LUnaryMathOperation<0>(value) {} |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(MathSin, "math-sin") |
+}; |
+ |
class LMathExp final : public LUnaryMathOperation<0> { |
public: |
explicit LMathExp(LOperand* value) : LUnaryMathOperation<0>(value) {} |