[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
Loading
Please sign in to comment