提交 1e674ffe 编写于 作者: N Niko Matsakis

choose a new arbitrary value

上级 2f0eb7ae
...@@ -229,11 +229,11 @@ fn allocate_cbox(bcx: @block_ctxt, ...@@ -229,11 +229,11 @@ fn allocate_cbox(bcx: @block_ctxt,
} }
ty::closure_send. { ty::closure_send. {
let (bcx, box) = alloc_in_heap(bcx, true, temp_cleanups); let (bcx, box) = alloc_in_heap(bcx, true, temp_cleanups);
(bcx, box, 0xdeadc0de) // use arbitrary value for debugging (bcx, box, 0x12345678) // use arbitrary value for debugging
} }
ty::closure_block. { ty::closure_block. {
let {bcx, val: box} = trans::alloc_ty(bcx, cbox_ty); let {bcx, val: box} = trans::alloc_ty(bcx, cbox_ty);
(bcx, box, 0xdeadc0df) // use arbitrary value for debugging (bcx, box, 0x12345678) // use arbitrary value for debugging
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册