move examples into subfolder, added wasm4 skip_ahead

This commit is contained in:
dranke committed 2021-11-10 22:37:26 +01:00
1 parent e9f115ee95
commit 911c2e43ad
11 files changed
+112 -77

No files matched your search

+1 -1
View File
@@ -619,8 +619,8 @@ fn emit_expression<'a>(ctx: &mut FunctionContext<'a>, expr: &'a ast::Expression)
ast::Expr::Return { value } => {
if let Some(value) = value {
emit_expression(ctx, value);
ctx.function.instruction(&Instruction::Return);
}
ctx.function.instruction(&Instruction::Return);
}
ast::Expr::Error => unreachable!(),
}