Types should be const.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-01-07 21:45:41 +00:00
parent 161a4c9d79
commit 3c628627ea

View File

@ -1091,7 +1091,7 @@ struct LLVMMemCpyMoveOptzn : public LibCallOptimization {
// 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 @@ struct LLVMMemSetOptimization : public LibCallOptimization {
// 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;