Module interpreter_loop

Source
Expand description

This module solely contains the actual interpretation loop that matches instructions, interpreting the WASM bytecode

Β§Note to Developer:

  1. There must be only imports and one impl with one function (run) in it.
  2. This module must not use the Error enum.
  3. Instead, only the RuntimeError enum shall be used

FunctionsΒ§

calculate_mem_address πŸ”’
data_drop πŸ”’
do_sidetable_control_transfer πŸ”’
elem_drop πŸ”’
memory_init πŸ”’
run πŸ”’
Interprets a functions. Parameters and return values are passed on the stack.
table_init πŸ”’