diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-06-20 15:13:22 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-07-08 13:53:44 -0400 |
| commit | ba13482dfabe4d0022f1fc2375b500cce53a05ce (patch) | |
| tree | 83ea14cb1ba75f72b9de1aed3e3dfe1a16a76f06 /src/rt/rust_kernel.cpp | |
| parent | 1670a8cfb13fd384d9fd4ca47034cef99118c7a7 (diff) | |
| download | rust-ba13482dfabe4d0022f1fc2375b500cce53a05ce.tar.gz rust-ba13482dfabe4d0022f1fc2375b500cce53a05ce.zip | |
update ptr intrinsics and rewrite vec routines to be more correct.
In particular, it is not valid to go around passing uninitialized or zero'd memory as arguments. Rust should generally be free to assume that the arguments it gets are valid input values, but the output of intrinsics::uninit() and intrinsics::init() are not (e.g., an @T is just null, leading to an error if we should try to increment the ref count).
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
