diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2020-05-29 00:08:49 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2020-05-29 00:08:49 +0800 |
| commit | d4e6ae6f8237f18d9d0b51e7a6404118dffb709f (patch) | |
| tree | eb0969f20e5959866e535ac8fe5c84db55595ab5 /Type.hh | |
| parent | 404afbef3c9223bc44ddd91066c52c44349e43c7 (diff) | |
add pointer and shifting support
Diffstat (limited to 'Type.hh')
| -rw-r--r-- | Type.hh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,8 @@ enum class BinaryOperator { AND, OR, XOR, + SHL, + SHR, ARRAY_ACCESS, BINARYOP_NUMBER, REAL_DIV // the difference between REAL_DIV and DIV is handled in @@ -74,6 +76,8 @@ class Type { Value CreateAnd(Value v0, Value v1, Context* context); Value CreateOr(Value v0, Value v1, Context* context); Value CreateXor(Value v0, Value v1, Context* context); + Value CreateShl(Value v0, Value v1, Context* context); + Value CreateShr(Value v0, Value v1, Context* context); Value CreatePos(Value v, Context* context); Value CreateNeg(Value v, Context* context); Value CreateNot(Value v, Context* context); |
