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

Issue 624013005: Classes: Add support for toString (Closed)

Created:
6 years, 2 months ago by arv (Not doing code reviews)
Modified:
6 years, 2 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Project:
v8
Visibility:
Public.

Description

Classes: Add support for toString BUG=v8:3330 LOG=Y R=dslomov@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24472

Patch Set 1 : #

Patch Set 2 : git rebase #

Total comments: 2

Patch Set 3 : Add type checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -29 lines) Patch
M src/ast.h View 1 2 chunks +11 lines, -6 lines 0 comments Download
M src/full-codegen.cc View 1 chunk +12 lines, -8 lines 0 comments Download
M src/heap/heap.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/parser.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/parser.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M src/preparser.h View 1 3 chunks +8 lines, -8 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-classes.cc View 1 2 2 chunks +55 lines, -1 line 0 comments Download
M src/v8natives.js View 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/classes.js View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
arv (Not doing code reviews)
This implements toString by adding a bunch of private own properties to the constructor function. ...
6 years, 2 months ago (2014-10-03 21:18:21 UTC) #3
Dmitry Lomov (no reviews)
This approach seems fine to me. Patch looking good but I'd like to review again ...
6 years, 2 months ago (2014-10-07 10:31:13 UTC) #4
arv (Not doing code reviews)
git rebase
6 years, 2 months ago (2014-10-07 16:48:58 UTC) #5
arv (Not doing code reviews)
PTAL Here is background on how I got to where I am. At first I ...
6 years, 2 months ago (2014-10-07 16:59:20 UTC) #6
Dmitry Lomov (no reviews)
looking good, just one comment https://codereview.chromium.org/624013005/diff/40001/src/runtime/runtime-classes.cc File src/runtime/runtime-classes.cc (right): https://codereview.chromium.org/624013005/diff/40001/src/runtime/runtime-classes.cc#newcode279 src/runtime/runtime-classes.cc:279: source, Handle<Smi>::cast(start_position)->value(), Some defensive ...
6 years, 2 months ago (2014-10-08 09:43:59 UTC) #7
arv (Not doing code reviews)
Add type checks
6 years, 2 months ago (2014-10-08 14:00:24 UTC) #8
arv (Not doing code reviews)
https://codereview.chromium.org/624013005/diff/40001/src/runtime/runtime-classes.cc File src/runtime/runtime-classes.cc (right): https://codereview.chromium.org/624013005/diff/40001/src/runtime/runtime-classes.cc#newcode279 src/runtime/runtime-classes.cc:279: source, Handle<Smi>::cast(start_position)->value(), On 2014/10/08 09:43:59, Dmitry Lomov (chromium) wrote: ...
6 years, 2 months ago (2014-10-08 14:00:32 UTC) #9
Dmitry Lomov (no reviews)
lgtm
6 years, 2 months ago (2014-10-08 14:09:39 UTC) #10
arv (Not doing code reviews)
6 years, 2 months ago (2014-10-08 14:48:58 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as 24472 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698