aboutsummaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-07-30 14:37:53 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-07-30 14:37:53 -0400
commitd1f967ffb4dc099a34f54434be10a58eb33b81f7 (patch)
treee959c8de3024351f2169a9b6f06ba7d0cdb46c22 /src/environment.h
parente8e00267ae57c152739362ef623393d9816aa9d5 (diff)
Struct reordering to improve packing
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/environment.h b/src/environment.h
index a508c967..85287d02 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -42,13 +42,13 @@ typedef struct env_s {
// Lookup table for env_t* where the key is:
// - Resolved path for local imports (so that `use ./foo.tm` is the same as `use ./baz/../foo.tm`)
// - Raw 'use' string for module imports
+ namespace_t *namespace;
+ const char *id_suffix;
Table_t *imports;
compilation_unit_t *code;
type_t *fn_ret;
loop_ctx_t *loop_ctx;
deferral_t *deferred;
- const char *id_suffix;
- namespace_t *namespace;
Closure_t *comprehension_action;
bool do_source_mapping:1;
} env_t;