Skip to content

Commit 4f28419

Browse files
committed
add back call to zero_and_revoke
1 parent 3617f03 commit 4f28419

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/middle/trans.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3876,6 +3876,7 @@ fn trans_c_stack_native_call(bcx: @block_ctxt, f: @ast::expr,
38763876
let llfnptr = PointerCast(bcx, llfn, T_ptr(T_i8()));
38773877
Call(bcx, upcall_fn, [llfnptr, llrawargbundle]);
38783878
let llres = load_inbounds(bcx, llargbundle, [0, n as int]);
3879+
bcx = zero_and_revoke(bcx, to_zero, to_revoke);
38793880
ret store_in_dest(bcx, llres, dest);
38803881
}
38813882

0 commit comments

Comments
 (0)