diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-04 12:17:44 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-04 12:17:44 +0000 |
commit | 77f4d868d778bb5183ced488b037f9ea58bc74eb (patch) | |
tree | d5f8516b6967e48942b7a49f49d34014b2668079 | |
parent | 7474d03578d371b0a0601ab5f05a0da321b6f1cb (diff) |
Remove use of Type::TypeTy which is no longer defined. This change needed
for bug 122 since the "Type Type" concept is gone now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14620 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AsmParser/Lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index 1c85059757..e2476fdf09 100644 --- a/lib/AsmParser/Lexer.l +++ b/lib/AsmParser/Lexer.l @@ -212,8 +212,8 @@ 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; } +type { return TYPE; } opaque { return OPAQUE; } add { RET_TOK(BinaryOpVal, Add, ADD); } |