]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
src/librustc/middle/ty.rs

Simple merge