mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
fix a crash on:
let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { we now get: X86InstrCompiler.td:653:52: error: Expected class, def, defm, multiclass or let definition let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { ^ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117863 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
150d20e8fc
commit
d6d9dd9f5e
@ -2087,7 +2087,8 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
|
||||
/// Object ::= LETCommand Object
|
||||
bool TGParser::ParseObject(MultiClass *MC) {
|
||||
switch (Lex.getCode()) {
|
||||
default: assert(0 && "This is not an object");
|
||||
default:
|
||||
return TokError("Expected class, def, defm, multiclass or let definition");
|
||||
case tgtok::Let: return ParseTopLevelLet(MC);
|
||||
case tgtok::Def: return ParseDef(MC);
|
||||
case tgtok::Defm: return ParseDefm(MC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user