aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-09 00:59:07 +0000
committerChris Lattner <sabre@nondot.org>2004-02-09 00:59:07 +0000
commit2eaf58775e55042751d8e74d2fa2020c5b635855 (patch)
tree0cbb88b55bbb386f027b7e10c626b37794c44bda /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
parent57ea2e3294ffe2a68dbbfed6eed08b1ae3fe899b (diff)
downloadllvm-2eaf58775e55042751d8e74d2fa2020c5b635855.zip
llvm-2eaf58775e55042751d8e74d2fa2020c5b635855.tar.gz
llvm-2eaf58775e55042751d8e74d2fa2020c5b635855.tar.bz2
Two problems with these lines of code:
1. The "work" was not in the assert, so it was punishing the optimized release 2. getNamedFunction is _very_ expensive in large programs. It is not designed to be used like this, and was taking 7% of the execution time of the code generator on perlbmk. Since the assert "can never fail", I'm just killing it. llvm-svn: 11214
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions