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

Issue 2797653002: [wasm] Module Builder v8 API: bytes passed in are owned by caller. (Closed)

Created:
3 years, 8 months ago by Mircea Trofin
Modified:
3 years, 8 months ago
Reviewers:
bradnelson, ahaas
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Module Builder v8 API: bytes passed in are owned by caller. This reflects both the contract in blink, as well as what we plan to do in streamed compilation, where we'll want to lay out bytes received such that each section and each function body is contiguous, but they may all be separate - which entails a copy. BUG=chromium:697028 Review-Url: https://codereview.chromium.org/2797653002 Cr-Commit-Position: refs/heads/master@{#44387} Committed: https://chromium.googlesource.com/v8/v8/+/0bd9f1b8e60466fcfbbb01b5d048c72e3d01d361

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M include/v8.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/api.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (24 generated)
Mircea Trofin
This came out as part of feedback for the blink side (https://codereview.chromium.org/2797653002/). It also aligns ...
3 years, 8 months ago (2017-04-04 07:04:25 UTC) #7
ahaas
LGTM once the comment is addressed. https://codereview.chromium.org/2797653002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2797653002/diff/20001/include/v8.h#newcode4057 include/v8.h:4057: void OnBytesReceived(const std::unique_ptr<const ...
3 years, 8 months ago (2017-04-04 07:51:08 UTC) #12
Mircea Trofin
https://codereview.chromium.org/2797653002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2797653002/diff/20001/include/v8.h#newcode4057 include/v8.h:4057: void OnBytesReceived(const std::unique_ptr<const uint8_t[]>&, size_t size); On 2017/04/04 07:51:08, ...
3 years, 8 months ago (2017-04-04 16:02:11 UTC) #19
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/2797653002/60001
3 years, 8 months ago (2017-04-04 16:21:14 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 16:23:01 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/0bd9f1b8e60466fcfbbb01b5d048c72e3d0...

Powered by Google App Engine
This is Rietveld 408576698