Description[wasm] Refactor interface to WasmCompiledModule
The ptr_to_* methods do (often unnecessary) type checks, and can
return nullptr. This is problematic since the handlified getter
uses them, and assumes the result to be non-null. So change
them to only to a DCHECK and never return nullptr, and introduce
maybe_ptr_to_* with the old semantics.
R=titzer@chromium.org, ahaas@chromium.org
Committed: https://crrev.com/8b306c633676476c295ea49642b0fe1f9b271d8f
Cr-Commit-Position: refs/heads/master@{#41079}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 14 (9 generated)
|