aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/SparcV9InstrSelection.cpp
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2003-10-21 12:28:27 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2003-10-21 12:28:27 +0000
commit472c3046fe7b12fa9e8dd4c1bd98d0efad51e7f8 (patch)
treedcb5a31562d6a2ab3b8695b944b48e10fea822f1 /lib/Target/SparcV9/SparcV9InstrSelection.cpp
parent40dee515442efcbbbe6170c50693ff9bdaa293fe (diff)
downloadexternal_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.cpp1
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