Create a MipsTargetCodeGenInfo object for mips64/mips64el. The size of the

UnwindException structure is 32 for mips64. 

llvm-svn: 140165
This commit is contained in:
Akira Hatanaka 2011-09-20 18:30:57 +00:00
parent 9a2ba72c49
commit ec11b4fa5a
1 changed files with 4 additions and 0 deletions

View File

@ -3172,6 +3172,10 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() {
case llvm::Triple::mipsel:
return *(TheTargetCodeGenInfo = new MIPSTargetCodeGenInfo(Types, 24));
case llvm::Triple::mips64:
case llvm::Triple::mips64el:
return *(TheTargetCodeGenInfo = new MIPSTargetCodeGenInfo(Types, 32));
case llvm::Triple::arm:
case llvm::Triple::thumb:
{