From 2bc3d9a3815a6cd172b3b4f7696c46a006021b13 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 31 Oct 2023 00:12:51 +0100 Subject: gc kinda almost there --- fibs.s | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fibs.s') diff --git a/fibs.s b/fibs.s index 3d35544..f008dae 100644 --- a/fibs.s +++ b/fibs.s @@ -8,6 +8,7 @@ # | lag1 | lag2 | -> cont .thunkcode fibs + needs_alloc $0140 # next value thunkto %r11, $plus, $2, 020(%rbp), 030(%rbp) @@ -28,12 +29,14 @@ # || -> cont .thunkcode fibs0 + needs_alloc $0100 thunkto %r12, $INT_code, $1 thunkto %r11, $INT_code, $0 thunkto %rbp, $fibs, $2, %r11, %r12 enter_rbp .thunkcode main + needs_alloc $0160 thunkto %r12, $fibs0, $0 thunkto %r11, $INT_code, $20 thunkto %r11, $list_int_index, $2, %r11, %r12 -- cgit v1.2.3