Skip to content

Commit af48993

Browse files
authored
Re-org run pass manager codes (#977)
1 parent f500f9f commit af48993

File tree

7 files changed

+237
-183
lines changed

7 files changed

+237
-183
lines changed

build-scripts/config_common.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ else ()
131131
endif ()
132132
if (WAMR_BUILD_JIT EQUAL 1)
133133
if (WAMR_BUILD_LAZY_JIT EQUAL 1)
134-
message (" WAMR Lazy JIT enabled")
134+
message (" WAMR LLVM Orc Lazy JIT enabled")
135135
else ()
136-
message (" WAMR MC JIT enabled")
136+
message (" WAMR LLVM MC JIT enabled")
137137
endif ()
138138
else ()
139139
message (" WAMR JIT disabled")

core/iwasm/common/wasm_c_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,8 +1831,8 @@ wasm_module_new(wasm_store_t *store, const wasm_byte_vec_t *binary)
18311831
INIT_VEC(module_ex->binary, wasm_byte_vec_new, binary->size, binary->data);
18321832

18331833
module_ex->module_comm_rt = wasm_runtime_load(
1834-
(uint8 *)module_ex->binary->data, (uint32)module_ex->binary->size,
1835-
error_buf, (uint32)sizeof(error_buf));
1834+
(uint8 *)module_ex->binary->data, (uint32)module_ex->binary->size,
1835+
error_buf, (uint32)sizeof(error_buf));
18361836
if (!(module_ex->module_comm_rt)) {
18371837
LOG_ERROR(error_buf);
18381838
goto failed;

0 commit comments

Comments
 (0)