diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-09 03:19:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-09 03:19:29 +0000 |
commit | 3cb4167b26e7915593a2742f9af23867c959b4d4 (patch) | |
tree | f99ce460de3ce049317fe5ba1c6f7511272c2901 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | a263b85fe6ea961d246d89ccc6b2e82f909cb251 (diff) | |
download | llvm-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