diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-10-06 09:54:18 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-10-06 09:54:18 +0000 |
commit | 0c4813e6953029cd8d304db715758f7995e11b74 (patch) | |
tree | f88d5f2251285a24f93220c2c2a02ad5db0a9eee /clang/lib/CodeGen/TargetInfo.cpp | |
parent | fd654c406e41c71717f349119314f9aad05afea5 (diff) | |
download | bcm5719-llvm-0c4813e6953029cd8d304db715758f7995e11b74.tar.gz bcm5719-llvm-0c4813e6953029cd8d304db715758f7995e11b74.zip |
remove a dead assignment. The variables are set just right after. Found by scan-build http://buildd-clang.debian.net/scan-build/
llvm-svn: 192061
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 115593a656c..9ad17a454ef 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -1695,7 +1695,7 @@ void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase, uint64_t EB_Lo = Offset / 64; uint64_t EB_Hi = (Offset + Size - 1) / 64; - FieldLo = FieldHi = NoClass; + if (EB_Lo) { assert(EB_Hi == EB_Lo && "Invalid classification, type > 16 bytes."); FieldLo = NoClass; |