1
0
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:
Jeff Cohen 2006-02-04 16:20:31 +00:00
parent e4dc660cbb
commit 4f433dafa5

View File

@ -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.