diff options
| author | bors <bors@rust-lang.org> | 2014-04-04 08:41:50 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-04 08:41:50 -0700 |
| commit | eae265271089011c309ce6b8386bdd98f29f2aaf (patch) | |
| tree | 9092c1bd9f73378c6ba3797011701220caf7f0b9 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 46e6194ee138b09d7376fa3dcdb539cf41dc68dd (diff) | |
| parent | 1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd (diff) | |
| download | rust-eae265271089011c309ce6b8386bdd98f29f2aaf.tar.gz rust-eae265271089011c309ce6b8386bdd98f29f2aaf.zip | |
auto merge of #13301 : erickt/rust/remove-refcell-get, r=huonw
`RefCell::get` can be a bit surprising, because it actually clones the wrapped value. This removes `RefCell::get` and replaces all the users with `RefCell::borrow()` when it can, and `RefCell::borrow().clone()` when it can't. It removes `RefCell::set` for consistency. This closes #13182. It also fixes an infinite loop in a test when debugging is on.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
