[llvm-commits] [dragonegg] r136087 - /dragonegg/trunk/src/Types.cpp
Duncan Sands
baldrick at free.fr
Tue Jul 26 08:31:41 PDT 2011
Author: baldrick
Date: Tue Jul 26 10:31:40 2011
New Revision: 136087
URL: http://llvm.org/viewvc/llvm-project?rev=136087&view=rev
Log:
Remove variable which is only written, never read.
Modified:
dragonegg/trunk/src/Types.cpp
Modified: dragonegg/trunk/src/Types.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Types.cpp?rev=136087&r1=136086&r2=136087&view=diff
==============================================================================
--- dragonegg/trunk/src/Types.cpp (original)
+++ dragonegg/trunk/src/Types.cpp Tue Jul 26 10:31:40 2011
@@ -1405,7 +1405,6 @@
bool FindBiggest = TREE_CODE(type) != QUAL_UNION_TYPE;
Type *UnionTy = 0;
- tree GccUnionTy = 0;
tree UnionField = 0;
unsigned MinAlign = ~0U;
uint64_t BestSize = FindBiggest ? 0 : ~(uint64_t)0;
@@ -1439,7 +1438,6 @@
(!FindBiggest && Size < BestSize)) {
UnionTy = TheTy;
UnionField = Field;
- GccUnionTy = TheGccTy;
BestSize = Size;
MinAlign = Align;
}
More information about the llvm-commits
mailing list