mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
Fix the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4884 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07f02614f6
commit
f18a36e398
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user