about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-10 14:17:10 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-13 20:29:46 -0800
commitd5e0622f95252e442b909011129336c11ddb0151 (patch)
treee4a3f26ebe34c04758e8ef2a2cf106ddc34b6a2f /src/rustllvm/ExecutionEngineWrapper.cpp
parent89b1686bd7db25b5dd948b1a4d9dfd0c68084c29 (diff)
downloadrust-d5e0622f95252e442b909011129336c11ddb0151.tar.gz
rust-d5e0622f95252e442b909011129336c11ddb0151.zip
Fix a bug where cached stacks weren't re-used
The condition was the wrong direction and it also didn't take equality into
account. Tests were added for both cases.

For the small benchmark of `task::try(proc() {}).unwrap()`, this takes the
iteration time on OSX from 15119 ns/iter to 6179 ns/iter (timed with
RUST_THREADS=1)

cc #11389
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions