wasm_interp: rename ExecutionState -> Instance to match standard Wasm terminology

This commit is contained in:
Brian Carroll 2022-11-28 20:24:54 +00:00
parent c2a28df6d8
commit c2bf7d68fc
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
5 changed files with 19 additions and 20 deletions

View file

@ -7,7 +7,7 @@ use std::fs;
use std::io;
use std::process;
use roc_wasm_interp::ExecutionState;
use roc_wasm_interp::Instance;
use roc_wasm_module::WasmModule;
pub const FLAG_FUNCTION: &str = "function";
@ -89,7 +89,7 @@ fn main() -> io::Result<()> {
// Initialise the execution state
let mut state = ExecutionState::for_module(
let mut state = Instance::for_module(
&arena,
&module,
start_fn_name,