parent
7c9b29f525
commit
d21e2d76fc
|
@ -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));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue