| Summary: | [WebAssembly][modules] Importing globals into Wasm from JS doesn't work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Asumu Takikawa <asumu> | ||||||
| Component: | WebAssembly | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ews-watchlist, fpizlo, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Asumu Takikawa
2021-10-01 17:22:51 PDT
Created attachment 441794 [details]
Patch
Comment on attachment 441794 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441794&action=review r=me > Source/JavaScriptCore/runtime/AbstractModuleRecord.cpp:840 > return jsModuleRecord->evaluate(globalObject, sentValue, resumeMode); Replace it with RELEASE_AND_RETURN(scope, jsModuleRecord->evaluate(globalObject, sentValue, resumeMode)); since scope is defined now. > Source/JavaScriptCore/runtime/AbstractModuleRecord.cpp:848 > return wasmModuleRecord->evaluate(globalObject); Replace it with RELEASE_AND_RETURN(scope, wasmModuleRecord->evaluate(globalObject)); Created attachment 442089 [details]
Patch
Committed r284702 (243419@main): <https://commits.webkit.org/243419@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442089 [details]. |