commit | 0fdcef6030fb69bee45f604c71c53bebb17c1079 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@google.com> | Tue Jan 08 22:05:10 2013 +0000 |
committer | Eli Bendersky <eliben@google.com> | Tue Jan 08 22:05:10 2013 +0000 |
tree | ce6828b81d0d3a0dea0343134c860350fa2f3276 | |
parent | 02fa38344c1cf1f27d59da5c3358d19bbb752f01 [diff] |
Simplify the code a bit: MCRelaxableFragment doesn't need a separate getInstSize method because getContents().size() already covers it. So computeFragmentSize can use the generic MCEncodedFragment interface when querying both Data and Relaxable fragments for contents sizes. No change in functionality git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171903 91177308-0d34-0410-b5e6-96231b3b80d8