diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-10-14 05:03:44 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-14 05:03:44 +0000 |
commit | 6524dd33beea0b72ec39d1e090f9c3f64f50257f (patch) | |
tree | d45518b0f5b02f97b1a3df83b73a816cc551533d /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 0368ae071a669bf3d71f5e7c1a11a276d1d0006b (diff) | |
download | llvm-6524dd33beea0b72ec39d1e090f9c3f64f50257f.zip llvm-6524dd33beea0b72ec39d1e090f9c3f64f50257f.tar.gz llvm-6524dd33beea0b72ec39d1e090f9c3f64f50257f.tar.bz2 |
Use Triple.isOSDarwin() instead of comparing against Triple::Darwin.
There are now separate Triple::MacOSX and Triple::IOS values for the OS
so comparing against Triple::Darwin will fail to match those. Note that
I changed the expected output for the Driver/rewrite-objc.m test, which had
previously not been passing Darwin-specific options with the macosx triple.
llvm-svn: 141944
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions