v8/test/mjsunit/harmony
arv@chromium.org aa6815c79a 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
TBR=dslomov@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25272}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25272 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-11-11 21:36:16 +00:00
..
regress Remove --harmony implications for incomplete features 2014-11-04 16:05:44 +00:00
array-fill.js Fix typos in unit test for Array.prototype.fill() 2014-05-09 16:11:50 +00:00
array-find.js Array.prototype.{every, filter, find, findIndex, forEach, map, some}: Use fresh primitive wrapper for calls. 2014-10-15 09:11:32 +00:00
array-findindex.js Array.prototype.{every, filter, find, findIndex, forEach, map, some}: Use fresh primitive wrapper for calls. 2014-10-15 09:11:32 +00:00
array-of.js Implement ES6 Array.of() 2014-08-19 11:38:38 +00:00
arrow-functions.js Arrow functions: Cleanup handling of the prototype property 2014-09-12 15:07:43 +00:00
block-conflicts.js Fix several issues with ES6 redeclaration checks 2014-07-09 11:35:05 +00:00
block-const-assign.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
block-early-errors.js Make let usable as an identifier in ES6 sloppy mode. 2014-07-10 14:06:37 +00:00
block-for.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
block-lazy-compile.js Preliminary code for block scopes and block contexts. 2011-08-11 16:29:28 +00:00
block-leave.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
block-let-crankshaft.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
block-let-declaration.js Fix several issues with ES6 redeclaration checks 2014-07-09 11:35:05 +00:00
block-let-semantics.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
block-scoping.js Preliminary support for block contexts in hydrogen. 2014-06-05 07:33:01 +00:00
classes.js Classes: Add support for arguments in default constructor 2014-11-11 21:36:16 +00:00
dataview-accessors.js Fix data view accessors to throw execptions on offsets bigger than size_t. 2013-11-18 15:16:22 +00:00
debug-blockscopes.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
debug-evaluate-blockscopes.js Drop obsolete ES6 TODOs about activating extended mode. 2014-06-17 15:22:38 +00:00
debug-function-scopes.js Issue 2081: Expose function's (closure's) inner context in debugger. 2012-04-26 20:16:53 +00:00
empty-for.js Fix for-loop with const/let and empty condition/iteration statements. 2014-07-09 07:50:11 +00:00
module-linking.js Get rid of static module allocation, do it in code. 2012-11-22 10:25:22 +00:00
module-parsing.js Reject local module declarations. 2012-10-05 09:14:08 +00:00
module-recompile.js Implement proper module linking. 2012-07-09 08:59:03 +00:00
module-resolution.js Implement proper module linking. 2012-07-09 08:59:03 +00:00
object-literals-method.js ES6: Implement generator method shorthand 2014-09-18 17:14:13 +00:00
object-literals-property-shorthand.js ES6: Implement object literal property shorthand 2014-09-29 14:15:48 +00:00
object-literals-super.js ES6: Add support for super in object literals 2014-11-11 19:54:56 +00:00
private.js ES6: String(symbol) should work like symbol.toString 2014-09-12 16:17:27 +00:00
proxies-example-membrane.js Remove proxies from --harmony switch for M38, because problems 2014-08-08 09:58:19 +00:00
proxies-for.js Proxies: Make 'with' work, plus minor other fixes 2013-07-19 14:07:23 +00:00
proxies-function.js Mode clean-up pt 1: rename classic/non-strict mode to sloppy mode 2014-03-11 14:39:08 +00:00
proxies-hash.js Enable ES6 Map and Set by default 2014-08-05 19:37:32 +00:00
proxies-json.js Remove proxies from --harmony switch for M38, because problems 2014-08-08 09:58:19 +00:00
proxies-symbols.js Enable ES6 Symbols by default 2014-08-04 18:17:54 +00:00
proxies-with-unscopables.js Remove removed flags from tests 2014-08-19 15:09:38 +00:00
proxies-with.js Proxies: Make 'with' work, plus minor other fixes 2013-07-19 14:07:23 +00:00
proxies.js Add more missing deopts 2014-10-26 10:25:48 +00:00
regexp-sticky.js Reland sticky regexps https://codereview.chromium.org/567313003/ 2014-09-19 07:36:05 +00:00
set-prototype-of.js Enable ES6 Symbols by default 2014-08-04 18:17:54 +00:00
string-codepointat.js Implement String.prototype.codePointAt and String.fromCodePoint. 2014-07-21 08:45:32 +00:00
string-contains.js Make String.prototype.contains throw when passing a regular expression 2014-04-07 10:24:01 +00:00
string-endswith.js Make String.prototype.{starts,ends}With throw when passing a regular expression 2014-01-28 10:31:05 +00:00
string-fromcodepoint.js Implement String.prototype.codePointAt and String.fromCodePoint. 2014-07-21 08:45:32 +00:00
string-repeat.js Improve String.repeat. 2014-10-17 10:01:38 +00:00
string-startswith.js Make String.prototype.{starts,ends}With throw when passing a regular expression 2014-01-28 10:31:05 +00:00
super.js Classes: implement 'new super'. 2014-10-23 08:32:23 +00:00
toMethod.js Implement Function.prototype.toMethod. 2014-08-21 12:39:33 +00:00
typedarrays-foreach.js Implement .forEach() on typed arrays 2014-10-16 10:55:26 +00:00
typedarrays.js Add remaining @@toStringTag symbols to builtins 2014-10-24 19:29:10 +00:00