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

Issue 2312903003: Don't record that eval calls in inner scopes in script scopes (Closed)

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

Description

Don't record that eval calls in inner scopes in script scopes When we parse the top-level lazily, we don't get to see eval calls in inner scopes anyway. By never recording them, we make sure that the script scope ends up looking the same, no matter how we parsed it. BUG=v8:5215 R=marja@chromium.org,adamk@chromium.org Committed: https://crrev.com/b11cf2e5b156525c7fd4124caf2505ef6040740a Cr-Commit-Position: refs/heads/master@{#39232}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/ast/scopes.h View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 19 (6 generated)
jochen (gone - plz use gerrit)
4 years, 3 months ago (2016-09-06 15:46:58 UTC) #1
jochen (gone - plz use gerrit)
(still working on the explanation why this is correct)
4 years, 3 months ago (2016-09-06 16:37:54 UTC) #6
adamk
This seems like it should be fine, since all global variables (both global object properties ...
4 years, 3 months ago (2016-09-06 17:10:00 UTC) #7
jochen (gone - plz use gerrit)
On 2016/09/06 at 17:10:00, adamk wrote: > This seems like it should be fine, since ...
4 years, 3 months ago (2016-09-06 17:47:38 UTC) #8
adamk
On 2016/09/06 17:47:38, jochen wrote: > On 2016/09/06 at 17:10:00, adamk wrote: > > This ...
4 years, 3 months ago (2016-09-06 17:49:14 UTC) #9
jochen (gone - plz use gerrit)
On 2016/09/06 at 17:49:14, adamk wrote: > On 2016/09/06 17:47:38, jochen wrote: > > On ...
4 years, 3 months ago (2016-09-06 17:54:00 UTC) #10
marja
Idk why kMaybeAssigned :( But this makes some sense, since how the global variables are ...
4 years, 3 months ago (2016-09-07 08:26:16 UTC) #11
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/2312903003/1
4 years, 3 months ago (2016-09-07 08:27:59 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-07 08:29:57 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b11cf2e5b156525c7fd4124caf2505ef6040740a Cr-Commit-Position: refs/heads/master@{#39232}
4 years, 3 months ago (2016-09-07 08:30:29 UTC) #16
marja
Why no comment added?
4 years, 3 months ago (2016-09-07 08:41:50 UTC) #17
jochen (gone - plz use gerrit)
On 2016/09/07 at 08:41:50, marja wrote: > Why no comment added? eh, my mistake
4 years, 3 months ago (2016-09-07 08:50:36 UTC) #18
jochen (gone - plz use gerrit)
4 years, 3 months ago (2016-09-07 08:54:07 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2318953003

Powered by Google App Engine
This is Rietveld 408576698