aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.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
commit3cb4167b26e7915593a2742f9af23867c959b4d4 (patch)
treef99ce460de3ce049317fe5ba1c6f7511272c2901 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
parenta263b85fe6ea961d246d89ccc6b2e82f909cb251 (diff)
downloadllvm-3cb4167b26e7915593a2742f9af23867c959b4d4.zip
llvm-3cb4167b26e7915593a2742f9af23867c959b4d4.tar.gz
llvm-3cb4167b26e7915593a2742f9af23867c959b4d4.tar.bz2
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. llvm-svn: 11221
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions