summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scope.h b/scope.h
index 36b6a93..e09e14e 100644
--- a/scope.h
+++ b/scope.h
@@ -10,7 +10,9 @@ struct storage_location {
union {
long long offset;
const char* label;
+ const struct reg* reg;
};
+ unsigned long long sz;
};
struct type_def {
@@ -21,6 +23,7 @@ struct type_def {
struct var_def {
const char* name;
struct storage_location loc;
+ unsigned long long sz;
};
struct scope {