Comment #9 on issue 3672 by [email protected]: Classes: Default
constructor needs to call super
https://code.google.com/p/v8/issues/detail?id=3672#c9
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/81c75eece4d3b7d1fee94c4c0e953f704bd92ab4
commit 81c75eece4d3b7d1fee94c4c0e953f704bd92ab4
Author: [email protected] <[email protected]>
Date: Tue Nov 11 21:35:27 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.
This is the second try. The first failed because the test was using a
array that was too large for Function.prototype.apply.
Revert "Revert "Classes: Add support for arguments in default constructor""
This reverts commit 43aa7e541df56a132608b8b4217e9da84575e4f8.
BUG=v8:3672
LOG=Y
[email protected]
Review URL: https://codereview.chromium.org/716853003
Cr-Commit-Position: refs/branch-heads/bleeding_edge@{#25272}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25272
ce2b1a6d-e550-0410-aec6-3dcde31c8c00
[modify]
https://chromium.googlesource.com/v8/v8.git/+/81c75eece4d3b7d1fee94c4c0e953f704bd92ab4/src/parser.cc
[modify]
https://chromium.googlesource.com/v8/v8.git/+/81c75eece4d3b7d1fee94c4c0e953f704bd92ab4/src/runtime/runtime-classes.cc
[modify]
https://chromium.googlesource.com/v8/v8.git/+/81c75eece4d3b7d1fee94c4c0e953f704bd92ab4/src/runtime/runtime-object.cc
[modify]
https://chromium.googlesource.com/v8/v8.git/+/81c75eece4d3b7d1fee94c4c0e953f704bd92ab4/src/runtime/runtime.h
[modify]
https://chromium.googlesource.com/v8/v8.git/+/81c75eece4d3b7d1fee94c4c0e953f704bd92ab4/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.