diff options
Diffstat (limited to 'src/tools/execution-results.h')
-rw-r--r-- | src/tools/execution-results.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/execution-results.h b/src/tools/execution-results.h index 1e8fba4ff..ca4b819d9 100644 --- a/src/tools/execution-results.h +++ b/src/tools/execution-results.h @@ -20,6 +20,7 @@ #include "wasm.h" #include "shell-interface.h" +#include "ir/import-utils.h" namespace wasm { @@ -32,7 +33,7 @@ struct ExecutionResults { // get results of execution void get(Module& wasm) { - if (wasm.imports.size() > 0) { + if (ImportInfo(wasm).getNumImports() > 0) { std::cout << "[fuzz-exec] imports, so quitting\n"; return; } |