diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-06-17 22:01:28 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-06-17 22:01:28 +0000 |
commit | e0d4037c6a0bcbdadf080e7a2ccd9846370d5f4c (patch) | |
tree | 8f06a28bad1808f1bfb648bb2c2a0e956d660231 /clang/test/Driver/rtti-options.cpp | |
parent | 6cac62797fbb1462cbe9ec3fccf94b7ecc6847e0 (diff) | |
download | bcm5719-llvm-e0d4037c6a0bcbdadf080e7a2ccd9846370d5f4c.tar.gz bcm5719-llvm-e0d4037c6a0bcbdadf080e7a2ccd9846370d5f4c.zip |
Devirtualize and pack MCFragment to reduce memory usage.
MCFragment didn't really need vtables. The majority of virtual methods were just getters and setters.
This removes the vtables and uses dispatch on the kind to do things like delete which needs to
get the appropriate class.
This reduces memory on the verify use list order test case by about 2MB out of 800MB.
Reviewed by Rafael EspĂndola
llvm-svn: 239952
Diffstat (limited to 'clang/test/Driver/rtti-options.cpp')
0 files changed, 0 insertions, 0 deletions