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

Issue 661433002: Implement the new semantics for 'super(...)' (Closed)

Created:
6 years, 2 months ago by Dmitry Lomov (no reviews)
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Implement the new semantics for 'super(...)' Per the latest ES6 draft, super(...) translates into a call to function's prototype. R=arv@chromium.org, ishell@chromium.org, verwaest@chromium.org BUG=v8:3330 LOG=N Committed: https://code.google.com/p/v8/source/detail?r=24683

Patch Set 1 #

Patch Set 2 : Platform ports finished #

Total comments: 7

Patch Set 3 : CR feedback #

Total comments: 2

Patch Set 4 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -15 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M src/ast.h View 2 chunks +2 lines, -10 lines 0 comments Download
M src/ast.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/super.js View 1 2 2 chunks +43 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dmitry Lomov (no reviews)
FYI, before platform ports. Take a look if you have time.
6 years, 2 months ago (2014-10-15 10:19:45 UTC) #1
Dmitry Lomov (no reviews)
PTAL, platform ports finished.
6 years, 2 months ago (2014-10-15 11:59:10 UTC) #2
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/661433002/diff/20001/src/ia32/full-codegen-ia32.cc File src/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/661433002/diff/20001/src/ia32/full-codegen-ia32.cc#newcode1 src/ia32/full-codegen-ia32.cc:1: / Copyright 2012 the V8 project authors. All ...
6 years, 2 months ago (2014-10-15 14:47:18 UTC) #3
arv (Not doing code reviews)
https://codereview.chromium.org/661433002/diff/20001/test/mjsunit/harmony/super.js File test/mjsunit/harmony/super.js (right): https://codereview.chromium.org/661433002/diff/20001/test/mjsunit/harmony/super.js#newcode1272 test/mjsunit/harmony/super.js:1272: }()); maybe add a test that mutates __proto__ and ...
6 years, 2 months ago (2014-10-15 14:49:54 UTC) #4
Dmitry Lomov (no reviews)
Erik, thanks for review! CL updated. Toon/Igor, could you take a look at the codegen ...
6 years, 2 months ago (2014-10-15 17:22:57 UTC) #5
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/661433002/diff/40001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/661433002/diff/40001/src/compiler/ast-graph-builder.cc#newcode1266 src/compiler/ast-graph-builder.cc:1266: UNREACHABLE(); UNIMPLEMENTED(); (UNREACHABLE is expanded ...
6 years, 2 months ago (2014-10-17 08:40:34 UTC) #6
Dmitry Lomov (no reviews)
Comments addressed, landing https://codereview.chromium.org/661433002/diff/40001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/661433002/diff/40001/src/compiler/ast-graph-builder.cc#newcode1266 src/compiler/ast-graph-builder.cc:1266: UNREACHABLE(); On 2014/10/17 08:40:34, Igor Sheludko ...
6 years, 2 months ago (2014-10-17 09:15:47 UTC) #7
Dmitry Lomov (no reviews)
6 years, 2 months ago (2014-10-17 09:16:16 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 24683 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698