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 | d21e2d76fc109779895b8120f250ab05e5b8c548 (patch) | |
tree | 6a5f615c142168d64a0784663a58adfde9376a91 /clang/lib | |
parent | 7c9b29f52590445b812d387741966fb886d32be7 (diff) | |
download | bcm5719-llvm-d21e2d76fc109779895b8120f250ab05e5b8c548.tar.gz bcm5719-llvm-d21e2d76fc109779895b8120f250ab05e5b8c548.zip |
correct consitency of XCore caps
llvm-svn: 202711
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index b59b046ebe8..db347f86fc6 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/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)); } } |