Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit 6bf02fa

Browse files
authored
fix compareHostFunctions.js (#228)
1 parent 4920b96 commit 6bf02fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/compareHostFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async function main() {
7575
let importHits = [
7676
...wasmImportFile.matchAll(
7777
// parse the WASM host function imports in `WasmVM.cpp`
78-
/^ *WASM_IMPORT_FUNC2? *\(i, *([A-Za-z0-9]+), *("([A-Za-z0-9_]+)",)? *hfs, *[0-9]+\);$/gm,
78+
/^ *WASM_IMPORT_FUNC2? *\(i, *([A-Za-z0-9]+), *("([A-Za-z0-9_]+)",)? *hfs, *[0-9']+\);$/gm,
7979
),
8080
]
8181
const imports = importHits.map((hit) => [hit[1], hit[3] != null ? hit[3] : hit[1]]).sort((a, b) => a[0].localeCompare(b[0]))

0 commit comments

Comments
 (0)