Skip to content

Conversation

@FromLiQg
Copy link
Contributor

Correct a simple source error in wasm_mini_loader.c: wasm_type_equal(type, j) -> wasm_type_equal(type, module->types[j]).
Delete some unused comment in aot_runtime.h

FromLiQg and others added 18 commits August 12, 2022 17:45
Use pointer comparison instead of struct memory comparison.
When using call_indirect, type comparison is required.
I optimized the speed of type comparison,
and changed type structure memory comparison to pointer comparison.
whitch stores the number of type references
in wasm_interp_fast.c and wasm_interp_classic.c
when "globals" initialization fails,
the memory allocated is not released, resulting in memory leakage
@wenyongh wenyongh merged commit a382a02 into bytecodealliance:main Aug 19, 2022
loganek pushed a commit to loganek/wasm-micro-runtime that referenced this pull request Aug 31, 2022
Fix wasm_type_equal check error in wasm_mini_loader.c:
  wasm_type_equal(type, j) -> wasm_type_equal(type, module->types[j])
And remove unused comments in aot_runtime.h
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
Fix wasm_type_equal check error in wasm_mini_loader.c:
  wasm_type_equal(type, j) -> wasm_type_equal(type, module->types[j])
And remove unused comments in aot_runtime.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants