stage1 将数组和聚合类型使用byte offset而不是slot idx
This commit is contained in:
@@ -84,7 +84,7 @@ typedef enum {
|
||||
X(SPL_RET, "ret", 0, 0, 0, "return from function") \
|
||||
/* 栈帧局部变量 */ \
|
||||
X(SPL_ALLOC, "alloc", 1, 0, 0, "allocate imm zero-slots on stack") \
|
||||
X(SPL_LADDR, "laddr", 1, 0, 1, "push address of local at fp+imm") \
|
||||
X(SPL_LADDR, "laddr", 1, 0, 1, "push address of local at fp + imm bytes") \
|
||||
X(SPL_GADDR, "gaddr", 1, 0, 1, "push address of global at gp + imm") \
|
||||
/* 间接内存访问 */ \
|
||||
X(SPL_LOAD, "load", 0, 1, 1, "load sizeof(type)-bits zero-extended") \
|
||||
|
||||
Reference in New Issue
Block a user