[cfe-commits] r72584 - /cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
Mike Stump
mrs at apple.com
Fri May 29 12:14:13 PDT 2009
Author: mrs
Date: Fri May 29 14:14:13 2009
New Revision: 72584
URL: http://llvm.org/viewvc/llvm-project?rev=72584&view=rev
Log:
Oops, the testcase I was thinking of is supposed to error out. I
tried other things that might trip, but they all worked.
Modified:
cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.cpp?rev=72584&r1=72583&r2=72584&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.cpp Fri May 29 14:14:13 2009
@@ -487,8 +487,6 @@
}
return SizeEntry;
- } else if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(Ty)) {
- EmitVLASize(CAT->getElementType());
} else if (const PointerType *PT = Ty->getAsPointerType())
EmitVLASize(PT->getPointeeType());
else {
More information about the cfe-commits
mailing list