aboutsummaryrefslogtreecommitdiff
path: root/support/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-06-06 06:59:55 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-06-06 06:59:55 +0000
commit4e8c999518361ceafd2f816e29f76284c7f8a210 (patch)
tree4c10b9b8e21473427474b45a84c93337cdb92a86 /support/lib/Support/Timer.cpp
parent1d4408506b5704a64ad76a295ee8f7b94b79ffd0 (diff)
::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT :::
The JIT is designed to code-generate a function at-a-time. That means that any pass can only make local changes to its function. Period. Because the Sparc PreSelection pass claims to be a BasicBlock pass while adding globals to the Module, it cannot be run with the other passes, because by this time, the globals have been output already by the JIT, and the addresses of any globals appearing AFTER this point are not recognized. However, the PreSelection pass is a requirement for correctness in the Sparc codegen path, so it MUST be run. ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions