1. 03 May, 2016 1 commit
    • adamk's avatar
      Fix 'eval' in class extends clauses to be always-strict · c8a342a5
      adamk authored
      Compiler backends get their language mode from the current
      function, but should instead be deriving it from the current scope.
      This allows proper handling of the always-strictness of class declarations
      and expressions, and in particular the treatment of 'eval' calls in an
      extends clause as a strict eval.
      
      Also fix the parser's RecordEvalCall logic to only reach out to the
      DeclarationScope in sloppy mode, which fixes the strange case of a
      sloppy function thinking it contains a sloppy eval when in fact
      it contains only a strict eval.
      
      BUG=v8:4970
      LOG=n
      
      Review-Url: https://codereview.chromium.org/1931003003
      Cr-Commit-Position: refs/heads/master@{#36001}
      c8a342a5
  2. 04 Apr, 2016 1 commit
    • mstarzinger's avatar
      Fix resuming generator marked for optimization. · 6ab9c185
      mstarzinger authored
      This fixes a corner case where the generator function of a suspended
      generator has been marked for optimization. We assume the optimization
      approach will cause a bailout because generators are not optimized. But
      resuming is more resilient by always activating the unoptimized code.
      
      R=neis@chromium.org,bmeurer@chromium.org
      TEST=mjsunit/regress/regress-crbug-513471
      BUG=chromium:513471
      LOG=n
      
      Review URL: https://codereview.chromium.org/1856683002
      
      Cr-Commit-Position: refs/heads/master@{#35234}
      6ab9c185
  3. 03 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