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

Issue 2005933003: [wasm] globals size is not a per-instance property. (Closed)

Created:
4 years, 7 months ago by Mircea Trofin
Modified:
4 years, 7 months ago
Reviewers:
titzer, bradnelson
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] globals size is not a per-instance property. Moved globals offsets calculation to the wasm module decoder, since this is a property of the module, not of each instance. Qualified as "const" references to WasmModule outside of the decoder and some test situations. BUG= Committed: https://crrev.com/6b8d17e325ab611bbf3814a86610ad7af8d94512 Cr-Commit-Position: refs/heads/master@{#36484}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -79 lines) Patch
M src/compiler/wasm-compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/module-decoder.cc View 1 2 chunks +19 lines, -1 line 0 comments Download
M src/wasm/wasm-function-name-table.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/wasm/wasm-function-name-table.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/wasm/wasm-module.h View 1 7 chunks +10 lines, -14 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 12 chunks +24 lines, -37 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 7 chunks +11 lines, -10 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 2 3 10 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Mircea Trofin
4 years, 7 months ago (2016-05-23 22:03:33 UTC) #4
titzer
lgtm as long as those dang const qualifiers don't spread everywhere https://codereview.chromium.org/2005933003/diff/60001/test/cctest/wasm/wasm-run-utils.h File test/cctest/wasm/wasm-run-utils.h (right): ...
4 years, 7 months ago (2016-05-24 08:32:01 UTC) #5
Mircea Trofin
https://codereview.chromium.org/2005933003/diff/60001/test/cctest/wasm/wasm-run-utils.h File test/cctest/wasm/wasm-run-utils.h (right): https://codereview.chromium.org/2005933003/diff/60001/test/cctest/wasm/wasm-run-utils.h#newcode528 test/cctest/wasm/wasm-run-utils.h:528: return &testing_module_->mutable_module()->functions[function_index_]; On 2016/05/24 08:32:01, titzer wrote: > Why ...
4 years, 7 months ago (2016-05-24 14:57:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005933003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005933003/80001
4 years, 7 months ago (2016-05-24 14:57:10 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/2156)
4 years, 7 months ago (2016-05-24 14:59:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005933003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005933003/100001
4 years, 7 months ago (2016-05-24 15:19:36 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/2143) v8_linux64_rel_ng on tryserver.v8 (JOB_FAILED, ...
4 years, 7 months ago (2016-05-24 15:23:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005933003/70009 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005933003/70009
4 years, 7 months ago (2016-05-24 16:01:07 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:70009)
4 years, 7 months ago (2016-05-24 16:32:11 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 16:34:01 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6b8d17e325ab611bbf3814a86610ad7af8d94512
Cr-Commit-Position: refs/heads/master@{#36484}

Powered by Google App Engine
This is Rietveld 408576698