| Index: test/common/wasm/wasm-module-runner.cc
|
| diff --git a/test/common/wasm/wasm-module-runner.cc b/test/common/wasm/wasm-module-runner.cc
|
| index e408210a53377c08c6f5275fb901fb370aa0f38b..e206909ddeb14c4a10ab916d960c0c13b122e283 100644
|
| --- a/test/common/wasm/wasm-module-runner.cc
|
| +++ b/test/common/wasm/wasm-module-runner.cc
|
| @@ -54,9 +54,7 @@ const Handle<JSObject> InstantiateModuleForTesting(Isolate* isolate,
|
| if (module->import_table.size() > 0) {
|
| thrower->CompileError("Not supported: module has imports.");
|
| }
|
| - if (module->export_table.size() == 0) {
|
| - thrower->CompileError("Not supported: module has no exports.");
|
| - }
|
| +
|
| if (thrower->error()) return Handle<JSObject>::null();
|
|
|
| // Although we decoded the module for some pre-validation, run the bytes
|
|
|