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 af2df5b7f9
commit 64e8a13b7b
1 changed files with 1 additions and 0 deletions

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