summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorCarson Fleming <[email protected]>2026-03-28 08:04:48 -1000
committerCarson Fleming <[email protected]>2026-03-28 08:04:48 -1000
commit55929c155f929a886a0fe72c1c16a7913830350a (patch)
tree13482c2822661d8a0ff33369c6856aabe163e2a2 /scope.h
parentee85f90edd17d9c3fadc0d118021c18a5bb8463c (diff)
downloadccc-55929c155f929a886a0fe72c1c16a7913830350a.tar.gz
robust mov situation
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/scope.h b/scope.h
index e09e14e..a67c66b 100644
--- a/scope.h
+++ b/scope.h
@@ -6,11 +6,13 @@ struct storage_location {
REGISTER,
JMP_LABEL,
BP_OFFSET,
+ IMMEDIATE,
} type;
union {
- long long offset;
- const char* label;
const struct reg* reg;
+ const char* label;
+ long long offset;
+ unsigned long long value;
};
unsigned long long sz;
};