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

Issue 1580463003: Stop treating scopes containing template strings tagged with 'eval' specially (Closed)

Created:
4 years, 11 months ago by adamk
Modified:
4 years, 11 months ago
Reviewers:
caitp (gmail), 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

Stop treating scopes containing template strings tagged with 'eval' specially There's no need to mark these as possibly-direct-eval, since all such an eval-tagged string will ever get passed is the array of string parts, which will be immediately returns (since it's not a string). It will never do a lookup in the current scope, nor (in sloppy mode) introduce new declarations. This patch is not intended to change behavior, but I've added tests that demonstrate the stuff explained in the preceding paragraph. Committed: https://crrev.com/f5828cb4db5257c221dc1e6fe508972942828332 Cr-Commit-Position: refs/heads/master@{#33245}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M src/parsing/parser.cc View 1 chunk +0 lines, -1 line 0 comments Download
M test/mjsunit/es6/templates.js View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
adamk
4 years, 11 months ago (2016-01-11 23:12:48 UTC) #2
rossberg
lgtm
4 years, 11 months ago (2016-01-12 10:49:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580463003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580463003/1
4 years, 11 months ago (2016-01-12 16:32:44 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-12 18:08:57 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 18:09:21 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f5828cb4db5257c221dc1e6fe508972942828332
Cr-Commit-Position: refs/heads/master@{#33245}

Powered by Google App Engine
This is Rietveld 408576698