local variables in expressions
This commit is contained in:
parent
41f122f01e
commit
a61c4f88f9
3 changed files with 32 additions and 3 deletions
|
@ -144,6 +144,7 @@
|
|||
; ushort (padding)
|
||||
; uint type
|
||||
; immediately following the header in memory are the arguments of the expression
|
||||
; - for local variables, the 64-bit rbp offset (number to be subtracted from rbp)
|
||||
; - for global variables, the 64-bit runtime address
|
||||
; - for constant ints, the 64-bit integral value
|
||||
; - for constant floats, the 64-bit double value (even if expression has type float)
|
||||
|
@ -156,6 +157,7 @@
|
|||
; - for function calls, the function, followed by each of the arguments to the function — info indicates the number of arguments
|
||||
; File/line number are not stored in expressions.
|
||||
; Note that string literals are stored as constant integers (you can check the type to know what it is)
|
||||
#define EXPRESSION_LOCAL_VARIABLE 199
|
||||
#define EXPRESSION_GLOBAL_VARIABLE 200
|
||||
#define EXPRESSION_CONSTANT_INT 201
|
||||
#define EXPRESSION_CONSTANT_FLOAT 202
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue