summaryrefslogtreecommitdiff
path: root/prism_compile.h
diff options
context:
space:
mode:
authorMatt Valentine-House <[email protected]>2024-01-15 22:11:32 +0000
committerMatt Valentine-House <[email protected]>2024-01-16 14:58:55 +0000
commit543bd7f3dbc06c4a43bb52aa459383dc97cebe77 (patch)
tree907b7198c9ed2769350c7200a8b182f40a33f9db /prism_compile.h
parent1b97f61168cb399a6b2145a3be118df04651ef5c (diff)
Remove scope_node->local_depth_offset
Diffstat (limited to 'prism_compile.h')
-rw-r--r--prism_compile.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/prism_compile.h b/prism_compile.h
index 0b3a6fb826..578eed0243 100644
--- a/prism_compile.h
+++ b/prism_compile.h
@@ -30,11 +30,6 @@ typedef struct pm_scope_node {
ID *constants;
st_table *index_lookup_table;
-
- // Some locals are defined at higher scopes than they are used. We can use
- // this offset to control which parent scopes local table we should be
- // referencing from the current scope.
- unsigned int local_depth_offset;
} pm_scope_node_t;
void pm_scope_node_init(const pm_node_t *node, pm_scope_node_t *scope, pm_scope_node_t *previous, pm_parser_t *parser);