diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-06-01 12:57:41 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-06-01 12:57:41 +0530 |
| commit | 7694e18d4351b046ff8201af178bb82f9cbec34a (patch) | |
| tree | a2a23c4ab2aced3c4f43a6c2a5d082a7cb17fc2d /src/rustllvm/RustWrapper.cpp | |
| parent | 4721f3a543ef00952d5ce39b64dbfe1ce57667fd (diff) | |
| parent | 6af17e69ff5a69892aff4d82b293de2ec7f5050a (diff) | |
| download | rust-7694e18d4351b046ff8201af178bb82f9cbec34a.tar.gz rust-7694e18d4351b046ff8201af178bb82f9cbec34a.zip | |
Rollup merge of #33892 - seanmonstar:slice-eq-ptr, r=alexcrichton
core: check pointer equality when comparing byte slices If pointer address and length are the same, it should be the same slice. In experiments, I've seen that this doesn't happen as often in debug builds, but release builds seem to optimize to using a single pointer more often.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
