mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 06:35:25 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user