summaryrefslogtreecommitdiff
path: root/Tests/LibWasm/test-wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibWasm/test-wasm.cpp')
-rw-r--r--Tests/LibWasm/test-wasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibWasm/test-wasm.cpp b/Tests/LibWasm/test-wasm.cpp
index a35551eaa0..372cf53281 100644
--- a/Tests/LibWasm/test-wasm.cpp
+++ b/Tests/LibWasm/test-wasm.cpp
@@ -38,7 +38,7 @@ class WebAssemblyModule final : public JS::Object {
public:
explicit WebAssemblyModule(JS::Object& prototype)
- : JS::Object(prototype)
+ : JS::Object(ConstructWithPrototypeTag::Tag, prototype)
{
m_machine.enable_instruction_count_limit();
}