diff options
author | Alain Frisch <alain@frisch.fr> | 2008-04-09 16:32:09 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2008-04-09 16:32:09 +0000 |
commit | 7332e6d6d3aa8743e167a506581962d105bf7788 (patch) | |
tree | ee8827eeca7bb8fcae8207422c42a19160e256e4 /asmrun/arm.S | |
parent | cbfeebb112b7a3e396e26606fd3b7cd0a198e79d (diff) | |
download | ocaml-cducetrunk.tar.gz |
Merge from diff ocaml3100/ocaml3102: cvs update -j ocaml3100 -j ocaml3102 -kkcducetrunk
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/cducetrunk@8864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'asmrun/arm.S')
-rw-r--r-- | asmrun/arm.S | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/asmrun/arm.S b/asmrun/arm.S index c32b4b6674..98fdfcfe32 100644 --- a/asmrun/arm.S +++ b/asmrun/arm.S @@ -91,11 +91,13 @@ caml_allocN: /* Record return address and desired size */ ldr alloc_limit, .Lcaml_last_return_address str lr, [alloc_limit, #0] - str r10, .Lcaml_requested_size + ldr alloc_limit, .LLcaml_requested_size + str r10, [alloc_limit, #0] /* Invoke GC */ bl .Linvoke_gc /* Try again */ - ldr r10, .Lcaml_requested_size + ldr r10, .LLcaml_requested_size + ldr r10, [r10, #0] b caml_allocN /* Shared code to invoke the GC */ @@ -323,9 +325,12 @@ caml_ml_array_bound_error: .LLtrap_handler: .word .Ltrap_handler .Lcaml_apply2: .word caml_apply2 .Lcaml_apply3: .word caml_apply3 -.Lcaml_requested_size: .word 0 +.LLcaml_requested_size: .word .Lcaml_requested_size .Lcaml_array_bound_error: .word caml_array_bound_error +.data +.Lcaml_requested_size: .word 0 + /* GC roots for callback */ .data |