Comment #3 on issue 3672 by [email protected]: Classes: Default constructor needs to call super
https://code.google.com/p/v8/issues/detail?id=3672#c3

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/cdb92d1aef2cfcaecbc3b8777f2d810e55359854

commit cdb92d1aef2cfcaecbc3b8777f2d810e55359854
Author: [email protected] <[email protected]>
Date: Tue Nov 11 15:54:33 2014

Classes: Add support for arguments in default constructor

This is currently done by generating a default constructor that looks
like this:

  constructor() {
    %DefaultConstructorSuperCall();
  }

The a runtime function implements the logic which is pretty similar to
Runtime_Apply except that it uses the [[Prototype]] of the current
function.

BUG=v8:3672
LOG=Y
[email protected]

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

Cr-Commit-Position: refs/branch-heads/bleeding_edge@{#25268}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25268 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

[modify] https://chromium.googlesource.com/v8/v8.git/+/cdb92d1aef2cfcaecbc3b8777f2d810e55359854/src/parser.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/cdb92d1aef2cfcaecbc3b8777f2d810e55359854/src/runtime/runtime-classes.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/cdb92d1aef2cfcaecbc3b8777f2d810e55359854/src/runtime/runtime-object.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/cdb92d1aef2cfcaecbc3b8777f2d810e55359854/src/runtime/runtime.h [modify] https://chromium.googlesource.com/v8/v8.git/+/cdb92d1aef2cfcaecbc3b8777f2d810e55359854/test/mjsunit/harmony/classes.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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