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; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits