commit | 103f0c3472da9a0608d5e030a9b98cfd0b008dc3 | [log] [tgz] |
---|---|---|
author | Misha Brukman <brukman+llvm@gmail.com> | Fri Sep 05 22:59:31 2003 +0000 |
committer | Misha Brukman <brukman+llvm@gmail.com> | Fri Sep 05 22:59:31 2003 +0000 |
tree | 4ded45f7de15c915c9cf017dde6d40d60878cf9b | |
parent | fd13129bdf7324b2e8181a653897269aaaecc4e8 [diff] |
Added some optimizations: * Generate a single BA instead of 6-instruction JUMP if possible (this occurs both in the creation and overwriting of the stub code) * If possible, rewrite the ORIGINAL call to call the generated function directly, thus bypassing the stub entirely Also added some statistics on how often calls are overwritten and how often the CompilationCallback is invoked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8376 91177308-0d34-0410-b5e6-96231b3b80d8