commit | ccc8d3ba06408feff0ca6e58973c20d15010e3fc | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Mar 01 13:37:55 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Mar 01 13:37:55 2012 +0000 |
tree | eb2847c69a9d298aebb358111cf6836317132250 | |
parent | 54d42a740d2ca86a7b729bb1adc9275c304afacb [diff] |
Make TargetRegisterClasses non-virtual by making the only virtual function a function pointer. This allows us to make TRC non-polymorphic and value-initializable, eliminating a huge static initializer and a ton of cruft from the generated code. Shrinks ARMBaseRegisterInfo.o by ~100k. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151806 91177308-0d34-0410-b5e6-96231b3b80d8