correct consitency of XCore caps

llvm-svn: 202711
This commit is contained in:
Robert Lytton 2014-03-03 13:45:29 +00:00
parent 7c9b29f525
commit d21e2d76fc
1 changed files with 4 additions and 4 deletions

View File

@ -5708,7 +5708,7 @@ SparcV9TargetCodeGenInfo::initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF,
//===----------------------------------------------------------------------===//
// Xcore ABI Implementation
// XCore ABI Implementation
//===----------------------------------------------------------------------===//
namespace {
class XCoreABIInfo : public DefaultABIInfo {
@ -5718,9 +5718,9 @@ public:
CodeGenFunction &CGF) const;
};
class XcoreTargetCodeGenInfo : public TargetCodeGenInfo {
class XCoreTargetCodeGenInfo : public TargetCodeGenInfo {
public:
XcoreTargetCodeGenInfo(CodeGenTypes &CGT)
XCoreTargetCodeGenInfo(CodeGenTypes &CGT)
:TargetCodeGenInfo(new XCoreABIInfo(CGT)) {}
};
} // End anonymous namespace.
@ -5888,7 +5888,7 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() {
case llvm::Triple::sparcv9:
return *(TheTargetCodeGenInfo = new SparcV9TargetCodeGenInfo(Types));
case llvm::Triple::xcore:
return *(TheTargetCodeGenInfo = new XcoreTargetCodeGenInfo(Types));
return *(TheTargetCodeGenInfo = new XCoreTargetCodeGenInfo(Types));
}
}