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

Issue 1895123002: Prevent un-parsed LiteralFunction reaching the compiler. (Closed)

Created:
4 years, 8 months ago by vogelheim
Modified:
4 years, 8 months ago
Reviewers:
rossberg
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

Prevent un-parsed LiteralFunction reaching the compiler. BUG=chromium:604044 LOG=Y Committed: https://crrev.com/ed9b7d92e7ddb80e51dd512614261bc3f70e1747 Cr-Commit-Position: refs/heads/master@{#35650}

Patch Set 1 #

Patch Set 2 : Add regression test. #

Patch Set 3 : New theory: Bug was that recursive ParseFunctionLiteral got the wrong parenthesized_function_ #

Patch Set 4 : Prettify comment. #

Patch Set 5 : Use FunctionState #

Patch Set 6 : Fix test. (eager_compile_hint used function_state_ of parent function.) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -20 lines) Patch
M src/parsing/parser.cc View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 4 7 chunks +26 lines, -10 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
A + test/mjsunit/regress-604044.js View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
vogelheim
New theory: The bug actually wasn't in (lazy-)parsing the inner function, but in lazy-parsing the ...
4 years, 8 months ago (2016-04-19 14:43:31 UTC) #4
rossberg
On 2016/04/19 14:43:31, vogelheim wrote: > New theory: The bug actually wasn't in (lazy-)parsing the ...
4 years, 8 months ago (2016-04-19 15:57:37 UTC) #5
vogelheim
On 2016/04/19 15:57:37, rossberg wrote: > On 2016/04/19 14:43:31, vogelheim wrote: > > New theory: ...
4 years, 8 months ago (2016-04-19 17:15:26 UTC) #6
rossberg
lgtm
4 years, 8 months ago (2016-04-19 17:24:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1895123002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1895123002/100001
4 years, 8 months ago (2016-04-20 09:31:26 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-20 09:33:09 UTC) #12
nodir1
4 years, 8 months ago (2016-04-22 18:43:54 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ed9b7d92e7ddb80e51dd512614261bc3f70e1747
Cr-Commit-Position: refs/heads/master@{#35650}

Powered by Google App Engine
This is Rietveld 408576698