mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 13:41:32 +00:00
Added fb
and gb
symbols
This commit is contained in:
@ -511,9 +511,11 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
|
|||||||
"STACKTOP" => Global::new(Value::I32(globals.data.stacktop as i32)),
|
"STACKTOP" => Global::new(Value::I32(globals.data.stacktop as i32)),
|
||||||
"STACK_MAX" => Global::new(Value::I32(globals.data.stack_max as i32)),
|
"STACK_MAX" => Global::new(Value::I32(globals.data.stack_max as i32)),
|
||||||
"DYNAMICTOP_PTR" => Global::new(Value::I32(globals.data.dynamictop_ptr as i32)),
|
"DYNAMICTOP_PTR" => Global::new(Value::I32(globals.data.dynamictop_ptr as i32)),
|
||||||
|
"fb" => Global::new(Value::I32(globals.data.table_base as i32)),
|
||||||
"tableBase" => Global::new(Value::I32(globals.data.table_base as i32)),
|
"tableBase" => Global::new(Value::I32(globals.data.table_base as i32)),
|
||||||
"__table_base" => Global::new(Value::I32(globals.data.table_base as i32)),
|
"__table_base" => Global::new(Value::I32(globals.data.table_base as i32)),
|
||||||
"ABORT" => Global::new(Value::I32(globals.data.abort as i32)),
|
"ABORT" => Global::new(Value::I32(globals.data.abort as i32)),
|
||||||
|
"gb" => Global::new(Value::I32(globals.data.memory_base as i32)),
|
||||||
"memoryBase" => Global::new(Value::I32(globals.data.memory_base as i32)),
|
"memoryBase" => Global::new(Value::I32(globals.data.memory_base as i32)),
|
||||||
"__memory_base" => Global::new(Value::I32(globals.data.memory_base as i32)),
|
"__memory_base" => Global::new(Value::I32(globals.data.memory_base as i32)),
|
||||||
"tempDoublePtr" => Global::new(Value::I32(globals.data.temp_double_ptr as i32)),
|
"tempDoublePtr" => Global::new(Value::I32(globals.data.temp_double_ptr as i32)),
|
||||||
|
Reference in New Issue
Block a user