diff options
| author | Simon Atanasyan <simon@atanasyan.com> | 2015-04-13 08:34:56 +0000 | 
|---|---|---|
| committer | Simon Atanasyan <simon@atanasyan.com> | 2015-04-13 08:34:56 +0000 | 
| commit | aaf3df3a00e81805687699673813c76f7b590395 (patch) | |
| tree | 2c43b4cc59c2571587073a64a84aadf6cc8a9ea1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 4bc35460df997733dd3a482350446fb885691106 (diff) | |
| download | llvm-aaf3df3a00e81805687699673813c76f7b590395.zip llvm-aaf3df3a00e81805687699673813c76f7b590395.tar.gz llvm-aaf3df3a00e81805687699673813c76f7b590395.tar.bz2 | |
[Mips] Create MipsTargetHandler class object using factory functions
Right now MIPS instantiates MipsTargetHandler using Mips32ELType and
Mips64ELType. And in the future we can add a couple more types. That
leads to the large object file size because compiler has to create
copies of MipsTargetHandler and all realted classes for each types used
for instantiation.
The patch introduces two factory functions and puts each of them into
the separate cpp file. That allows to reduce size of single object file.
llvm-svn: 234728
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
