Skip to content

Commit 95b2b62

Browse files
committed
---
yaml --- r: 636 b: refs/heads/master c: 5e5112d h: refs/heads/master v: v3
1 parent da95ed5 commit 95b2b62

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
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: cf62b54028ef949298fc38a815f5f0a3e1666261
2+
refs/heads/master: 5e5112dac672d2364e446faf55a8fb326d53e741

trunk/src/boot/me/trans.ml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2883,11 +2883,13 @@ let trans_visitor
28832883
patch null_jmp;
28842884
note_drop_step ty "drop_ty: done box-drop path";
28852885

2886-
| MEM_interior when type_points_to_heap ty ->
2887-
note_drop_step ty "drop_ty heap-referencing path";
2886+
| MEM_interior
2887+
when type_points_to_heap ty || (n_used_type_params ty > 0) ->
2888+
note_drop_step ty "drop_ty possibly-heap-referencing path";
28882889
iter_ty_parts ty_params cell ty
28892890
(drop_ty ty_params) curr_iso;
2890-
note_drop_step ty "drop_ty: done heap-referencing path";
2891+
note_drop_step ty
2892+
"drop_ty: done possibly-heap-referencing path";
28912893

28922894

28932895
| MEM_interior ->

0 commit comments

Comments
 (0)