1. 04 Feb, 2015 1 commit
    • marja's avatar
      Introduce LanguageMode, drop StrictMode. · c7851da4
      marja authored
      This enables adding more language modes in the future.
      
      For maximum flexibility, LanguageMode is a bitmask, so we're not restricted to
      use a sequence of language modes which are progressively stricter, but we can
      express the language mode as combination of features.
      
      For now, LanguageMode can only be "sloppy" or "strict", and there are
      STATIC_ASSERTS in places which need to change when more modes are added.
      
      LanguageMode is a bit like the old LanguageMode when "extended" mode was still
      around (see https://codereview.chromium.org/8417035 and
      https://codereview.chromium.org/181543002 ) except that it's transmitted through
      all the layers (there's no StrictModeFlag).
      
      BUG=
      
      Review URL: https://codereview.chromium.org/894683003
      
      Cr-Commit-Position: refs/heads/master@{#26419}
      c7851da4
  2. 21 Jan, 2015 1 commit
  3. 15 Jan, 2015 1 commit
    • arv's avatar
      ES6 computed property names · 74e38e34
      arv authored
      This adds support for computed property names, under the flag
      --harmony-computed-property-names, for both object literals and
      classes.
      
      This is a revert of the revert, 7d48fd9d.
      
      BUG=v8:3754
      LOG=Y
      R=dslomov@chromium.org
      
      Review URL: https://codereview.chromium.org/798243004
      
      Cr-Commit-Position: refs/heads/master@{#26084}
      74e38e34
  4. 12 Jan, 2015 1 commit
  5. 17 Dec, 2014 2 commits
  6. 16 Dec, 2014 2 commits
    • arv's avatar
      Revert of ES6 computed property names (patchset #1 id:1 of... · 5f22fdd5
      arv authored
      Revert of ES6 computed property names (patchset #1 id:1 of https://codereview.chromium.org/807173002/)
      
      Reason for revert:
      Crashes Win32. It was not flake.
      
      Original issue's description:
      > ES6 computed property names
      >
      > This adds support for computed property names, under the flag
      > --harmony-computed-property-names, for both object literals and
      > classes.
      >
      > This is a revert of the revert, a76419f0 with
      > no changes. I cannot reproduce the issue on Win8.1 or WinXP. Letting the bots
      > try again.
      >
      > BUG=v8:3754
      > LOG=Y
      > TBR=dslomov@chromium.org
      
      TBR=dslomov@chromium.org
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:3754
      
      Review URL: https://codereview.chromium.org/807033003
      
      Cr-Commit-Position: refs/heads/master@{#25853}
      5f22fdd5
    • arv's avatar
      ES6 computed property names · a235b107
      arv authored
      This adds support for computed property names, under the flag
      --harmony-computed-property-names, for both object literals and
      classes.
      
      This is a revert of the revert, a76419f0 with
      no changes. I cannot reproduce the issue on Win8.1 or WinXP. Letting the bots
      try again.
      
      BUG=v8:3754
      LOG=Y
      TBR=dslomov@chromium.org
      
      Review URL: https://codereview.chromium.org/807173002
      
      Cr-Commit-Position: refs/heads/master@{#25851}
      a235b107
  7. 15 Dec, 2014 2 commits
    • arv's avatar
      Revert of ES6 computed property names (patchset #9 id:160001 of... · a76419f0
      arv authored
      Revert of ES6 computed property names (patchset #9 id:160001 of https://codereview.chromium.org/795573005/)
      
      Reason for revert:
      Crashes on Win32
      
      http://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%201/builds/1357
      
      Test: mjsunit/harmony/computed-property-names
      Flags: --stress-opt --always-opt
      Command: build\Release\d8.exe --test --random-seed=-233815021 --stress-opt --always-opt --nohard-abort --nodead-code-elimination --nofold-constants --harmony-computed-property-names test\mjsunit\mjsunit.js test\mjsunit\harmony\computed-property-names.js
      
      Run #1
      Exit code: -1073741819
      Result: CRASH
      Expected outcomes: PASS
      
      Run #2
      Exit code: -1073741819
      Result: CRASH
      Expected outcomes: PASS
      
      Run #3
      Exit code: -1073741819
      Result: CRASH
      Expected outcomes: PASS
      
      Original issue's description:
      > ES6 computed property names
      >
      > This adds support for computed property names, under the flag
      > --harmony-computed-property-names, for both object literals and
      > classes.
      >
      > BUG=v8:3754
      > LOG=Y
      
      TBR=dslomov@chromium.org,wingo@igalia.com
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:3754
      
      Review URL: https://codereview.chromium.org/809433002
      
      Cr-Commit-Position: refs/heads/master@{#25825}
      a76419f0
    • arv's avatar
      ES6 computed property names · 6e38caf8
      arv authored
      This adds support for computed property names, under the flag
      --harmony-computed-property-names, for both object literals and
      classes.
      
      BUG=v8:3754
      LOG=Y
      
      Review URL: https://codereview.chromium.org/795573005
      
      Cr-Commit-Position: refs/heads/master@{#25821}
      6e38caf8
  8. 12 Dec, 2014 1 commit
  9. 10 Dec, 2014 1 commit
  10. 05 Dec, 2014 1 commit
  11. 04 Dec, 2014 1 commit
    • adamk's avatar
      Optimize testing for an index's existence in packed Arrays · 6230641b
      adamk authored
      This patch introduces a new inline runtime function,
      %_HasFastPackedElements(), and uses it both in the implementation
      of the 'in' operator and in the array builtins to speed
      up testing for the existence of an index in an array.
      
      In testing with the microbenchmark on the attached bug,
      for example, the runtime goes from 326ms to 66ms.
      
      A reviewer might ask whether the HAS_INDEX macro is worthwhile,
      and I tried the same example without it, which pushed the
      microbenchmark up to 157ms. So it seems it's worth it to
      avoid the function call to IN() if we know we're dealing
      with arrays and numbers.
      
      BUG=v8:3701
      LOG=n
      
      Review URL: https://codereview.chromium.org/754863002
      
      Cr-Commit-Position: refs/heads/master@{#25665}
      6230641b
  12. 18 Sep, 2014 1 commit
  13. 11 Aug, 2014 1 commit
  14. 16 Jul, 2014 1 commit
  15. 29 Apr, 2014 1 commit
  16. 15 Apr, 2014 1 commit
  17. 11 Apr, 2014 2 commits
  18. 19 Feb, 2014 1 commit
    • rossberg@chromium.org's avatar
      Upgrade Symbol implementation to match current ES6 behavior. · 0d34254f
      rossberg@chromium.org authored
      Refresh the implementation of Symbols to catch up with what the
      specification now mandates:
      
      * The global Symbol() function manufactures new Symbol values,
        optionally with a string description attached.
      
      * Invoking Symbol() as a constructor will now throw.
      
      * ToString() over Symbol values still throws, and
        Object.prototype.toString() stringifies like before.
      
      * A Symbol value is wrapped in a Symbol object either implicitly if
        it is the receiver, or explicitly done via Object(symbolValue) or
        (new Object(symbolValue).)
      
      * The Symbol.prototype.toString() method no longer throws on Symbol
        wrapper objects (nor Symbol values.) Ditto for Symbol.prototype.valueOf().
      
      * Symbol.prototype.toString() stringifies as "Symbol("<description>"),
        valueOf() returns the wrapper's Symbol value.
      
      * ToPrimitive() over Symbol wrapper objects now throws.
      
      Overall, this provides a stricter separation between Symbol values and
      wrapper objects than before, and the explicit fetching out of the
      description (nee name) via the "name" property is no longer supported
      (by the spec nor the implementation.)
      
      Adjusted existing Symbol test files to fit current, adding some extra
      tests for new/changed behavior.
      
      LOG=N
      R=arv@chromium.org, rossberg@chromium.org, arv, rossberg
      BUG=v8:3053
      
      Review URL: https://codereview.chromium.org/118553003
      
      Patch from Sigbjorn Finne <sigbjornf@opera.com>.
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19490 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      0d34254f
  19. 07 Jan, 2014 3 commits
  20. 18 Nov, 2013 1 commit
  21. 12 Nov, 2013 1 commit
  22. 08 Nov, 2013 1 commit
  23. 17 Oct, 2013 1 commit
  24. 06 Aug, 2013 1 commit
  25. 05 Aug, 2013 1 commit
  26. 05 Jul, 2013 1 commit
  27. 24 Jun, 2013 1 commit
  28. 03 Apr, 2013 1 commit
  29. 22 Mar, 2013 1 commit
  30. 04 Mar, 2013 1 commit
  31. 20 Apr, 2012 1 commit
  32. 20 Feb, 2012 1 commit
  33. 28 Nov, 2011 1 commit
  34. 24 Oct, 2011 1 commit