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

Issue 622523004: Support for super keyed loads where key is a name. (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

Support for super keyed loads where key is a name. R=arv@chromium.org, ishell@chromium.org BUG=v8:3330 LOG=N Committed: https://code.google.com/p/v8/source/detail?r=24403

Patch Set 1 #

Total comments: 5

Patch Set 2 : Correct patch + platform ports + tests #

Total comments: 9

Patch Set 3 : Test where toString throws #

Total comments: 6

Patch Set 4 : CR feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -60 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 4 chunks +64 lines, -8 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 4 chunks +64 lines, -8 lines 0 comments Download
M src/full-codegen.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 chunks +61 lines, -8 lines 0 comments Download
M src/runtime/runtime.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M src/runtime/runtime.cc View 1 2 3 2 chunks +1 line, -19 lines 0 comments Download
M src/runtime/runtime-classes.cc View 1 2 3 3 chunks +53 lines, -7 lines 1 comment Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 chunks +62 lines, -8 lines 0 comments Download
M test/mjsunit/harmony/super.js View 1 2 3 3 chunks +111 lines, -2 lines 1 comment Download

Messages

Total messages: 11 (0 generated)
Dmitry Lomov (no reviews)
PTAL, not platform ports yet.
6 years, 2 months ago (2014-10-01 13:53:19 UTC) #1
arv (Not doing code reviews)
https://codereview.chromium.org/622523004/diff/1/src/runtime/runtime-classes.cc File src/runtime/runtime-classes.cc (right): https://codereview.chromium.org/622523004/diff/1/src/runtime/runtime-classes.cc#newcode86 src/runtime/runtime-classes.cc:86: if (!key->IsName()) { How can this happen? Maybe change ...
6 years, 2 months ago (2014-10-01 15:20:24 UTC) #2
Dmitry Lomov (no reviews)
Sorry for the noise looks like a wrong patch got uploaded. Nevermind.
6 years, 2 months ago (2014-10-01 15:47:28 UTC) #3
Dmitry Lomov (no reviews)
PTAL. Patch is fixed, platform ports done, added tests as Erik suggested (thanks!)
6 years, 2 months ago (2014-10-02 08:59:08 UTC) #4
Igor Sheludko
https://codereview.chromium.org/622523004/diff/20001/src/ia32/full-codegen-ia32.cc File src/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/622523004/diff/20001/src/ia32/full-codegen-ia32.cc#newcode2750 src/ia32/full-codegen-ia32.cc:2750: // - this (receiver) <-- LoadFromSuper will pop here ...
6 years, 2 months ago (2014-10-02 09:32:06 UTC) #5
Igor Sheludko
https://codereview.chromium.org/622523004/diff/20001/src/runtime/runtime-classes.cc File src/runtime/runtime-classes.cc (right): https://codereview.chromium.org/622523004/diff/20001/src/runtime/runtime-classes.cc#newcode102 src/runtime/runtime-classes.cc:102: if (name->AsArrayIndex(&index)) { On 2014/10/02 09:32:05, Igor Sheludko wrote: ...
6 years, 2 months ago (2014-10-02 09:42:02 UTC) #6
Dmitry Lomov (no reviews)
Comments addressed. https://codereview.chromium.org/622523004/diff/20001/src/ia32/full-codegen-ia32.cc File src/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/622523004/diff/20001/src/ia32/full-codegen-ia32.cc#newcode2750 src/ia32/full-codegen-ia32.cc:2750: // - this (receiver) <-- LoadFromSuper will ...
6 years, 2 months ago (2014-10-02 09:54:12 UTC) #7
Igor Sheludko
lgtm
6 years, 2 months ago (2014-10-02 10:16:41 UTC) #8
Dmitry Lomov (no reviews)
Igor, thanks a lot for the review! Erik, could you take a look as well, ...
6 years, 2 months ago (2014-10-02 10:17:43 UTC) #9
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/622523004/diff/60001/src/runtime/runtime-classes.cc File src/runtime/runtime-classes.cc (right): https://codereview.chromium.org/622523004/diff/60001/src/runtime/runtime-classes.cc#newcode102 src/runtime/runtime-classes.cc:102: return ThrowUnsupportedSuper(isolate); Add a FIXME/tracking bug? https://codereview.chromium.org/622523004/diff/60001/test/mjsunit/harmony/super.js File ...
6 years, 2 months ago (2014-10-02 16:54:25 UTC) #10
Dmitry Lomov (no reviews)
6 years, 2 months ago (2014-10-06 08:25:43 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 24403 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698