summaryrefslogtreecommitdiff
path: root/thumb2compact.s
diff options
context:
space:
mode:
Diffstat (limited to 'thumb2compact.s')
-rw-r--r--thumb2compact.s24
1 files changed, 12 insertions, 12 deletions
diff --git a/thumb2compact.s b/thumb2compact.s
index cb79d52..611579e 100644
--- a/thumb2compact.s
+++ b/thumb2compact.s
@@ -46,8 +46,8 @@ mark_cafs_lp:
lao r12,end_vector,13
sto r6,r12,end_vector,13
- add r12,pc,#0
- str r12,[sp,#-4]!
+ add lr,pc,#9
+ str lr,[sp,#-4]!
.if COMPACT_MARK_WITH_STACK
bl rmark_stack_nodes
.else
@@ -72,8 +72,8 @@ end_mark_cafs:
ldo r6,r12,stack_top,4
lao r12,end_vector,14
sto r6,r12,end_vector,14
- add r12,pc,#0
- str r12,[sp,#-4]!
+ add lr,pc,#9
+ str lr,[sp,#-4]!
.if COMPACT_MARK_WITH_STACK
bl rmark_stack_nodes
.else
@@ -81,8 +81,8 @@ end_mark_cafs:
.endif
.ifdef MEASURE_GC
- add r12,pc,#0
- str r12,[sp,#-4]!
+ add lr,pc,#9
+ str lr,[sp,#-4]!
bl add_mark_compact_garbage_collect_time
.endif
@@ -224,12 +224,12 @@ finalizer_list_empty:
lao r12,end_vector,15
sto r6,r12,end_vector,15
.if COMPACT_MARK_WITH_STACK
- add r12,pc,#0
- str r12,[sp,#-4]!
+ add lr,pc,#9
+ str lr,[sp,#-4]!
bl rmark_stack_nodes
.else
- add r12,pc,#0
- str r12,[sp,#-4]!
+ add lr,pc,#9
+ str lr,[sp,#-4]!
bl mark_stack_nodes
.endif
.thumb_func
@@ -983,8 +983,8 @@ move_array_ab:
subs r4,r4,r3
add r7,r7,r6
- add r12,pc,#0
- str r12,[sp,#-4]!
+ add lr,pc,#9
+ str lr,[sp,#-4]!
bl reorder
ldr r6,[sp],#4