Skip to content

Commit 81e6fa8

Browse files
committed
fix
1 parent 4c24184 commit 81e6fa8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/fuzzing/fuzzing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,13 +2584,13 @@ void TranslateToFuzzReader::mutateJSBoundary() {
25842584
continue;
25852585
}
25862586

2587+
auto* func = wasm.getFunction(name);
25872588
auto oldResults = func->getResults();
25882589
if (oldResults == Type::none) {
25892590
continue;
25902591
}
25912592

25922593
// Refine.
2593-
auto* func = wasm.getFunction(name);
25942594
auto lub = LUB::getResultsLUB(func, wasm);
25952595
auto lubType = lub.getLUB();
25962596
assert(oldResults.size() == lubType.size() || !lub.noted());

0 commit comments

Comments
 (0)