[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 3 12:17:01 PST 2002
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.43 -> 1.44
---
Log message:
Fix the build
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.43 llvm/lib/Target/X86/InstSelectSimple.cpp:1.44
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.43 Tue Dec 3 01:36:03 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Tue Dec 3 12:15:59 2002
@@ -641,10 +641,10 @@
//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:
More information about the llvm-commits
mailing list