aboutsummaryrefslogtreecommitdiff
path: root/include/data.s
diff options
context:
space:
mode:
Diffstat (limited to 'include/data.s')
-rw-r--r--include/data.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/data.s b/include/data.s
index 51f31dc..2c512d4 100644
--- a/include/data.s
+++ b/include/data.s
@@ -7,7 +7,7 @@ _data_s_file:
CON_evacuate1:
retq # TODO
CON_scavenge1:
- add $0x10, %rsi
+ add $020, %rsi
retq
# Format of the info tables:
@@ -31,7 +31,7 @@ LIST_evacuate:
# [] | a : b
retq #TODO
LIST_scavenge:
- mov 0x8(%rbp), %rax
+ mov 010(%rbp), %rax
shl $1, %rax
add $2, %rax
shl $3, %rax
@@ -49,7 +49,7 @@ LIST_code:
FUN_evacuate:
retq #TODO
FUN_scavenge:
- mov 0x10(%rbp), %rax
+ mov 020(%rbp), %rax
add $3, %rax
shl $3, %rax
add %rax, %rsi
@@ -98,14 +98,14 @@ FUN4_code:
IND_evacuate:
retq #TODO
IND_scavenge:
- add $0x10,%rsi
+ add $020,%rsi
retq
IND_info:
cell IND_evacuate
cell IND_scavenge
cell 0
IND_code:
- enter 0x8(%rbp)
+ enter 010(%rbp)
# THU objects (gc implementation only, actual THUs are defined by functions)
# | ptr | args | arg[0] | arg[1] | ... | arg[args] |
@@ -113,7 +113,7 @@ IND_code:
THU_evacuate:
retq #TODO
THU_scavenge:
- mov 0x8(%rbp), %rax
+ mov 010(%rbp), %rax
add $2,%rax
shl $3,%rax
add %rax,%rsi