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

Issue 2679913004: [turbofan] Remove for-in support from the AstGraphBuilder. (Closed)

Created:
3 years, 10 months ago by Benedikt Meurer
Modified:
3 years, 10 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Remove for-in support from the AstGraphBuilder. The AstGraphBuilder is used for asm.js only and for-in is not allowed in valid asm.js, so we can just disable optimization for asm.js functions that contain for-in loops. This way we only need to support for-in via the BytecodeGraphBuilder in TurboFan now, which will make optimizations way easier. R=yangguo@chromium.org Review-Url: https://codereview.chromium.org/2679913004 Cr-Commit-Position: refs/heads/master@{#43024} Committed: https://chromium.googlesource.com/v8/v8/+/d9c091dd60eb155c29702d69f8d90a9d5844009a

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -206 lines) Patch
M src/compiler/ast-graph-builder.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 2 chunks +2 lines, -137 lines 2 comments Download
M test/cctest/compiler/test-run-jsbranches.cc View 1 chunk +0 lines, -64 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Benedikt Meurer
3 years, 10 months ago (2017-02-08 06:14:10 UTC) #1
Yang
lgtm with comment https://codereview.chromium.org/2679913004/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/2679913004/diff/1/src/compiler/ast-graph-builder.cc#newcode1177 src/compiler/ast-graph-builder.cc:1177: return SetStackOverflow(); In other places we ...
3 years, 10 months ago (2017-02-08 06:24:58 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/2679913004/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/2679913004/diff/1/src/compiler/ast-graph-builder.cc#newcode1177 src/compiler/ast-graph-builder.cc:1177: return SetStackOverflow(); We still need to handle for..in inside ...
3 years, 10 months ago (2017-02-08 06:26:08 UTC) #5
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/2679913004/1
3 years, 10 months ago (2017-02-08 06:26:25 UTC) #8
Yang
On 2017/02/08 06:26:08, Benedikt Meurer wrote: > https://codereview.chromium.org/2679913004/diff/1/src/compiler/ast-graph-builder.cc > File src/compiler/ast-graph-builder.cc (right): > > https://codereview.chromium.org/2679913004/diff/1/src/compiler/ast-graph-builder.cc#newcode1177 ...
3 years, 10 months ago (2017-02-08 06:38:27 UTC) #9
Benedikt Meurer
On 2017/02/08 06:38:27, Yang wrote: > On 2017/02/08 06:26:08, Benedikt Meurer wrote: > > > ...
3 years, 10 months ago (2017-02-08 06:38:52 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 06:41:48 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/d9c091dd60eb155c29702d69f8d90a9d584...

Powered by Google App Engine
This is Rietveld 408576698