TypeFinder: prefer iterative algorithm to keep stack usage low.
authorWill Dietz <wdietz2@illinois.edu>
Wed, 16 Oct 2013 04:10:06 +0000 (04:10 +0000)
committerWill Dietz <wdietz2@illinois.edu>
Wed, 16 Oct 2013 04:10:06 +0000 (04:10 +0000)
commit1e6810005f426798ce2541c26f0cdc7a08670846
tree79486fbc96f975a10d7dad4155cdf9967bc30902
parent86df596c4121633114fca22585583f7b585b87aa
TypeFinder: prefer iterative algorithm to keep stack usage low.

Introduce subtype_reverse_iterator to maintain
the numbering assigned during the recursive type walk.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192770 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Type.h
lib/IR/TypeFinder.cpp