Change order of basic blocks in copy_ty, makes nicer disassembly.
This commit is contained in:
parent
f69b4417e6
commit
97247bbb53
@ -468,8 +468,8 @@ fn incr_refcnt(@block_ctxt cx, ValueRef box_ptr) -> result {
|
||||
C_int(abi.box_rc_field_refcnt)));
|
||||
auto rc = cx.build.Load(rc_ptr);
|
||||
|
||||
auto next_cx = new_sub_block_ctxt(cx, "next");
|
||||
auto rc_adj_cx = new_sub_block_ctxt(cx, "rc++");
|
||||
auto next_cx = new_sub_block_ctxt(cx, "next");
|
||||
|
||||
auto const_test = cx.build.ICmp(lib.llvm.LLVMIntEQ,
|
||||
C_int(abi.const_refcount as int), rc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user