mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Prevent warnings from the -Wshorten-64-to-32 flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1683,12 +1683,9 @@ public:
|
|||||||
return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertAtEnd);
|
return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertAtEnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
~BranchInst()
|
~BranchInst() {
|
||||||
{
|
|
||||||
if (NumOperands == 1)
|
if (NumOperands == 1)
|
||||||
{
|
NumOperands = (unsigned)(uintptr_t)((Use*)this - OperandList);
|
||||||
NumOperands = (Use*)this - OperandList;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Transparently provide more efficient getOperand methods.
|
/// Transparently provide more efficient getOperand methods.
|
||||||
|
Reference in New Issue
Block a user