File tree 6 files changed +1
-14
lines changed
6 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -875,11 +875,7 @@ let emit_instr fallthrough i =
875
875
| Lop(Ibeginregion) ->
876
876
I.mov (domain_field Domainstate.Domain_local_sp) (res i 0)
877
877
| Lop(Iendregion) ->
878
- I.mov (arg i 0) r11;
879
- I.sub (domain_field Domainstate.Domain_local_sp) r11;
880
- I.add r11 (domain_field Domainstate.Domain_local_total);
881
- I.add (domain_field Domainstate.Domain_local_sp) r11;
882
- I.mov r11 (domain_field Domainstate.Domain_local_sp)
878
+ I.mov (arg i 0) (domain_field Domainstate.Domain_local_sp)
883
879
| Lop (Iname_for_debugger _) -> ()
884
880
| Lop (Iprobe _) ->
885
881
let probe_label = new_label () in
Original file line number Diff line number Diff line change @@ -312,7 +312,6 @@ let destroyed_at_oper = function
312
312
-> [| rax |]
313
313
| Iswitch (_ , _ ) -> [| rax; rdx |]
314
314
| Itrywith _ -> [| r11 |]
315
- | Iop (Iendregion ) -> [| r11 |]
316
315
| _ ->
317
316
if fp then
318
317
(* prevent any use of the frame pointer ! *)
Original file line number Diff line number Diff line change @@ -835,9 +835,6 @@ let emit_instr fallthrough i =
835
835
| Lop (Iendregion) ->
836
836
I.mov (reg i.arg.(0)) eax;
837
837
load_domain_state ebx;
838
- I.sub (domain_field Domainstate.Domain_local_sp RBX) eax;
839
- I.add eax (domain_field Domainstate.Domain_local_total RBX);
840
- I.add (domain_field Domainstate.Domain_local_sp RBX) eax;
841
838
I.mov eax (domain_field Domainstate.Domain_local_sp RBX)
842
839
| Lop (Iname_for_debugger _) -> ()
843
840
| Lop (Iprobe _ |Iprobe_is_enabled _) -> assert false
Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ DOMAIN_STATE(intnat, local_sp)
41
41
DOMAIN_STATE(void*, local_top)
42
42
DOMAIN_STATE(intnat, local_limit)
43
43
44
- DOMAIN_STATE(intnat, local_total)
45
-
46
44
DOMAIN_STATE(struct mark_stack*, mark_stack)
47
45
/* See major_gc.c */
48
46
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ void caml_init_domain ()
60
60
Caml_state -> local_sp = 0 ;
61
61
Caml_state -> local_top = NULL ;
62
62
Caml_state -> local_limit = 0 ;
63
- Caml_state -> local_total = 0 ;
64
63
65
64
Caml_state -> top_of_stack = NULL ;
66
65
Caml_state -> bottom_of_stack = NULL ; /* no stack initially */
Original file line number Diff line number Diff line change @@ -150,8 +150,6 @@ CAMLprim value caml_sys_exit(value retcode_v)
150
150
caml_gc_message (0x400 ,
151
151
"forced_major_collections: %" ARCH_INTNAT_PRINTF_FORMAT "d\n" ,
152
152
forcmajcoll );
153
- caml_gc_message (0x400 , "local_words: %" ARCH_INTNAT_PRINTF_FORMAT "d\n" ,
154
- Wsize_bsize (Caml_state -> local_total ));
155
153
}
156
154
157
155
#ifndef NATIVE_CODE
You can’t perform that action at this time.
0 commit comments