Allocate more stack (needed for some spec tests)

extensions
Volodymyr Shymanskyy 5 years ago
parent 45648b6249
commit be06be6338

@ -40,7 +40,7 @@ int main (int i_argc, const char * i_argv [])
if (result) FATAL("m3_ParseModule: %s", result); if (result) FATAL("m3_ParseModule: %s", result);
// TODO: Detect stack exhaustion // TODO: Detect stack exhaustion
IM3Runtime env = m3_NewRuntime (4096); IM3Runtime env = m3_NewRuntime (8*1024);
if (!env) FATAL("m3_NewRuntime"); if (!env) FATAL("m3_NewRuntime");
result = m3_LoadModule (env, module); result = m3_LoadModule (env, module);

@ -302,7 +302,7 @@ else:
"conversions", "conversions",
"stack", "fac", "stack", "fac",
"call", "call", "call_indirect",
"break-drop", "break-drop",
"forward", "forward",
"func_ptrs", "func_ptrs",
@ -310,19 +310,20 @@ else:
#--- Almost ready --- #--- Almost ready ---
#"left-to-right", -> need to implement float select #"left-to-right", -> need to implement float select
#"call_indirect", -> need to add type-checking
#"int_literals", -> stack underflow #"int_literals", -> stack underflow
#"memory_trap", "address", -> init memory size + track memory bounds
#"float_memory",
#"memory_redundancy", "memory_grow",
#--- TODO --- #--- TODO ---
#"get_local", "set_local", "tee_local", #"get_local", "set_local", "tee_local",
#"if", "loop", "block", "br", "br_if", "br_table", "return", #"if", "loop", "labels", "block", "br", "br_if", "br_table", "return",
#"nop", "unreachable", #"nop", "unreachable",
#"address", "align", "memory", #"align", "memory",
#"float_literals", #"float_literals",
#"globals", #"globals",
#"func", #"func",
#"float_exprs", #"float_exprs",
#"float_memory",
#"elem", #"elem",
#"switch", #"switch",
])) ]))

Loading…
Cancel
Save