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 times below. maybe extract into a
function?

https://codereview.chromium.org/725983002/diff/40001/src/debug.cc#newcode1491
src/debug.cc:1491: if (js_function->shared()->bound()) {
repeated again

https://codereview.chromium.org/725983002/diff/40001/src/debug.cc#newcode1641
src/debug.cc:1641: if (function->shared()->bound()) {
repeated once more.

https://codereview.chromium.org/725983002/diff/40001/src/debug.cc#newcode1648
src/debug.cc:1648: if (function->shared()->code() ==
maybe the following apply & call checks should be there in the other
places also?

https://codereview.chromium.org/725983002/diff/40001/src/debug.cc#newcode1658
src/debug.cc:1658: if (!js_function->IsFromNativeScript()) {
BTW, is this in the correct order?

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 (right):

https://codereview.chromium.org/725983002/diff/40001/test/mjsunit/harmony/debug-step-into-class-extends.js#newcode36
test/mjsunit/harmony/debug-step-into-class-extends.js:36: class Derived
extends GetBase() {} // 0.
should it be "GetBase" instead of "GetBase()" ?
otherwise, looks like we are just calling a function and use it's return
value as a base class.

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

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to