Revert r171140. We don't actually need to support #NAME. Because NAME by itself is interpreted just fine.

llvm-svn: 171695
This commit is contained in:
Craig Topper 2013-01-07 05:09:33 +00:00
parent bd62d64cbf
commit b21afc6db4
1 changed files with 1 additions and 5 deletions

View File

@ -2406,11 +2406,7 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
Init *DefmPrefix = 0;
Lex.Lex(); // eat the defm.
// Note that tgtok::paste is here to allow starting with #NAME.
if (Lex.getCode() == tgtok::Id ||
Lex.getCode() == tgtok::paste) {
if (Lex.Lex() == tgtok::Id) { // eat the defm.
DefmPrefix = ParseObjectName(CurMultiClass);
}