Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index b162704cdeb27356541d91ebd55e43d998aaf490..d4c09b394abff14e11fb466ee5760baf48144909 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -1764,7 +1764,7 @@ class WasmInstanceBuilder { |
} |
Handle<JSObject> exports_object = instance; |
- if (module_->export_table.size() > 0 && module_->origin == kWasmOrigin) { |
+ if (module_->origin == kWasmOrigin) { |
// Create the "exports" object. |
Handle<JSFunction> object_function = Handle<JSFunction>( |
isolate_->native_context()->object_function(), isolate_); |