diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-03 18:15:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-03 18:15:59 +0000 |
commit | 6a0874071bf386d5b7056c681795fb56972a1016 (patch) | |
tree | a2239296dee0aa0737feea3e29a980141f469f4d /llvm/lib | |
parent | b6768573587a0f54d9745ac33ff437fe94e761a8 (diff) | |
download | bcm5719-llvm-6a0874071bf386d5b7056c681795fb56972a1016.tar.gz bcm5719-llvm-6a0874071bf386d5b7056c681795fb56972a1016.zip |
Fix the build
llvm-svn: 4884
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/InstSelectSimple.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index ac4084cbbb5..10fdf0f911d 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -641,10 +641,10 @@ ISel::visitCastInst (CastInst &CI) //the former is that the register allocator could use any register it wants, //but for now this obviously doesn't matter. :) - Type *targetType = CI.getType (); + const Type *targetType = CI.getType (); Value *operand = CI.getOperand (0); unsigned int operandReg = getReg (operand); - Type *sourceType = operand->getType (); + const Type *sourceType = operand->getType (); unsigned int destReg = getReg (CI); // cast to bool: |