mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-11-14 03:17:19 +01:00
move examples into subfolder, added wasm4 skip_ahead
This commit is contained in:
1 parent
e9f115ee95
commit
911c2e43ad
11 files changed
+112
-77
No files matched your search
+1
-1
@@ -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