1. 30 Sep, 2015 1 commit
  2. 20 Mar, 2015 2 commits
    • rossberg's avatar
      [harmony] Move some regression tests to the right place · d0e20d82
      rossberg authored
      TBR=dslomov@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1027693003
      
      Cr-Commit-Position: refs/heads/master@{#27339}
      d0e20d82
    • aperez's avatar
      Parser: Fix crash on stack overflow when lazy-parsing arrow functions · 3c3ce1bc
      aperez authored
      The problem manifests itself when parsing manages to return something
      meaningful in the presence of a stack overflow. This happens because
      calling ParserBase::Next() will still return one valid token on stack
      overflow, before starting to return invalid tokens.
      
      Take the following input as example:
      
              a.map(v => v + 1);
                    | |
             already   next token
              parsed   (which will be an invalid token
        (identifier)   because of a stack overflow)
      
      The "v" may have been already parsed into a VariableProxy, then if a
      stack overflow occurs, next token will be an invalid token (instead
      of Token::ARROW), but the parser will return the VariableProxy.
      
      This always happens when lazy-parsing arrow functions, so the position
      in the input stream where the the arrow function code ends is known.
      This fix adds a check that ensures that parsing ended at the end
      position of the arrow function.
      
      BUG=465671
      LOG=N
      
      Review URL: https://codereview.chromium.org/1023483003
      
      Cr-Commit-Position: refs/heads/master@{#27325}
      3c3ce1bc
  3. 27 Jan, 2015 1 commit
  4. 22 Jan, 2015 1 commit
  5. 07 Jan, 2015 1 commit
  6. 05 Jan, 2015 1 commit
  7. 03 Jan, 2015 1 commit
  8. 24 Jun, 2014 1 commit
  9. 04 Jun, 2014 1 commit
  10. 03 Apr, 2014 1 commit
  11. 31 Mar, 2014 1 commit
  12. 28 Feb, 2014 3 commits
  13. 25 Feb, 2014 1 commit
  14. 20 Feb, 2014 1 commit
  15. 14 Feb, 2014 1 commit