about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-07-04 16:39:28 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-07-05 06:29:06 +0200
commit952dded81a0a5c51ce802ae6753dd69f45e9ce61 (patch)
tree6c65fef2c93c75c7b50f5f58f971e36180aa8422 /src/rustllvm/ExecutionEngineWrapper.cpp
parent9f2a43c1b518a674ef4bb368732ee8dac3c1f779 (diff)
downloadrust-952dded81a0a5c51ce802ae6753dd69f45e9ce61.tar.gz
rust-952dded81a0a5c51ce802ae6753dd69f45e9ce61.zip
Refactored VecPerParamSpace to hide exposure of `Vec` representation.
This basically meant changing the interface so that no borrowed `&Vec`
is exposed, by hiding `fn get_vec` and `fn get_mut_vec` and revising
`fn all_vecs`.

Instead, clients should use one of the other methods; `get_slice`,
`pop`, `truncate`, `replace`, `push_all`, or `is_empty_in`, which
should work for any case currently used in rustc.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions