aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-10 14:04:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-10 14:04:08 +0000
commitfe3cccfb8f28c3c3bc968b4fd639ec0746cf0854 (patch)
treea25b7cd5eb33422255202fcec7c7ea6368f399cf /lib/Bytecode/Reader
parentc834553b72bbfeb09abc9a7cb8ab1b32d2d36e24 (diff)
For PR1194:
The bcreader counts on "primitive" types being inserted before they are referenced in other types. With recent changes to the bcwriter, this fact became exposed since IntegerType is no longer "primitive". We can no longer count on all IntegerTypes being inserted early. This patch modifies getOrCreateTypeSlot to insert any sub-type that can't possibly recurse before we create the slot for the type. This has the benefit of reducing the number of OpaqueType objects the reader needs to deal with. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader')
0 files changed, 0 insertions, 0 deletions