codegen for address of

This commit is contained in:
pommicket 2022-02-12 14:12:01 -05:00
parent 0ee06ac2c4
commit 864b23702a
3 changed files with 79 additions and 4 deletions

View file

@ -160,7 +160,6 @@
; - for casts, the operand (type is given by type member)
; - for binary operators, the first operand followed by the second
; - for the operators . and ->, the first argument is the expression on the left-hand side, and the second argument is a 64-bit offset.
; we could use a 32-bit offset but that would cause things to be unaligned.
; - for the ternary operator ? :, the first followed by the second followed by the third
; - for function calls, the function, followed by each of the arguments to the function, followed by 8 bytes of zeros
; File/line number are not stored in expressions.