summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-09 20:22:47 +0000
committerChris Lattner <sabre@nondot.org>2003-10-09 20:22:47 +0000
commite7691a45200b60c1cfaec7f1d58ea64e034995b5 (patch)
treef57369d12fc57c5ca33620ba653fe31bdde01c43 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parentbd26abdc9544067d251b2569d4d97adad1f86e3e (diff)
downloadbcm5719-llvm-e7691a45200b60c1cfaec7f1d58ea64e034995b5.tar.gz
bcm5719-llvm-e7691a45200b60c1cfaec7f1d58ea64e034995b5.zip
Major refactoring of the bytecode reader. This includes the following
changes: * BytecodeReader::getType(...) used to return a null pointer on error. This was only checked about half the time. Now we convert it to throw an exception, and delete the half that checked for error. This was checked in before, but psmith crashed and lost the change :( * insertValue no longer returns -1 on error, so callers don't need to check for it. * Substantial rewrite of InstructionReader.cpp, to use more efficient, simpler, data structures. This provides another 5% speedup. This also makes the code much easier to read and understand. llvm-svn: 8984
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud