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

Issue 2533303006: Introduce a separate FunctionLiteral ID for Eval (Closed)

Created:
4 years ago by jochen (gone - plz use gerrit)
Modified:
4 years ago
Reviewers:
marja
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce a separate FunctionLiteral ID for Eval Top level SharedFunctionInfos will end up in a scripts SFI list, but eval'd SFIs shouldn't. Separate IDs will allow for adding a corresponding DCHECK. BUG=v8:5589 R=marja@chromium.org Committed: https://crrev.com/c6d421ff9aee7f3cab9e48faac88f6b08d2f1cf5 Cr-Commit-Position: refs/heads/master@{#41421}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M src/ast/ast.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/parsing/parser.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
jochen (gone - plz use gerrit)
4 years ago (2016-12-01 10:37:19 UTC) #1
marja
lgtm
4 years ago (2016-12-01 11:59:21 UTC) #6
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/2533303006/1
4 years ago (2016-12-01 12:01:20 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-01 12:02:55 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c6d421ff9aee7f3cab9e48faac88f6b08d2f1cf5 Cr-Commit-Position: refs/heads/master@{#41421}
4 years ago (2016-12-01 12:03:29 UTC) #12
jochen (gone - plz use gerrit)
turns out that this breaks, as eval() functions have their own Script object, and the ...
4 years ago (2016-12-02 10:01:16 UTC) #13
jochen (gone - plz use gerrit)
4 years ago (2016-12-02 10:01:53 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2544003003/ by jochen@chromium.org.

The reason for reverting is: My assumption that eval and top-level code should
be handled differently was wrong.

Powered by Google App Engine
This is Rietveld 408576698