summaryrefslogtreecommitdiff
path: root/pit/src/runtime.c
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-08-10 21:49:57 -0400
committerLLLL Colonq <llll@colonq>2026-08-10 21:49:57 -0400
commit7b9c4a3ac265026d98624ac614eead866a190042 (patch)
tree2c5024583a047223ad7f5866d800554c9b81e191 /pit/src/runtime.c
parentd70a6e5310607a25aabde85d0aa18948704f8f6a (diff)
pit: VM-style evaluation
Diffstat (limited to 'pit/src/runtime.c')
-rw-r--r--pit/src/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pit/src/runtime.c b/pit/src/runtime.c
index b8ac178..bef7578 100644
--- a/pit/src/runtime.c
+++ b/pit/src/runtime.c
@@ -42,7 +42,7 @@ pit_runtime *pit_runtime_new(u8 *buf, i64 len) {
ret->expr_stack = pit_vec_new(pit_value)(pit_arena_alloc_back(a, stack_size), stack_size);
ret->result_stack = pit_vec_new(pit_value)(pit_arena_alloc_back(a, stack_size), stack_size);
ret->traversal = pit_vec_new(pit_traversal_entry)(pit_arena_alloc_back(a, stack_size), stack_size);
- ret->backtrace = pit_vec_new(pit_backtrace_entry)(pit_arena_alloc_back(a, stack_size), stack_size);
+ ret->callstack = pit_vec_new(pit_callstack_entry)(pit_arena_alloc_back(a, stack_size), stack_size);
ret->saved_bindings = pit_vec_new(pit_value)(pit_arena_alloc_back(a, stack_size), stack_size);
ret->frozen_values = 0;
ret->frozen_symtab = 0;