summaryrefslogtreecommitdiff
path: root/Type.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 21:34:58 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 21:34:58 +0800
commitcd1466f30c146e12faa0db7e1b53b508bf2274c6 (patch)
treed938d02d17bbf4949b0dc1d21dee861afe171bdc /Type.hh
parentf90115fba35887aea8d4064b57f4909cd6937134 (diff)
64 bit support
Diffstat (limited to 'Type.hh')
-rw-r--r--Type.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/Type.hh b/Type.hh
index e16b52f..b3779d4 100644
--- a/Type.hh
+++ b/Type.hh
@@ -141,6 +141,15 @@ class IntegerType : public IntegerBaseType {
Context* context) override;
};
+class Int64Type : public IntegerBaseType {
+ public:
+ Int64Type();
+ virtual Value CreateBinaryOperation(BinaryOperator op, Value v0, Value v1,
+ Context* context) override;
+ virtual Value CreateUnaryOperation(UnaryOperator op, Value v,
+ Context* context) override;
+};
+
class RealType : public Type {
public:
RealType();