diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-25 01:43:56 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-25 01:43:56 +0000 |
commit | 6cfebbd64d6a4dc80706d8f8eba066d3fb8b1749 (patch) | |
tree | 4cd359c46eb75bcfaeac317bcee634c386fdad20 /lib/DebugInfo/DWARFDebugLoc.cpp | |
parent | 93065647b8f0295434bd12aca58a0d0bd6323ffa (diff) | |
download | llvm-6cfebbd64d6a4dc80706d8f8eba066d3fb8b1749.tar.gz llvm-6cfebbd64d6a4dc80706d8f8eba066d3fb8b1749.tar.bz2 llvm-6cfebbd64d6a4dc80706d8f8eba066d3fb8b1749.tar.xz |
DebugInfo: Remove unnecessary zero-size check
This seems excessive - switching section isn't expensive (or if it is
we're already being wasteful, since we emitted the debug_loc section
symbol earlier anyway) and otherwise there's no work that happens in
this function when the list is empty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugLoc.cpp')
0 files changed, 0 insertions, 0 deletions