Remove outdated comment

This commit is contained in:
Jef
2018-12-19 20:27:16 +00:00
parent 522818e7d8
commit 5eee15ab02

View File

@@ -499,11 +499,6 @@ pub fn end_block(ctx: &mut Context, parent_block_state: BlockState) {
} }
} }
// TODO: We should be able to have arbitrary return registers. For blocks with multiple
// return points we can just choose the first one that we encounter and then always
// use that one. This will mean that `(block ...)` is no less efficient than `...`
// alone, and you only pay for the shuffling of registers in the case that you use
// `BrIf` or similar.
fn push_return_value(ctx: &mut Context, arity: u32) { fn push_return_value(ctx: &mut Context, arity: u32) {
if arity == 0 { if arity == 0 {
return; return;