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

Issue 725983002: Classes: Add support for stepping through default constructors (Closed)

Created:
6 years, 1 month ago by arv (Not doing code reviews)
Modified:
6 years, 1 month ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Classes: Add support for stepping through default constructors If a class extends another class and it doesn't provide a constructor, one is created for them. We therefore need to ensure that stepping into the constructor steps into the super class constructor. BUG=v8:3674 LOG=Y R=dslomov@chromium.org, aandrey , yurys Committed: https://chromium.googlesource.com/v8/v8/+/28da8fd6099922e6ea236ca8cc574982495fd2bc

Patch Set 1 : #

Patch Set 2 : Remove stray change #

Total comments: 19

Patch Set 3 : Refactor to share code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -34 lines) Patch
M src/debug.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug.cc View 1 2 3 chunks +44 lines, -34 lines 0 comments Download
A test/mjsunit/harmony/debug-step-into-class-extends.js View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/debug-step-into-constructor.js View 1 2 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
arv (Not doing code reviews)
Remove stray change
6 years, 1 month ago (2014-11-14 16:51:57 UTC) #2
arv (Not doing code reviews)
PTAL (I wasn't sure who the right person for debugger related changes is?)
6 years, 1 month ago (2014-11-14 16:52:39 UTC) #3
Dmitry Lomov (no reviews)
looks good but Andrey or Yury should take a look as well. https://codereview.chromium.org/725983002/diff/40001/test/mjsunit/harmony/debug-step-into-class-extends.js File test/mjsunit/harmony/debug-step-into-class-extends.js ...
6 years, 1 month ago (2014-11-14 17:19:15 UTC) #4
arv (Not doing code reviews)
https://codereview.chromium.org/725983002/diff/40001/test/mjsunit/harmony/debug-step-into-constructor.js File test/mjsunit/harmony/debug-step-into-constructor.js (right): https://codereview.chromium.org/725983002/diff/40001/test/mjsunit/harmony/debug-step-into-constructor.js#newcode41 test/mjsunit/harmony/debug-step-into-constructor.js:41: var bp = Debug.setBreakPoint(Base, 0); On 2014/11/14 17:19:15, Dmitry ...
6 years, 1 month ago (2014-11-14 17:24:00 UTC) #5
Dmitry Lomov (no reviews)
https://codereview.chromium.org/725983002/diff/40001/test/mjsunit/harmony/debug-step-into-constructor.js File test/mjsunit/harmony/debug-step-into-constructor.js (right): https://codereview.chromium.org/725983002/diff/40001/test/mjsunit/harmony/debug-step-into-constructor.js#newcode41 test/mjsunit/harmony/debug-step-into-constructor.js:41: var bp = Debug.setBreakPoint(Base, 0); On 2014/11/14 17:24:00, arv ...
6 years, 1 month ago (2014-11-14 17:30:59 UTC) #6
Dmitry Lomov (no reviews)
btw lgtm from my side, but please let Yury or Andrey to review as well.
6 years, 1 month ago (2014-11-14 17:32:15 UTC) #7
aandrey
https://codereview.chromium.org/725983002/diff/40001/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/725983002/diff/40001/src/debug.cc#newcode1247 src/debug.cc:1247: if (function_proto->shared()->bound()) { this if-else block is repeated several ...
6 years, 1 month ago (2014-11-14 19:27:13 UTC) #8
arv (Not doing code reviews)
Thanks. I'll extract the code into a shared function and see if we should apply ...
6 years, 1 month ago (2014-11-14 19:36:58 UTC) #9
arv (Not doing code reviews)
Refactor to share code
6 years, 1 month ago (2014-11-14 22:02:11 UTC) #10
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/725983002/diff/40001/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/725983002/diff/40001/src/debug.cc#newcode1247 src/debug.cc:1247: if (function_proto->shared()->bound()) { On 2014/11/14 19:27:13, aandrey wrote: ...
6 years, 1 month ago (2014-11-14 22:02:22 UTC) #11
aandrey
lgtm
6 years, 1 month ago (2014-11-15 08:57:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/725983002/60001
6 years, 1 month ago (2014-11-15 19:20:56 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-11-15 19:48:42 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:60001)

Powered by Google App Engine
This is Rietveld 408576698