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

Issue 1164073003: [es6] super.prop, eval and lazy functions (Closed)

Created:
5 years, 6 months ago by arv (Not doing code reviews)
Modified:
5 years, 6 months ago
Reviewers:
wingo, adamk
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] super.prop, eval and lazy functions We used to only store the uses_super_property in the preparse data logger. Let the logger use NeedsHomeObject instead. BUG=v8:3768 LOG=N R=wingo, adamk Committed: https://crrev.com/8c065681865599b29d52c01c6c644fa920c0b551 Cr-Commit-Position: refs/heads/master@{#28806}

Patch Set 1 #

Patch Set 2 : Increment the preparse data version #

Total comments: 5

Patch Set 3 : Remove a DCHECK #

Patch Set 4 : Make the logger use 2 fields #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -48 lines) Patch
M src/ast.h View 2 chunks +2 lines, -6 lines 0 comments Download
M src/ast.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/objects.h View 2 chunks +4 lines, -3 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/parser.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/parser.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M src/preparse-data.h View 1 2 3 5 chunks +18 lines, -11 lines 0 comments Download
M src/preparse-data-format.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/preparser.h View 1 chunk +6 lines, -2 lines 0 comments Download
M src/preparser.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/scopes.h View 2 chunks +6 lines, -4 lines 0 comments Download
M test/cctest/test-parsing.cc View 3 chunks +7 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/classes-lazy-parsing.js View 1 chunk +13 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/object-literals-super.js View 1 chunk +16 lines, -6 lines 0 comments Download
M test/mjsunit/harmony/super.js View 1 chunk +16 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
arv (Not doing code reviews)
PTAL
5 years, 6 months ago (2015-06-04 19:17:58 UTC) #1
adamk
lgtm % (nit + naming) https://codereview.chromium.org/1164073003/diff/20001/src/ast.cc File src/ast.cc (right): https://codereview.chromium.org/1164073003/diff/20001/src/ast.cc#newcode239 src/ast.cc:239: DCHECK_NOT_NULL(expr->AsFunctionLiteral()); This DCHECK seems ...
5 years, 6 months ago (2015-06-04 20:02:33 UTC) #2
arv (Not doing code reviews)
https://codereview.chromium.org/1164073003/diff/20001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1164073003/diff/20001/src/parser.cc#newcode4106 src/parser.cc:4106: if (entry.needs_home_object()) scope_->RecordSuperPropertyUsage(); On 2015/06/04 20:02:33, adamk wrote: > ...
5 years, 6 months ago (2015-06-04 20:15:58 UTC) #3
arv (Not doing code reviews)
https://codereview.chromium.org/1164073003/diff/20001/src/ast.cc File src/ast.cc (right): https://codereview.chromium.org/1164073003/diff/20001/src/ast.cc#newcode239 src/ast.cc:239: DCHECK_NOT_NULL(expr->AsFunctionLiteral()); On 2015/06/04 20:02:33, adamk wrote: > This DCHECK ...
5 years, 6 months ago (2015-06-04 20:17:45 UTC) #4
arv (Not doing code reviews)
Remove a DCHECK
5 years, 6 months ago (2015-06-04 20:17:45 UTC) #5
arv (Not doing code reviews)
Make the logger use 2 fields
5 years, 6 months ago (2015-06-04 20:46:51 UTC) #6
arv (Not doing code reviews)
https://codereview.chromium.org/1164073003/diff/20001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1164073003/diff/20001/src/parser.cc#newcode4106 src/parser.cc:4106: if (entry.needs_home_object()) scope_->RecordSuperPropertyUsage(); On 2015/06/04 20:15:57, arv wrote: > ...
5 years, 6 months ago (2015-06-04 20:48:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164073003/60001
5 years, 6 months ago (2015-06-04 20:50:05 UTC) #10
adamk
ah, I like it, still lgtm
5 years, 6 months ago (2015-06-04 20:50:30 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-04 21:16:26 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 21:16:46 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8c065681865599b29d52c01c6c644fa920c0b551
Cr-Commit-Position: refs/heads/master@{#28806}

Powered by Google App Engine
This is Rietveld 408576698