mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Fix VC++ warning.
llvm-svn: 25975
This commit is contained in:
parent
e4dc660cbb
commit
4f433dafa5
@ -301,7 +301,6 @@ void ScheduleDAG::EmitNode(NodeInfo *NI) {
|
||||
// Add all of the operand registers to the instruction.
|
||||
for (unsigned i = 2; i != NumOps; i += 2) {
|
||||
unsigned Flags =cast<ConstantSDNode>(Node->getOperand(i+1))->getValue();
|
||||
MachineOperand::UseType UseTy;
|
||||
switch (Flags) {
|
||||
default: assert(0 && "Bad flags!");
|
||||
case 1: { // Use of register.
|
||||
|
Loading…
Reference in New Issue
Block a user