about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-04 08:41:50 -0700
committerbors <bors@rust-lang.org>2014-04-04 08:41:50 -0700
commiteae265271089011c309ce6b8386bdd98f29f2aaf (patch)
tree9092c1bd9f73378c6ba3797011701220caf7f0b9 /src/rustllvm/ExecutionEngineWrapper.cpp
parent46e6194ee138b09d7376fa3dcdb539cf41dc68dd (diff)
parent1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd (diff)
downloadrust-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