File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 07095a3ef9c3c975b6b43a34cb7326299545126f
2
+ refs/heads/master: aa3030432862cf7694dc6b37c3fe8f8985741c86
Original file line number Diff line number Diff line change @@ -3264,6 +3264,7 @@ let trans_visitor
3264
3264
get_element_ptr dst Abi. binding_field_bound_data
3265
3265
in
3266
3266
mov dst_item (Il. Cell src_item);
3267
+ mov dst_binding zero;
3267
3268
let null_jmp = null_check src_binding in
3268
3269
(* Copy if we have a src binding. *)
3269
3270
(* FIXME (issue #58): this is completely wrong, call
@@ -3274,14 +3275,7 @@ let trans_visitor
3274
3275
dst_binding (Ast. TY_box Ast. TY_int )
3275
3276
src_binding (Ast. TY_box Ast. TY_int )
3276
3277
curr_iso;
3277
- let end_jmp = mark() in
3278
- emit (Il. jmp Il. JMP Il. CodeNone );
3279
- patch null_jmp;
3280
- (* The src had a null binding, so make sure the dst
3281
- * does now too.
3282
- *)
3283
- mov dst_binding zero;
3284
- patch end_jmp
3278
+ patch null_jmp
3285
3279
end
3286
3280
3287
3281
| _ ->
You can’t perform that action at this time.
0 commit comments