Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 7a54c5823685a53292010d12acbdc431fbec5ab9..0b9bc9762edec2834637c738356d4c160f5f6e71 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -414,6 +414,19 @@ MaybeHandle<JSObject> CreateModuleObjectFromBytes(Isolate* isolate, |
// instance |
// was collected, or the instance object owning the Code object |
Object* GetOwningWasmInstance(Object* undefined, Code* code); |
+ |
+MaybeHandle<JSArrayBuffer> GetInstanceMemory(Isolate* isolate, |
+ Handle<JSObject> instance); |
+void SetInstanceMemory(Handle<JSObject> instance, JSArrayBuffer* buffer); |
+ |
+namespace testing { |
+ |
+void ValidateInstancesChain(Isolate* isolate, Handle<JSObject> module_obj, |
+ int instance_count); |
+void ValidateModuleState(Isolate* isolate, Handle<JSObject> module_obj); |
+void ValidateOrphanedInstance(Isolate* isolate, Handle<JSObject> instance); |
+ |
+} // namespace testing |
} // namespace wasm |
} // namespace internal |
} // namespace v8 |