Skip to content

Commit

Permalink
[UTest][V8] Fix missing read_result_set reference in global environ…
Browse files Browse the repository at this point in the history
…ment.
  • Loading branch information
lucagretscher committed May 22, 2024
1 parent 26b5602 commit 18a3e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittest/backend/WasmTestV8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ struct invoke_v8<PrimitiveExpr<ReturnType, ReturnL>(PrimitiveExpr<ParamTypes, Pa
/* Create context. */
v8::Local<v8::ObjectTemplate> 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<v8::Context> context = v8::Context::New(isolate_, /* extensions= */ nullptr, global);
v8::Context::Scope context_scope(context);

Expand Down

0 comments on commit 18a3e18

Please sign in to comment.