1. 18 Nov, 2016 1 commit
    • marja's avatar
      Remove FLAG_min_preparse_length. · 4a5b7e32
      marja authored
      It originates from the era where we used to run a separate preparse step
      before parsing and store the function data. Now the usage of preparser
      is something completely different, so this flag doesn't make sense any
      more.
      
      In addition, this way we get more test coverage for preparser (for small
      scripts).
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2513563002
      Cr-Commit-Position: refs/heads/master@{#41110}
      4a5b7e32
  2. 05 Apr, 2016 1 commit
    • caitpotter88's avatar
      [destructuring] don't attempt to visit contents of FunctionLiterals · f60048c5
      caitpotter88 authored
      The parser eagerly rewrites destructuring assignments occuring
      in formal parameter initializers, because not doing so would
      cause the BindingPattern rewriting to be confused and do the
      wrong thing.
      
      This change prevents this rewriting from descending into the
      bodies of lazily parsed functions.
      
      In general, it's a mistake to descend into the bodies of function
      literals anyways, since they are rewritten separately on their
      own time, so there is no distinction made between lazily
      "throw away" eagerly parsed functions in the temporary parser
      arena, or "real" eagerly parsed functions that will be compiled.
      
      BUG=chromium:594084, v8:811
      LOG=N
      R=adamk@chromium.org, littledan@chromium.org
      
      Review URL: https://codereview.chromium.org/1864553002
      
      Cr-Commit-Position: refs/heads/master@{#35277}
      f60048c5
  3. 11 Feb, 2016 1 commit
  4. 02 Feb, 2016 1 commit
  5. 29 Jan, 2016 1 commit
    • littledan's avatar
      Fix Unicode string normalization with null bytes · f3e41d96
      littledan authored
      Previously, String.prototype.normalize constructed its ICU input
      string as a null-terminated string. This creates a bug for strings
      which contain a null byte, which is allowed in ECMAScript. This
      patch constructs the ICU string based on its length so that the
      entire string is normalized.
      
      R=jshin@chromium.org
      BUG=v8:4654
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1645223003
      
      Cr-Commit-Position: refs/heads/master@{#33614}
      f3e41d96
  6. 04 Jan, 2016 1 commit