about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-11-05 10:59:33 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2018-11-25 17:54:06 +1100
commit2d68fa07bff2b417094024597790d30acd501ab3 (patch)
tree6ad10d7419d496c64f30d8c38d9679da90e6c636 /src/rustllvm/RustWrapper.cpp
parentf23c969492fe5aeb2e33316032387175020d2672 (diff)
downloadrust-2d68fa07bff2b417094024597790d30acd501ab3.tar.gz
rust-2d68fa07bff2b417094024597790d30acd501ab3.zip
Remove `OpenSnapshot` and `CommittedSnapshot` markers from `SnapshotMap`.
They're not strictly necessary, and they result in the `Vec` being
allocated even for the trivial (and common) case where a
`start_snapshot` is immediately followed by a `commit` or `rollback_to`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions