]> git.lizzy.rs Git - rust.git/commit
auto merge of #9136 : thestinger/rust/ptr, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 12 Sep 2013 20:10:55 +0000 (13:10 -0700)
committerbors <bors@rust-lang.org>
Thu, 12 Sep 2013 20:10:55 +0000 (13:10 -0700)
commitcabba6b4d3c0d31f6cd224d4537ce2ff115b039b
tree4061452a7e4b01eaacbd92cfe8213730e9295360
parenta6be8d353bc25e160bc988e91744571547d12cab
parentb7435cf44783c9ab6cf16bc387299ed9891ae90d
auto merge of #9136 : thestinger/rust/ptr, r=alexcrichton

This is mostly for consistency, as you can now compare raw pointers in
constant expressions or without the standard library.

It also reduces the number of `ptrtoint` instructions in the IR, making
tracking down culprits of what's usually an anti-pattern easier.
src/librustc/middle/ty.rs