Classes: Add support for stepping through default constructors
authorarv <arv@chromium.org>
Sat, 15 Nov 2014 19:48:32 +0000 (11:48 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 15 Nov 2014 19:48:39 +0000 (19:48 +0000)
commitef41de10db404a5be0957a2546b60ce7126ecff3
treed9456aeaef16de048c2da6609daa763a1fd5e6e3
parent70ae6060441ba83f1ee0205caf150b3d7bc0b6ef
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

Review URL: https://codereview.chromium.org/725983002

Cr-Commit-Position: refs/heads/master@{#25366}
src/debug.cc
src/debug.h
test/mjsunit/harmony/debug-step-into-class-extends.js [new file with mode: 0644]
test/mjsunit/harmony/debug-step-into-constructor.js [new file with mode: 0644]