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

Issue 867153003: new classes: special construct stub for derived classs and TDZ for `this`. (Closed)

Created:
5 years, 11 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 10 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

new classes: special construct stub for derived classs and TDZ for `this`. R=arv@chromium.org,rossberg@chromium.org BUG=v8:3834 LOG=N Committed: https://crrev.com/6f97a4948f1495a9b9d60b7f495d0e0efeaa1006 Cr-Commit-Position: refs/heads/master@{#26409}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Platform ports #

Patch Set 3 : CR feedback #

Total comments: 8

Patch Set 4 : CR feedback #

Total comments: 6

Patch Set 5 : Rebase + review feedback #

Total comments: 2

Patch Set 6 : CHECK_OK fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -55 lines) Patch
M src/arm/builtins-arm.cc View 1 1 chunk +64 lines, -0 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 3 chunks +16 lines, -2 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 1 chunk +74 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 4 3 chunks +15 lines, -2 lines 0 comments Download
M src/ast.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/builtins.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M src/globals.h View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 chunk +51 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 3 chunks +14 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/parser.h View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download
M src/parser.cc View 1 2 3 4 5 chunks +17 lines, -10 lines 0 comments Download
M src/preparser.h View 1 2 3 4 6 chunks +14 lines, -9 lines 0 comments Download
M src/preparser.cc View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M src/runtime/runtime-classes.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/scopes.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/scopes.cc View 1 2 3 4 2 chunks +7 lines, -8 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 1 chunk +53 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 3 chunks +16 lines, -2 lines 0 comments Download
M test/mjsunit/harmony/classes-experimental.js View 1 2 3 1 chunk +29 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (2 generated)
Dmitry Lomov (no reviews)
PTAL. No platform ports yet, but welcome early opinion
5 years, 11 months ago (2015-01-23 11:53:28 UTC) #1
Dmitry Lomov (no reviews)
Platform ports done, ready for review.
5 years, 11 months ago (2015-01-23 15:37:29 UTC) #2
arv (Not doing code reviews)
https://codereview.chromium.org/867153003/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/867153003/diff/1/src/objects.h#newcode7192 src/objects.h:7192: kIsSublclassConstructor, typo https://codereview.chromium.org/867153003/diff/1/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/867153003/diff/1/src/parser.cc#newcode274 src/parser.cc:274: (FLAG_experimental_classes ...
5 years, 11 months ago (2015-01-23 15:40:46 UTC) #3
Dmitry Lomov (no reviews)
Comments addressed. https://codereview.chromium.org/867153003/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/867153003/diff/1/src/objects.h#newcode7192 src/objects.h:7192: kIsSublclassConstructor, On 2015/01/23 15:40:46, arv wrote: > ...
5 years, 11 months ago (2015-01-23 21:08:28 UTC) #4
arv (Not doing code reviews)
https://codereview.chromium.org/867153003/diff/1/src/runtime/runtime-classes.cc File src/runtime/runtime-classes.cc (right): https://codereview.chromium.org/867153003/diff/1/src/runtime/runtime-classes.cc#newcode112 src/runtime/runtime-classes.cc:112: Handle<Code> stub(isolate->builtins()->JSConstructStubForDerived()); On 2015/01/23 21:08:28, Dmitry Lomov (chromium) wrote: ...
5 years, 11 months ago (2015-01-23 21:37:00 UTC) #5
Dmitry Lomov (no reviews)
I am not sure if you object to something in the patch or not. If ...
5 years, 11 months ago (2015-01-24 02:45:14 UTC) #6
arv (Not doing code reviews)
LGTM with nits It would also be good if someone more experience with the codegen ...
5 years, 11 months ago (2015-01-24 16:19:09 UTC) #7
Dmitry Lomov (no reviews)
Comments addressed https://codereview.chromium.org/867153003/diff/40001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/867153003/diff/40001/src/preparser.h#newcode515 src/preparser.h:515: bool has_extends, On 2015/01/24 16:19:09, arv wrote: ...
5 years, 11 months ago (2015-01-26 23:34:04 UTC) #9
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/867153003/diff/80001/test/mjsunit/harmony/classes-experimental.js File test/mjsunit/harmony/classes-experimental.js (right): https://codereview.chromium.org/867153003/diff/80001/test/mjsunit/harmony/classes-experimental.js#newcode48 test/mjsunit/harmony/classes-experimental.js:48: var exn = null; any reason why you ...
5 years, 11 months ago (2015-01-27 21:08:28 UTC) #10
rossberg
https://codereview.chromium.org/867153003/diff/80001/src/ia32/full-codegen-ia32.cc File src/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/867153003/diff/80001/src/ia32/full-codegen-ia32.cc#newcode1463 src/ia32/full-codegen-ia32.cc:1463: } else if (var->is_this()) { Does this now affect ...
5 years, 10 months ago (2015-02-02 16:32:38 UTC) #11
Dmitry Lomov (no reviews)
PTAL https://codereview.chromium.org/867153003/diff/80001/src/ia32/full-codegen-ia32.cc File src/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/867153003/diff/80001/src/ia32/full-codegen-ia32.cc#newcode1463 src/ia32/full-codegen-ia32.cc:1463: } else if (var->is_this()) { On 2015/02/02 16:32:37, ...
5 years, 10 months ago (2015-02-03 15:47:04 UTC) #12
rossberg
https://codereview.chromium.org/867153003/diff/100001/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/867153003/diff/100001/src/preparser.cc#newcode1008 src/preparser.cc:1008: if (has_extends) ParseLeftHandSideExpression(CHECK_OK); Actually, I just realised that you ...
5 years, 10 months ago (2015-02-03 15:52:42 UTC) #13
Dmitry Lomov (no reviews)
PTAL. please click CQ as well if it looks good. https://codereview.chromium.org/867153003/diff/100001/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/867153003/diff/100001/src/preparser.cc#newcode1008 ...
5 years, 10 months ago (2015-02-03 15:59:14 UTC) #14
rossberg
lgtm
5 years, 10 months ago (2015-02-03 16:03:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/867153003/120001
5 years, 10 months ago (2015-02-03 16:03:57 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 10 months ago (2015-02-03 17:42:54 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 17:43:15 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6f97a4948f1495a9b9d60b7f495d0e0efeaa1006
Cr-Commit-Position: refs/heads/master@{#26409}

Powered by Google App Engine
This is Rietveld 408576698