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

Issue 2373443003: Revert of Preparse inner functions (new try) (Closed)

Created:
4 years, 2 months ago by Michael Hablich
Modified:
4 years, 2 months ago
Reviewers:
Toon Verwaest, adamk, marja
CC:
v8-reviews_googlegroups.com, Michael Hablich
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert of Preparse inner functions (new try) (patchset #21 id:420001 of https://codereview.chromium.org/2352593002/ ) Reason for revert: We currently have some stability issues on Canary. Let's reland this after we verified that we "fixed" Canary again. Original issue's description: > Preparse inner functions (new try) > > This is an overly pessimistic approach where PreParser only keeps > track of unresolved variables, but doesn't declare anything. This > will result in context-allocating variables in the outer function > unnecessarily, if the variable names clash with variable names > used by the inner function (even if the variables are not the > same). However, we have been unable to prove that this approach > wouldn't be good enough for the practical purposes. > > Fixes after the previous try ( https://codereview.chromium.org/2322243002/ ): > Keep the context-allocation decision stable when compiling fully eagerly. > > Tests which exercise this functionality: > mjsunit/fixed-context-shapes-when-recompiling.js > > Design document (chromium): > > https://docs.google.com/a/chromium.org/document/d/1rRv5JJZ0JpOZAZN2CSUwZPFJiBAdRnTiSYhazseNHFg/edit?usp=sharing > > BUG= > > Committed: https://crrev.com/7c73cf32c60484cdf37c84f1d61b4640e87068d7 > Cr-Commit-Position: refs/heads/master@{#39719} TBR=verwaest@chromium.org,adamk@chromium.org,marja@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Committed: https://crrev.com/1e6296b2a7cfc307fd9e722e619f42965da4a267 Cr-Commit-Position: refs/heads/master@{#39730}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -240 lines) Patch
M src/ast/scopes.h View 2 chunks +2 lines, -4 lines 0 comments Download
M src/ast/scopes.cc View 6 chunks +10 lines, -40 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/parsing/parser.h View 2 chunks +2 lines, -6 lines 0 comments Download
M src/parsing/parser.cc View 13 chunks +41 lines, -85 lines 0 comments Download
M src/parsing/parser-base.h View 1 chunk +3 lines, -7 lines 0 comments Download
M src/parsing/preparser.h View 6 chunks +13 lines, -15 lines 0 comments Download
M src/parsing/preparser.cc View 4 chunks +16 lines, -46 lines 0 comments Download
M test/cctest/test-parsing.cc View 2 chunks +1 line, -9 lines 0 comments Download
M test/mjsunit/debug-function-scopes.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/debug-scopes.js View 2 chunks +11 lines, -11 lines 0 comments Download
D test/mjsunit/lazy-inner-functions.js View 1 chunk +0 lines, -16 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Michael Hablich
Created Revert of Preparse inner functions (new try)
4 years, 2 months ago (2016-09-26 13:53:39 UTC) #2
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/2373443003/1
4 years, 2 months ago (2016-09-26 13:53:46 UTC) #3
commit-bot: I haz the power
Failed to apply patch for src/parsing/parser.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 2 months ago (2016-09-26 13:53:53 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/2373443003/1
4 years, 2 months ago (2016-09-26 13:57:08 UTC) #7
commit-bot: I haz the power
Failed to apply patch for src/parsing/parser.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 2 months ago (2016-09-26 13:57:41 UTC) #9
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/2373443003/1
4 years, 2 months ago (2016-09-26 14:03:12 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-09-26 14:03:33 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/1e6296b2a7cfc307fd9e722e619f42965da4a267 Cr-Commit-Position: refs/heads/master@{#39730}
4 years, 2 months ago (2016-09-26 14:03:55 UTC) #14
Camillo Bruni
4 years, 2 months ago (2016-09-27 09:47:57 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2377513006/ by cbruni@chromium.org.

The reason for reverting is: Stability thief found, relanding speculative
reverts..

Powered by Google App Engine
This is Rietveld 408576698