Optimize memory initialization handling in AOT loader (#3983)
Save memory if the file buffer is always exist before exit. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
@ -103,7 +103,7 @@ typedef struct AOTMemInitData {
|
||||
/* Byte count */
|
||||
uint32 byte_count;
|
||||
/* Byte array */
|
||||
uint8 bytes[1];
|
||||
uint8 *bytes;
|
||||
} AOTMemInitData;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user