diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-07 17:52:43 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-07 17:52:43 +0000 |
| commit | e916fd5b96f65e21f3178b4b27f390eb0191d2f3 (patch) | |
| tree | d28c154a373738dc437872d5f1ec63647ba97363 /llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp | |
| parent | 38740a98b2702ee8cf894969b505183e1af70da3 (diff) | |
| download | bcm5719-llvm-e916fd5b96f65e21f3178b4b27f390eb0191d2f3.tar.gz bcm5719-llvm-e916fd5b96f65e21f3178b4b27f390eb0191d2f3.zip | |
Use empty() instead of size().
llvm-svn: 53178
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp b/llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp index 1c204df9f28..0654f340b5f 100644 --- a/llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp +++ b/llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp @@ -59,7 +59,7 @@ ExecutionEngine *JIT::createJIT(ModuleProvider *MP, std::string *ErrorStr, // Package up features to be passed to target/subtarget std::string FeaturesStr; - if (MCPU.size() || MAttrs.size()) { + if (!MCPU.empty() || !MAttrs.empty()) { SubtargetFeatures Features; Features.setCPU(MCPU); for (unsigned i = 0; i != MAttrs.size(); ++i) |

