r202711 - correct consitency of XCore caps
Robert Lytton
robert at xmos.com
Mon Mar 3 05:45:30 PST 2014
Author: rlytton
Date: Mon Mar 3 07:45:29 2014
New Revision: 202711
URL: http://llvm.org/viewvc/llvm-project?rev=202711&view=rev
Log:
correct consitency of XCore caps
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=202711&r1=202710&r2=202711&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Mon Mar 3 07:45:29 2014
@@ -5708,7 +5708,7 @@ SparcV9TargetCodeGenInfo::initDwarfEHReg
//===----------------------------------------------------------------------===//
-// 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::
case llvm::Triple::sparcv9:
return *(TheTargetCodeGenInfo = new SparcV9TargetCodeGenInfo(Types));
case llvm::Triple::xcore:
- return *(TheTargetCodeGenInfo = new XcoreTargetCodeGenInfo(Types));
+ return *(TheTargetCodeGenInfo = new XCoreTargetCodeGenInfo(Types));
}
}
More information about the cfe-commits
mailing list