diff options
| author | Cameron Zwarich <zwarich@mozilla.com> | 2014-06-07 02:55:00 -0700 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@mozilla.com> | 2014-06-07 03:03:03 -0700 |
| commit | 4666792ac600f4e4e1c09a37b88f40f6125b57b8 (patch) | |
| tree | 2da9a0a58e1bd10ac03e7c14b83a56a59abd868d /src/rustllvm/RustWrapper.cpp | |
| parent | 653f57af2085534ced338bd146e2528b81c9fd11 (diff) | |
| download | rust-4666792ac600f4e4e1c09a37b88f40f6125b57b8.tar.gz rust-4666792ac600f4e4e1c09a37b88f40f6125b57b8.zip | |
Clean up borrows in borrowck field-sensitivity tests
Instead of calling a borrow() function that takes a pointer type, just create a local pointer and dereference it. The dereference is there to outsmart any future liveness analysis in borrowck.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
