about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-07-17 21:59:58 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-07-21 15:54:41 +0200
commitd4051178976aa0527ede20e6c053f72b3d4dc20c (patch)
treeb491530d84f4e7fb2bdd9d96c73453fbe9306617 /src/rt/rust_kernel.cpp
parentc4b6216943eebbf17e6ea5641a0f32976633c4f2 (diff)
downloadrust-d4051178976aa0527ede20e6c053f72b3d4dc20c.tar.gz
rust-d4051178976aa0527ede20e6c053f72b3d4dc20c.zip
Avoid creating llenv blocks when there's nothing to load
Currently, all closures have an llenv block to load values from the
captured environment, but for closure that don't actually capture
anything, that block is useless and can be skipped.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions