Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/fuzz_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ def handle(self, wasm):
for line in out.splitlines():
if line.startswith(LOG_BRANCH_PREFIX):
# (1:-1 strips away the '[', ']' at the edges)
_, _, id_, hint, actual = line[1:-1].split(' ')
_, _, actual, hint, id_ = line[1:-1].split(' ')
all_ids.add(id_)
if hint != actual:
# This hint was misleading.
Expand Down Expand Up @@ -2443,7 +2443,7 @@ def handle(self, wasm):
continue
for line in group:
if line.startswith(LOG_BRANCH_PREFIX):
_, _, id_, hint, actual = line[1:-1].split(' ')
_, _, actual, hint, id_ = line[1:-1].split(' ')
hint = int(hint)
actual = int(actual)
assert hint in (0, 1)
Expand Down
5 changes: 3 additions & 2 deletions scripts/fuzz_shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,9 @@ var baseImports = {
});
},

'log-branch': (id, expected, actual) => {
console.log(`[LoggingExternalInterface log-branch ${id} ${expected} ${actual}]`);
'log-branch': (actual, expected, id) => {
console.log(`[LoggingExternalInterface log-branch ${actual} ${expected} ${id}]`);
return actual;
},
},
// Emscripten support.
Expand Down
Loading
Loading