diff options
| author | Robert Lytton <robert@xmos.com> | 2014-03-03 13:45:29 +0000 |
|---|---|---|
| committer | Robert Lytton <robert@xmos.com> | 2014-03-03 13:45:29 +0000 |
| commit | 192b0eb99b577575c5af191a0477d89bcff5139b (patch) | |
| tree | fa31c503c08c88ed08382f57c44632c3f70cf350 /lib/CodeGen/TargetInfo.cpp | |
| parent | ea547be7c024d34cf7b8eb6da1016395a6863c1e (diff) | |
| download | clang-192b0eb99b577575c5af191a0477d89bcff5139b.tar.gz clang-192b0eb99b577575c5af191a0477d89bcff5139b.tar.bz2 clang-192b0eb99b577575c5af191a0477d89bcff5139b.tar.xz | |
correct consitency of XCore caps
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
| -rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index b59b046ebe..db347f86fc 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -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)); } } |
