Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1093)

Issue 2509053003: [wasm] Refactor interface to WasmCompiledModule (Closed)

Created:
4 years, 1 month ago by Clemens Hammacher
Modified:
4 years, 1 month ago
Reviewers:
titzer, ahaas
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M src/wasm/wasm-module.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/wasm/wasm-objects.cc View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (9 generated)
Clemens Hammacher
4 years, 1 month ago (2016-11-17 14:27:13 UTC) #8
titzer
lgtm
4 years, 1 month ago (2016-11-17 14:38:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2509053003/1
4 years, 1 month ago (2016-11-17 15:07:38 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-17 15:10:01 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:38:26 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8b306c633676476c295ea49642b0fe1f9b271d8f
Cr-Commit-Position: refs/heads/master@{#41079}

Powered by Google App Engine
This is Rietveld 408576698