1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/AsmParser
Chris Lattner ce471ff361 Remove a bunch of cruft and dead code for handling the case when types were
defined in function constant pools.  The assembler grammar has long
disallowed functions from having constant pools, so all of this stuff is
dead.

This makes it an immediate error for functions to refer to nonexisting
types, fixing Regression/Verifier/2005-03-21-UndefinedTypeReference.ll.

Before, references to non-existing types in functions would only be
detected when the subsequent function was parsed, due to the call to
"ResolveTypes".  "ResolveTypes" has not resolved any types for a long time,
instead it emitted an error message if no resolved types are left.  Since
the only caller of this method is in the module code, just inline it.

llvm-svn: 20726
2005-03-21 06:27:42 +00:00
..
.cvsignore
Lexer.l Silence VS warnings. 2005-01-08 20:07:03 +00:00
llvmAsmParser.y Remove a bunch of cruft and dead code for handling the case when types were 2005-03-21 06:27:42 +00:00
Makefile Apparently := confuses makellvm 2005-02-01 01:47:12 +00:00
Parser.cpp Fine-grainify namespacification, prune #include 2004-07-13 08:42:12 +00:00
ParserInternals.h Parse undef and unreachable 2004-10-16 18:17:13 +00:00