summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure
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
commita5f4b773d90c06fa2c20130970d9e54f8d8b352a (patch)
tree6d74b80e08c3d8ee1796aaeff2eca1568322c2fd /llvm/lib/Analysis/DataStructure
parenta825b14278188767b19ab5ce2b7ba6a4b5f737b0 (diff)
downloadbcm5719-llvm-a5f4b773d90c06fa2c20130970d9e54f8d8b352a.tar.gz
bcm5719-llvm-a5f4b773d90c06fa2c20130970d9e54f8d8b352a.zip
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
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud