mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 11:46:43 +01:00
move examples into subfolder, added wasm4 skip_ahead
This commit is contained in:
@@ -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!(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user