Skip to content

Commit d5a94ae

Browse files
committed
---
yaml --- r: 761 b: refs/heads/master c: 967a6f8 h: refs/heads/master i: 759: 20a03d6 v: v3
1 parent f012e93 commit d5a94ae

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 3e513008b1b1aeab915a8bb2d236d51f85469dbe
2+
refs/heads/master: 967a6f861da8a114bcd3915ae727f9945bd625bc

trunk/src/boot/me/trans.ml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,8 +1339,15 @@ let trans_visitor
13391339
| _ ->
13401340
fix (get_free_glue t (type_has_state cx t));
13411341
end;
1342-
fix (get_sever_glue t);
1343-
fix (get_mark_glue t);
1342+
1343+
if cx.ctxt_sess.Session.sess_minimal
1344+
then Asm.WORD (word_ty_mach, Asm.IMM 0L)
1345+
else fix (get_sever_glue t);
1346+
1347+
if cx.ctxt_sess.Session.sess_minimal
1348+
then Asm.WORD (word_ty_mach, Asm.IMM 0L)
1349+
else fix (get_mark_glue t);
1350+
13441351
(* Include any obj-dtor, if this is an obj and has one. *)
13451352
begin
13461353
match idopt with

0 commit comments

Comments
 (0)