diff options
author | Cameron Esfahani <dirty@apple.com> | 2013-09-14 01:09:11 +0000 |
---|---|---|
committer | Cameron Esfahani <dirty@apple.com> | 2013-09-14 01:09:11 +0000 |
commit | 556d91e2c392f1291abf72708cc994785287110c (patch) | |
tree | cee823451ba6e8587a0336e6e8901427eac77e02 /clang/lib/CodeGen/TargetInfo.cpp | |
parent | a369cb6280710f25b57ae63d106d46c6d89c9297 (diff) | |
download | bcm5719-llvm-556d91e2c392f1291abf72708cc994785287110c.tar.gz bcm5719-llvm-556d91e2c392f1291abf72708cc994785287110c.zip |
Clean up some Triple usage in clang.
llvm-svn: 190737
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index b56684ba5c8..0706a289170 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -1445,7 +1445,7 @@ void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase, Current = Integer; } else if ((k == BuiltinType::Float || k == BuiltinType::Double) || (k == BuiltinType::LongDouble && - getTarget().getTriple().getOS() == llvm::Triple::NaCl)) { + getTarget().getTriple().isOSNaCl())) { Current = SSE; } else if (k == BuiltinType::LongDouble) { Lo = X87; @@ -1537,7 +1537,7 @@ void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase, Current = SSE; else if (ET == getContext().DoubleTy || (ET == getContext().LongDoubleTy && - getTarget().getTriple().getOS() == llvm::Triple::NaCl)) + getTarget().getTriple().isOSNaCl())) Lo = Hi = SSE; else if (ET == getContext().LongDoubleTy) Current = ComplexX87; |