wasm-micro-runtime/core/shared
Marcin Kolny ff4be24726
Fix bh_assert for 64-bit platforms (#2071)
In some cases, the memory address of some variables may have 4 least significant
bytes set to zero. Because we cast the pointer to int, we look only at 4 least
significant bytes; the assertion may fail because 4 least significant bytes are 0.

Change bh_assert implementation to cast the assert expr to int64_t and it works
well with 64-bit architectures.
2023-03-28 12:18:39 +08:00
..
coap Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
mem-alloc Remove unnecessary app heap memory clean operations to reduce process RSS (#1608) 2022-10-18 18:02:48 +08:00
platform Enable platform support for esp-idf v5.0.1 (#2050) 2023-03-23 17:29:57 +08:00
utils Fix bh_assert for 64-bit platforms (#2071) 2023-03-28 12:18:39 +08:00