[llvm-commits] CVS: llvm/lib/Analysis/ConstantFolding.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sun Mar 4 16:02:01 PST 2007
Changes in directory llvm/lib/Analysis:
ConstantFolding.cpp updated: 1.19 -> 1.20
---
Log message:
Unbreak VC++ build.
---
Diffs of the changes: (+2 -2)
ConstantFolding.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Analysis/ConstantFolding.cpp
diff -u llvm/lib/Analysis/ConstantFolding.cpp:1.19 llvm/lib/Analysis/ConstantFolding.cpp:1.20
--- llvm/lib/Analysis/ConstantFolding.cpp:1.19 Wed Feb 14 20:26:09 2007
+++ llvm/lib/Analysis/ConstantFolding.cpp Sun Mar 4 18:00:41 2007
@@ -72,8 +72,8 @@
// N = N + Offset
Offset += TD.getStructLayout(ST)->getElementOffset(CI->getZExtValue());
} else {
- const SequentialType *ST = cast<SequentialType>(*GTI);
- Offset += TD.getTypeSize(ST->getElementType())*CI->getSExtValue();
+ const SequentialType *SQT = cast<SequentialType>(*GTI);
+ Offset += TD.getTypeSize(SQT->getElementType())*CI->getSExtValue();
}
}
return true;
More information about the llvm-commits
mailing list