aboutsummaryrefslogtreecommitdiff
path: root/macros.s
diff options
context:
space:
mode:
Diffstat (limited to 'macros.s')
-rw-r--r--macros.s33
1 files changed, 0 insertions, 33 deletions
diff --git a/macros.s b/macros.s
deleted file mode 100644
index 8bc05da..0000000
--- a/macros.s
+++ /dev/null
@@ -1,33 +0,0 @@
-
-.macro enter x
- mov \x, %rbp
- jmp *(%rbp)
-.endm
-
-.macro cell x
- .quad \x
-.endm
-
-.macro continue
- mov %rsi, %rax
- mov %rbp, %rsi
- enter %rax
-.endm
-
-.macro thunkenv arg, dest
- mov (8*(\arg+2))(%rbp), \dest
-.endm
-
-.macro enter_thunkenv arg
- mov (8*(\arg+2))(%rbp), %rbp
- jmp *(%rbp)
-.endm
-
-.macro .makethunk name
- .align 8
- \name\()_info:
- cell THU_evacuate
- cell THU_scavenge
- cell 0
- \name:
-.endm