Files missing from LABEL check in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2007-01-26 17:29:20 +00:00
parent 9373d272b2
commit a683f9ba13
5 changed files with 34 additions and 7 deletions
+3 -1
View File
@@ -315,7 +315,9 @@ void InstrInfoEmitter::emitShiftedValue(Record *R, StringInit *Val,
if (RV == 0 || RV->getValue() == 0) {
// This isn't an error if this is a builtin instruction.
if (R->getName() != "PHI" && R->getName() != "INLINEASM")
if (R->getName() != "PHI" &&
R->getName() != "INLINEASM" &&
R->getName() != "LABEL")
throw R->getName() + " doesn't have a field named '" +
Val->getValue() + "'!";
return;