summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-19 05:49:42 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-19 05:49:42 +0000
commit5106ce789771fafb4e3ea7faa2262fbf276753cd (patch)
treee2fbf0655ed702ef925b52fc3f65cefdf9ec83a2 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent1eb8220aff18a095c180efb0f44e452eeca5f643 (diff)
downloadbcm5719-llvm-5106ce789771fafb4e3ea7faa2262fbf276753cd.tar.gz
bcm5719-llvm-5106ce789771fafb4e3ea7faa2262fbf276753cd.zip
Remove StringMap::GetOrCreateValue in favor of StringMap::insert
Having two ways to do this doesn't seem terribly helpful and consistently using the insert version (which we already has) seems like it'll make the code easier to understand to anyone working with standard data structures. (I also updated many references to the Entry's key and value to use first() and second instead of getKey{Data,Length,} and get/setValue - for similar consistency) Also removes the GetOrCreateValue functions so there's less surface area to StringMap to fix/improve/change/accommodate move semantics, etc. llvm-svn: 222319
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud