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

Issue 2349053002: [wasm] calculate wasm mem size base explicitly (Closed)

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

Description

[wasm] calculate wasm mem size base explicitly This CL avoids relying on signed/unsigned implicit conversions when re-computing wasm mem sizes. BUG= Committed: https://crrev.com/a1784e87cd73ce6c19570c3d3c0e282a9fd1b739 Cr-Commit-Position: refs/heads/master@{#39509}

Patch Set 1 #

Total comments: 1

Patch Set 2 : old_size #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M src/assembler.cc View 1 1 chunk +6 lines, -5 lines 4 comments Download

Messages

Total messages: 27 (13 generated)
Mircea Trofin
4 years, 3 months ago (2016-09-16 23:35:55 UTC) #5
bradnelson
https://codereview.chromium.org/2349053002/diff/1/src/assembler.cc File src/assembler.cc (left): https://codereview.chromium.org/2349053002/diff/1/src/assembler.cc#oldcode361 src/assembler.cc:361: DCHECK(old_size == 0 || wasm_memory_size_reference() <= old_size); What happened ...
4 years, 3 months ago (2016-09-17 00:03:11 UTC) #8
Mircea Trofin
On 2016/09/17 00:03:11, bradnelson wrote: > https://codereview.chromium.org/2349053002/diff/1/src/assembler.cc > File src/assembler.cc (left): > > https://codereview.chromium.org/2349053002/diff/1/src/assembler.cc#oldcode361 > ...
4 years, 3 months ago (2016-09-17 00:06:15 UTC) #9
Mircea Trofin
4 years, 3 months ago (2016-09-17 00:06:25 UTC) #10
gdeepti
I'd prefer that we handle the old_size == 0 for the same reasons as I ...
4 years, 3 months ago (2016-09-17 00:15:14 UTC) #11
Mircea Trofin
4 years, 3 months ago (2016-09-17 00:23:21 UTC) #12
gdeepti
https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc#newcode364 src/assembler.cc:364: DCHECK_GE(new_size, offset); I'm confused by this check, could you ...
4 years, 3 months ago (2016-09-17 01:25:58 UTC) #17
Mircea Trofin
https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc#newcode364 src/assembler.cc:364: DCHECK_GE(new_size, offset); On 2016/09/17 01:25:58, gdeepti wrote: > I'm ...
4 years, 3 months ago (2016-09-17 01:40:03 UTC) #18
gdeepti
https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc#newcode364 src/assembler.cc:364: DCHECK_GE(new_size, offset); On 2016/09/17 01:40:03, Mircea Trofin wrote: > ...
4 years, 3 months ago (2016-09-17 02:24:20 UTC) #19
titzer
On 2016/09/17 02:24:20, gdeepti wrote: > https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc > File src/assembler.cc (right): > > https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc#newcode364 > ...
4 years, 3 months ago (2016-09-19 11:56:04 UTC) #20
Mircea Trofin
https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/2349053002/diff/20001/src/assembler.cc#newcode364 src/assembler.cc:364: DCHECK_GE(new_size, offset); On 2016/09/17 02:24:20, gdeepti wrote: > On ...
4 years, 3 months ago (2016-09-19 18:15:49 UTC) #22
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/2349053002/20001
4 years, 3 months ago (2016-09-19 18:15:50 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-19 18:43:48 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:01:36 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a1784e87cd73ce6c19570c3d3c0e282a9fd1b739
Cr-Commit-Position: refs/heads/master@{#39509}

Powered by Google App Engine
This is Rietveld 408576698