• 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
..
runtime-api.cc Loading commit data...
runtime-array.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-i18n.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-json.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-observe.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-uri.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...
string-builder.h Loading commit data...