aboutsummaryrefslogtreecommitdiff
path: root/include/listops.s
diff options
context:
space:
mode:
Diffstat (limited to 'include/listops.s')
-rw-r--r--include/listops.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/listops.s b/include/listops.s
index 447c125..0ee39ad 100644
--- a/include/listops.s
+++ b/include/listops.s
@@ -6,6 +6,8 @@ _listops_s_file:
# | n | list | -> cont
.primop2 list_int_index
+ needs_alloc $060
+
mov 010(%rsi), %rdx # the list constructor id, must be 1
cmp $1, %rdx
jne list_int_index_not_found