1. 25 Aug, 2015 1 commit
  2. 08 Aug, 2015 1 commit
  3. 16 Jul, 2015 1 commit
  4. 15 Jul, 2015 1 commit
    • adamk's avatar
      Fix spread array inside array literal · 24e98281
      adamk authored
      During parsing, we now keep track of the first spread seen in an array
      literal (if any), and make use of that information when creating the
      FixedArray backing store representing the constant elements for array
      literal materialization.
      
      The old code tried to do this by setting the generated JSArray's length
      in ArrayLiteral::BuildConstantElements(), but that Array length is never
      read by the rest of the literal materialization code (it always uses
      the length of the FixedArray backing store).
      
      BUG=v8:4298
      LOG=n
      
      Review URL: https://codereview.chromium.org/1225223004
      
      Cr-Commit-Position: refs/heads/master@{#29684}
      24e98281
  5. 13 Jul, 2015 1 commit
  6. 06 Jul, 2015 1 commit
  7. 26 Jun, 2015 1 commit
  8. 25 Jun, 2015 3 commits
  9. 23 Jun, 2015 2 commits
  10. 22 Jun, 2015 1 commit
  11. 21 Jun, 2015 1 commit
  12. 19 Jun, 2015 4 commits
  13. 11 Jun, 2015 1 commit
  14. 08 Jun, 2015 1 commit
  15. 04 Jun, 2015 1 commit
  16. 02 Jun, 2015 1 commit
    • arv's avatar
      [es6] Super call in arrows and eval · 4b8051a0
      arv authored
      This splits the SuperReference AST node into SuperPropertyReference and
      SuperCallReference. The super call reference node consists of three
      unresolved vars to this, new.target and this_function. These gets
      declared when the right function is entered and if it is in use. The
      variables gets assigned in FullCodeGenerator::Generate.
      
      This is a revert of the revert 88b1c917
      
      BUG=v8:3768
      LOG=N
      R=wingo@igalia.com, adamk@chromium.org
      
      Review URL: https://codereview.chromium.org/1168513004
      
      Cr-Commit-Position: refs/heads/master@{#28769}
      4b8051a0
  17. 01 Jun, 2015 3 commits
  18. 27 May, 2015 1 commit
  19. 26 May, 2015 1 commit
    • arv's avatar
      [es6] Support super.property in eval and arrow functions · 44e98103
      arv authored
      When we enter a method that needs access to the [[HomeObject]]
      we allocate a local variable `.home_object` and assign it the
      value from the [[HomeObject]] private symbol. Something along
      the lines of:
      
        method() {
          var .home_object = %ThisFunction()[home_object_symbol];
          ...
        }
      
      BUG=v8:3867, v8:4031
      LOG=N
      
      Review URL: https://codereview.chromium.org/1135243004
      
      Cr-Commit-Position: refs/heads/master@{#28644}
      44e98103
  20. 21 May, 2015 1 commit
    • arv's avatar
      [es6] Spread in array literals · 9502e91a
      arv authored
      This allows you to put iterables into your array literals
      and the will get spread into the array.
      
        let x = [0, ...range(1, 3)];  // [0, 1, 2]
      
      This is done by treating the array literal up to the first
      spread element as usual, including using a boiler plate
      array, and then appending the remaining expressions and rest
      expressions.
      
      BUG=v8:3018
      LOG=N
      
      Review URL: https://codereview.chromium.org/1125183008
      
      Cr-Commit-Position: refs/heads/master@{#28534}
      9502e91a
  21. 20 Apr, 2015 1 commit
  22. 13 Apr, 2015 1 commit
  23. 09 Apr, 2015 1 commit
  24. 30 Mar, 2015 1 commit
  25. 24 Mar, 2015 2 commits
    • aperez's avatar
      Cleanups needed for this-scoping in arrow functions · 00844d46
      aperez authored
      Remove Variable::IsValidReference(), and the Variable::is_valid_ref_
      member: This was "false" only for "this", and for internal variables.
      For the first, VariableProxy::is_this() can be used for the check
      instead; and for internal variables, it is guaranteed they they will
      not be written to (because the V8 code does not do it, and they are
      not accessible from JavaScript).
      
      The "bool is_this" parameter of VariableProxy() constructor is
      changed to use Variable::Kind. This will allow to later on adding
      a parameter to create unresolved variables of any kind, which in
      turn will be used to make references to "this" initially unresolved,
      and use the existing variable resolution mechanics for "this".
      
      BUG=v8:2700
      LOG=N
      
      Review URL: https://codereview.chromium.org/1024703004
      
      Cr-Commit-Position: refs/heads/master@{#27404}
      00844d46
    • verwaest's avatar
      If CallNew targets a constant global, set its state to monomorphic · c46a9372
      verwaest authored
      BUG=
      
      Review URL: https://codereview.chromium.org/1023103003
      
      Cr-Commit-Position: refs/heads/master@{#27399}
      c46a9372
  26. 18 Mar, 2015 1 commit
  27. 12 Mar, 2015 1 commit
  28. 26 Feb, 2015 2 commits
  29. 17 Feb, 2015 1 commit
  30. 13 Feb, 2015 1 commit
    • arv's avatar
      ES6 Classes: Remove tracking of super construct calls. · d0c2c2b3
      arv authored
      With the new ES6 semantics super construct calls are only valid in
      a constructor in a derived class. This is something that is
      statically known and we report early SyntaxError in case it occurs.
      We therefore do not need to track this any more.
      
      BUG=v8:3330
      LOG=N
      R=dslomov@chromium.org, adamk
      
      Review URL: https://codereview.chromium.org/924123002
      
      Cr-Commit-Position: refs/heads/master@{#26644}
      d0c2c2b3