mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-02-04 07:31:51 +00:00
Since `basic_block_else` is NULL, it meets a crash if there is a
IF block without a else branch. Like:
``` wat
(func (export "params-id") (param i32) (result i32)
(i32.const 1)
(if (param i32) (result i32) (local.get 0)
(then)
)
)
```
Consider the ELSE block will be created lazily, focus on
`basic_block_entry" here.
|
||
|---|---|---|
| .. | ||
| app-framework | ||
| app-mgr | ||
| deps | ||
| iwasm | ||
| shared | ||
| config.h | ||