• arv@chromium.org's avatar
    Classes: Add support for arguments in default constructor · aa6815c7
    arv@chromium.org authored
    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
    aa6815c7
Name
Last commit
Last update
..
regress Loading commit data...
array-fill.js Loading commit data...
array-find.js Loading commit data...
array-findindex.js Loading commit data...
array-of.js Loading commit data...
arrow-functions.js Loading commit data...
block-conflicts.js Loading commit data...
block-const-assign.js Loading commit data...
block-early-errors.js Loading commit data...
block-for.js Loading commit data...
block-lazy-compile.js Loading commit data...
block-leave.js Loading commit data...
block-let-crankshaft.js Loading commit data...
block-let-declaration.js Loading commit data...
block-let-semantics.js Loading commit data...
block-scoping.js Loading commit data...
classes.js Loading commit data...
dataview-accessors.js Loading commit data...
debug-blockscopes.js Loading commit data...
debug-evaluate-blockscopes.js Loading commit data...
debug-function-scopes.js Loading commit data...
empty-for.js Loading commit data...
module-linking.js Loading commit data...
module-parsing.js Loading commit data...
module-recompile.js Loading commit data...
module-resolution.js Loading commit data...
object-literals-method.js Loading commit data...
object-literals-property-shorthand.js Loading commit data...
object-literals-super.js Loading commit data...
private.js Loading commit data...
proxies-example-membrane.js Loading commit data...
proxies-for.js Loading commit data...
proxies-function.js Loading commit data...
proxies-hash.js Loading commit data...
proxies-json.js Loading commit data...
proxies-symbols.js Loading commit data...
proxies-with-unscopables.js Loading commit data...
proxies-with.js Loading commit data...
proxies.js Loading commit data...
regexp-sticky.js Loading commit data...
set-prototype-of.js Loading commit data...
string-codepointat.js Loading commit data...
string-contains.js Loading commit data...
string-endswith.js Loading commit data...
string-fromcodepoint.js Loading commit data...
string-repeat.js Loading commit data...
string-startswith.js Loading commit data...
super.js Loading commit data...
toMethod.js Loading commit data...
typedarrays-foreach.js Loading commit data...
typedarrays.js Loading commit data...