mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-14 16:45:07 +01:00
more
This commit is contained in:
parent
542c0daf6a
commit
86b924f5e3
7 changed files with 171 additions and 67 deletions
|
|
@ -122,6 +122,11 @@ pub enum StatementKind {
|
|||
rhs: Operand,
|
||||
result: Register,
|
||||
},
|
||||
UnaryOperation {
|
||||
rhs: Operand,
|
||||
kind: UnaryKind,
|
||||
result: Register,
|
||||
},
|
||||
PtrOffset {
|
||||
result: Register,
|
||||
reg: Register,
|
||||
|
|
@ -171,6 +176,13 @@ pub enum BinKind {
|
|||
BitXor,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum UnaryKind {
|
||||
Negate,
|
||||
BitNot,
|
||||
LogicalNot,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum ConstValue {
|
||||
Void,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue