aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-06-27 18:05:26 +0000
committerMatthias Braun <matze@braunis.de>2017-06-27 18:05:26 +0000
commita6e77405d0932b699d2321f5930370c5d4fa591d (patch)
tree99e0fede7f0f6db0ad3919f64496624165e228fc /llvm/lib/Object/WasmObjectFile.cpp
parent7227276d4144da8310496286b314fe33f1cfa51d (diff)
downloadllvm-a6e77405d0932b699d2321f5930370c5d4fa591d.zip
llvm-a6e77405d0932b699d2321f5930370c5d4fa591d.tar.gz
llvm-a6e77405d0932b699d2321f5930370c5d4fa591d.tar.bz2
LiveRangeCalc: Slightly improve map usage; NFC
- DenseMap should be faster than std::map - Use the `InsertRes = insert() if (!InsertRes.inserted)` pattern rather than the `if (!X.contains(...)) { X.insert(...); }` to save one map lookup. llvm-svn: 306436
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions