-
Hisham Muhammad authored
This adds a handle scope to Module::validate in C API so that the wasm_module_validate can be usable from C. Without the added handle scope, attempting to call wasm_module_validate function from C code fails with: # # Fatal error in v8::HandleScope::CreateHandle() # Cannot create a handle without a HandleScope # Bug: v8:12941 Change-Id: I2b4d5dccdaed9501f31447158ebf8e7906a1f8f0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3692020Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#81048}
0f748aac