mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
wasm_interp: fix a bug in implicit return
This commit is contained in:
parent
90449f45f3
commit
18e9051760
2 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,7 @@ impl<'a> CallStack<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
self.is_64.is_empty()
|
self.frame_offsets.is_empty()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Dump a stack trace of the WebAssembly program
|
/// Dump a stack trace of the WebAssembly program
|
||||||
|
|
|
@ -12,6 +12,7 @@ use crate::call_stack::CallStack;
|
||||||
use crate::value_stack::ValueStack;
|
use crate::value_stack::ValueStack;
|
||||||
use crate::{Error, ImportDispatcher};
|
use crate::{Error, ImportDispatcher};
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub enum Action {
|
pub enum Action {
|
||||||
Continue,
|
Continue,
|
||||||
Break,
|
Break,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue