Skip to content

Commit b40e79c

Browse files
authored
Make heap and linear memory contiguous to refine compilation time and footprint (#233)
Use FastISel for JIT mode Use united aot version in aot file and aot runtime Disable check signature failed warning for wamrc Fix fast interpreter x86_32 float issue Remove unused empty lvgl folder
1 parent ffd975d commit b40e79c

File tree

27 files changed

+978
-750
lines changed

27 files changed

+978
-750
lines changed

core/config.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ enum {
6161
#define WASM_ENABLE_AOT 0
6262
#endif
6363

64+
#define AOT_MAGIC_NUMBER 0x746f6100
65+
#define AOT_CURRENT_VERSION 1
66+
6467
#ifndef WASM_ENABLE_JIT
6568
#define WASM_ENABLE_JIT 0
6669
#endif
@@ -147,9 +150,6 @@ enum {
147150
/* Default watchdog interval in ms */
148151
#define DEFAULT_WATCHDOG_INTERVAL (3 * 60 * 1000)
149152

150-
/* Support memory.grow opcode and enlargeMemory function */
151-
#define WASM_ENABLE_MEMORY_GROW 1
152-
153153
/* The max percentage of global heap that app memory space can grow */
154154
#define APP_MEMORY_MAX_GLOBAL_HEAP_PERCENT 1 / 3
155155

@@ -183,5 +183,9 @@ enum {
183183
#define BLOCK_ADDR_CACHE_SIZE 64
184184
#define BLOCK_ADDR_CONFLICT_SIZE 2
185185

186+
#ifndef WASM_ENABLE_SPEC_TEST
187+
#define WASM_ENABLE_SPEC_TEST 0
188+
#endif
189+
186190
#endif /* end of _CONFIG_H_ */
187191

0 commit comments

Comments
 (0)