wasm-micro-runtime/core/iwasm/fast-jit/fe
liang.he 0f2885cd66
Fix issues of handling op block/if/loop/else (#1049)
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.
2022-03-21 14:00:58 +08:00
..
jit_emit_compare.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_compare.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_const.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_const.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_control.c Fix issues of handling op block/if/loop/else (#1049) 2022-03-21 14:00:58 +08:00
jit_emit_control.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_conversion.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_conversion.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_exception.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_emit_exception.h Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_emit_function.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_function.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_memory.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_memory.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_numberic.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_numberic.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_parametric.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_parametric.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_table.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_table.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_emit_variable.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_emit_variable.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00