1. 17 Aug, 2015 1 commit
    • bmeurer's avatar
      [runtime] Unify and fix the strict equality comparison. · 9780ddeb
      bmeurer authored
      Add Object::StrictEquals to unify the implementation of strict equality
      comparison in the runtime and the api (the api was already missing a
      case for SIMD).  Now we (almost) have a single bottleneck for strict
      equality, we just need to reduce the amount of unnecessary complexity
      for the code stub.
      
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1298603002
      
      Cr-Commit-Position: refs/heads/master@{#30186}
      9780ddeb
  2. 13 Aug, 2015 4 commits
  3. 31 Jul, 2015 1 commit
    • bmeurer's avatar
      [stubs] Unify (and optimize) implementation of ToObject. · 4fc6f547
      bmeurer authored
      This is the initial (big) step towards a more uniform implementation of
      the ToObject abstract operation (ES6 7.1.13), where we have a fallback
      implementation in JSReceiver::ToObject() and a fast (hydrogen) CodeStub
      to deal with the fast case (we should be able to do more cleanup on this
      in a followup CL).  For natives we expose the abstract operation via a
      %_ToObject intrinsic, also exposed via a macro TO_OBJECT, that unifies
      the previous confusion with TO_OBJECT_INLINE, ToObject, TO_OBJECT,
      $toObject and %$toObject.  Now the whole implementation of the abstract
      operation is context independent, meaning we don't need any magic in the
      builtins object nor the native context.
      
      R=mvstanton@chromium.org,yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1266013006
      
      Cr-Commit-Position: refs/heads/master@{#29953}
      4fc6f547
  4. 30 Jul, 2015 1 commit
  5. 13 Jul, 2015 1 commit
    • yangguo's avatar
      Debugger: refactor reloc info. · 198c75f6
      yangguo authored
      - split relocation info for debug break slots for
        - calls (with call arguments count as data)
        - construct calls
        - normal slots
      - renamed DEBUG_BREAK into DEBUGGER_STATEMENT
      - removed unused IC state for Debug stubs
      
      R=ulan@chromium.org
      BUG=v8:4269
      LOG=N
      
      Review URL: https://codereview.chromium.org/1232803002
      
      Cr-Commit-Position: refs/heads/master@{#29603}
      198c75f6
  6. 10 Jul, 2015 2 commits
  7. 06 Jul, 2015 1 commit
  8. 30 Jun, 2015 1 commit
  9. 29 Jun, 2015 1 commit
    • arv's avatar
      [es6] Make new.target work in functions · 7a63bf77
      arv authored
      This makes new.target work in [[Call]] and [[Construct]] of ordinary
      functions.
      
      We achieve this by introducing a new construct stub for functions that
      uses the new.target variable. The construct stub pushes the original
      constructor just above the receiver in the construct frame.
      
      BUG=v8:3887
      LOG=N
      R=adamk@chromium.org, dslomov@chromium.org
      
      Review URL: https://codereview.chromium.org/1203813002
      
      Cr-Commit-Position: refs/heads/master@{#29358}
      7a63bf77
  10. 19 Jun, 2015 1 commit
  11. 18 Jun, 2015 3 commits
  12. 01 Jun, 2015 1 commit
    • bmeurer's avatar
      [turbofan] First step towards sanitizing for-in and making it optimizable. · e2e47f30
      bmeurer authored
      In a nutshell: The FILTER_KEY builtin is gone, and was replaced by a
      simple runtime call to ForInFilter, which does everything and is even
      cheaper (because FILTER_KEY used to call into the runtime anyway).
      And ForInFilter returns either the name or undefined, which makes it
      possible to remove the control flow construction from the AstGraphBuilder,
      and thereby make both the initialization and the per-loop code of for-in
      optimizable later (in typed lowering).
      
      R=jarin@chromium.org
      
      Review URL: https://codereview.chromium.org/1160983004
      
      Cr-Commit-Position: refs/heads/master@{#28711}
      e2e47f30
  13. 28 May, 2015 1 commit
  14. 22 May, 2015 1 commit
  15. 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
  16. 15 May, 2015 1 commit
  17. 12 May, 2015 1 commit
  18. 30 Apr, 2015 2 commits
  19. 28 Apr, 2015 1 commit
  20. 24 Apr, 2015 1 commit
  21. 09 Apr, 2015 1 commit
  22. 19 Mar, 2015 1 commit
  23. 03 Feb, 2015 1 commit
  24. 30 Jan, 2015 1 commit
  25. 23 Jan, 2015 2 commits
  26. 22 Jan, 2015 2 commits
  27. 20 Jan, 2015 1 commit
  28. 15 Jan, 2015 1 commit
  29. 17 Dec, 2014 2 commits
  30. 16 Dec, 2014 1 commit
    • 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