From 18a3e182c6ea4362c53abc612fdb760a14486f93 Mon Sep 17 00:00:00 2001 From: Luca Gretscher Date: Wed, 22 May 2024 09:28:58 +0200 Subject: [PATCH] [UTest][V8] Fix missing `read_result_set` reference in global environment. --- unittest/backend/WasmTestV8.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest/backend/WasmTestV8.cpp b/unittest/backend/WasmTestV8.cpp index 5ccaab21..5e440e5b 100644 --- a/unittest/backend/WasmTestV8.cpp +++ b/unittest/backend/WasmTestV8.cpp @@ -133,6 +133,7 @@ struct invoke_v8(PrimitiveExpr global = v8::ObjectTemplate::New(isolate_); global->Set(isolate_, "set_wasm_instance_raw_memory", v8::FunctionTemplate::New(isolate_, set_wasm_instance_raw_memory)); + global->Set(isolate_, "read_result_set", v8::FunctionTemplate::New(isolate_, read_result_set)); v8::Local context = v8::Context::New(isolate_, /* extensions= */ nullptr, global); v8::Context::Scope context_scope(context);