From 4e4cae87f95a0cbba5707fb0cdb747b919a30600 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 4 Apr 2002 19:22:17 +0000 Subject: [PATCH] Lexer doesn't create typehandle gross stuff now, parser does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2103 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/Lexer.l | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index 50da49adcc6..8992cdc63de 100644 --- a/lib/AsmParser/Lexer.l +++ b/lib/AsmParser/Lexer.l @@ -146,14 +146,9 @@ long { llvmAsmlval.PrimType = Type::LongTy ; return LONG; } ulong { llvmAsmlval.PrimType = Type::ULongTy ; return ULONG; } float { llvmAsmlval.PrimType = Type::FloatTy ; return FLOAT; } double { llvmAsmlval.PrimType = Type::DoubleTy; return DOUBLE; } - type { llvmAsmlval.PrimType = Type::TypeTy ; return TYPE; } - label { llvmAsmlval.PrimType = Type::LabelTy ; return LABEL; } -opaque { llvmAsmlval.TypeVal = - new PATypeHolder(OpaqueType::get()); - return OPAQUE; - } +opaque { return OPAQUE; } not { RET_TOK(UnaryOpVal, Not, NOT); }