Why does g++ not even generate a warning when you miss a break statement?

llvm-svn: 9317
This commit is contained in:
Vikram S. Adve 2003-10-21 12:28:27 +00:00
parent 062fda7446
commit abf40e897c

View File

@ -2844,6 +2844,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
int argSize = target.getFrameInfo().getSizeOfEachArgOnStack();
mvec.push_back(BuildMI(V9::ADDi, 3).addReg(vaNextI->getOperand(0)).
addSImm(argSize).addRegDef(vaNextI));
break;
}
case 66: // reg: VAArg (reg): the va_arg instruction