[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
Reid Spencer
reid at x10sys.com
Sun Jan 7 13:45:56 PST 2007
Changes in directory llvm/lib/Transforms/IPO:
SimplifyLibCalls.cpp updated: 1.82 -> 1.83
---
Log message:
Types should be const.
---
Diffs of the changes: (+2 -2)
SimplifyLibCalls.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.82 llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.83
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.82 Sun Jan 7 02:12:01 2007
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp Sun Jan 7 15:45:41 2007
@@ -1091,7 +1091,7 @@
// Get the type we will cast to, based on size of the string
Value* dest = ci->getOperand(1);
Value* src = ci->getOperand(2);
- Type* castType = 0;
+ const Type* castType = 0;
switch (len)
{
case 0:
@@ -1195,7 +1195,7 @@
// Get the type we will cast to, based on size of memory area to fill, and
// and the value we will store there.
Value* dest = ci->getOperand(1);
- Type* castType = 0;
+ const Type* castType = 0;
switch (len) {
case 1:
castType = Type::Int8Ty;
More information about the llvm-commits
mailing list