mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-14 16:45:07 +01:00
first working code
```
int main() {
long a = 0;
}
```
codegens correctly.
This commit is contained in:
parent
92243712e7
commit
d0be270de2
14 changed files with 235 additions and 160 deletions
|
|
@ -138,12 +138,14 @@ pub enum StatementKind {
|
|||
Store {
|
||||
ptr: Operand,
|
||||
value: Operand,
|
||||
/// Amount of bytes to store.
|
||||
size: Operand,
|
||||
align: Operand,
|
||||
},
|
||||
Load {
|
||||
result: Register,
|
||||
ptr: Operand,
|
||||
/// Amount of bytes to load.
|
||||
size: Operand,
|
||||
align: Operand,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue