aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-21 06:27:42 +0000
committerChris Lattner <sabre@nondot.org>2005-03-21 06:27:42 +0000
commit355ad1f3aff45acc0bd06afd7c4150509334a20d (patch)
tree82ba2cba70f0cd417b7d9bd8968ee1ded04db75a /lib/Analysis/DataStructure/EquivClassGraphs.cpp
parent97310eab6dcf2039e502d529e78cbec967cebbb0 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/EquivClassGraphs.cpp')
0 files changed, 0 insertions, 0 deletions