aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/InstructionReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-09 03:19:29 +0000
committerChris Lattner <sabre@nondot.org>2004-02-09 03:19:29 +0000
commit3b07386724f837336036b2058e90b1c315fcfdeb (patch)
tree424f8def1c9960920d993c7fec29904988f388df /lib/Bytecode/Reader/InstructionReader.cpp
parent2c37c18c6e9f5f2b898ac410da5306614a4db5c0 (diff)
Instead of searching the entire type graph for a type to determine if it
contains the type we are looking for, just search the immediately used types. We can only do this because we keep the "current" type in the nesting level as we decrement upreferences. This change speeds up the testcase in PR224 from 50.4s to 22.08s, not too shabby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/InstructionReader.cpp')
0 files changed, 0 insertions, 0 deletions