Description[wasm] Add a Managed<T> wrapper class for allocating C++ classes that are deleted when the wrapper is garbage collected.
Use sparingly!
This doesn't add any really new functionality, other than making it more
convenient to do this.
This will primarily be used to wrap a WasmModule to be referenced from a
JSObject that represents an instance. There is one WasmModule C++ object
per parsed WasmModule, so this should not be more than a handful or a few
dozen in well-behaved programs.
R=rossberg@chromium.org,mlippautz@chromium.org
BUG=
Committed: https://crrev.com/6d266f0088757d24479197a8c30397976486c292
Cr-Commit-Position: refs/heads/master@{#40346}
Patch Set 1 #Patch Set 2 : [wasm] Add a Managed<T> wrapper class for allocating C++ classes that are garbage collected. #Patch Set 3 : [wasm] Add a Managed<T> wrapper class for allocating C++ classes that are garbage collected. #
Dependent Patchsets: Messages
Total messages: 21 (15 generated)
|