diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-10-21 12:28:27 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-10-21 12:28:27 +0000 |
commit | 472c3046fe7b12fa9e8dd4c1bd98d0efad51e7f8 (patch) | |
tree | dcb5a31562d6a2ab3b8695b944b48e10fea822f1 /lib/Target/SparcV9/SparcV9InstrSelection.cpp | |
parent | 40dee515442efcbbbe6170c50693ff9bdaa293fe (diff) | |
download | external_llvm-472c3046fe7b12fa9e8dd4c1bd98d0efad51e7f8.zip external_llvm-472c3046fe7b12fa9e8dd4c1bd98d0efad51e7f8.tar.gz external_llvm-472c3046fe7b12fa9e8dd4c1bd98d0efad51e7f8.tar.bz2 |
Why does g++ not even generate a warning when you miss a break statement?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9InstrSelection.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9InstrSelection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp index a546f91..9c4fcd6 100644 --- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp +++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp @@ -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 |