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

Issue 1617723003: [wasm] Add loop assignment analysis. (Closed)

Created:
4 years, 11 months ago by titzer
Modified:
4 years, 11 months ago
Reviewers:
bradnelson, ahaas
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] Add loop assignment analysis. This CL implements loop assignment analysis, a pass over a loop's body to record local variables that are assigned. This pre-pass is similar to that done on the JavaScript AST for the same reason: avoid introducing too many phis at loop headers when building a graph. R=bradnelson@chromium.org,ahaas@chromium.org BUG= Committed: https://crrev.com/0ab1e56203e54dad6df332beea29e5621c13d254 Cr-Commit-Position: refs/heads/master@{#33486}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -89 lines) Patch
M src/wasm/ast-decoder.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 9 chunks +169 lines, -89 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/wasm/loop-assignment-analysis-unittest.cc View 1 2 3 4 1 chunk +211 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
titzer
4 years, 11 months ago (2016-01-21 19:54:41 UTC) #1
bradnelson
lgtm with some questions https://codereview.chromium.org/1617723003/diff/20001/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1617723003/diff/20001/src/wasm/ast-decoder.cc#newcode105 src/wasm/ast-decoder.cc:105: WasmDecoder() : Decoder(nullptr, nullptr), function_env_(nullptr) ...
4 years, 11 months ago (2016-01-22 06:28:33 UTC) #2
ahaas
https://codereview.chromium.org/1617723003/diff/20001/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1617723003/diff/20001/src/wasm/ast-decoder.cc#newcode1674 src/wasm/ast-decoder.cc:1674: if (index < assigned->length()) assigned->Add(index); How could index >= ...
4 years, 11 months ago (2016-01-22 06:53:26 UTC) #3
titzer
https://codereview.chromium.org/1617723003/diff/20001/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1617723003/diff/20001/src/wasm/ast-decoder.cc#newcode1674 src/wasm/ast-decoder.cc:1674: if (index < assigned->length()) assigned->Add(index); On 2016/01/22 06:53:26, ahaas ...
4 years, 11 months ago (2016-01-23 16:20:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1617723003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1617723003/80001
4 years, 11 months ago (2016-01-25 10:25:40 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-25 10:27:32 UTC) #8
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 10:28:14 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0ab1e56203e54dad6df332beea29e5621c13d254
Cr-Commit-Position: refs/heads/master@{#33486}

Powered by Google App Engine
This is Rietveld 408576698