Make DIELoc/DIEBlock's ComputeSize method const. Add a setSize
authorEric Christopher <echristo@gmail.com>
Thu, 20 Feb 2014 02:40:45 +0000 (02:40 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 20 Feb 2014 02:40:45 +0000 (02:40 +0000)
commiteed3d708ee72d9b580fd7614e36924bfeab7e988
treef98c9d5b166ecfe90e565791c29b0eb745600196
parent0af815c0dc8f6996962fe4f56e5f2c716e40bac5
Make DIELoc/DIEBlock's ComputeSize method const. Add a setSize
method to actually set it in the class to avoid computing it
multiple times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201751 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DIE.h
lib/CodeGen/AsmPrinter/DwarfUnit.cpp