mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
![]() Refine opcode br_table for classic interpreter as there may be a lot of leb128 decoding when the br count is big: 1. Use the bytecode itself to store the decoded leb br depths if each decoded depth can be stored with one byte 2. Create br_table cache to store the decode leb br depths if the decoded depth cannot be stored with one byte After the optimization, the class interpreter can access the br depths array with index, no need to decode the leb128 again. And fix function record_fast_op() return value unchecked issue in source debugging feature. |
||
---|---|---|
.. | ||
iwasm_interp.cmake | ||
SConscript | ||
wasm_interp_classic.c | ||
wasm_interp_fast.c | ||
wasm_interp.h | ||
wasm_loader.c | ||
wasm_loader.h | ||
wasm_mini_loader.c | ||
wasm_opcode.h | ||
wasm_runtime.c | ||
wasm_runtime.h | ||
wasm.h |