1. 02 Nov, 2016 1 commit
    • zhengxing.li's avatar
      X87: [compiler] Sanitize IC counts for vector based ICs. · 3ef54ed6
      zhengxing.li authored
        port 5ef1bddf (r40690)
      
        original commit message:
        All vector ICs use the TypeFeedbackVector::ComputeCounts method now,
        while the remaining patching ICs still use the traditional way of
        counting on the TypeFeedbackInfo hanging off the fullcodegen code
        object. This fixes the problem that counts were sometimes off.
      
      BUG=
      
        Drive-by-fix: Move FullCodeGenerator::CallIC to fullcodegen.cc.
      Review-Url: https://codereview.chromium.org/2470063002
      
      Cr-Commit-Position: refs/heads/master@{#40692}
      3ef54ed6
  2. 31 Oct, 2016 1 commit
  3. 27 Oct, 2016 1 commit
    • ishell's avatar
      [ic] Remove unnecessary access rights checks from the IC handlers. · 8ba4af44
      ishell authored
      The reasons are:
      1) Type feedback vectors are not shared between different native contexts and
         therefore the IC handler created for one native context will not be reused
         in other native context.
      2) Access rights revocation is not supported at all, therefore given (1) once
         we pass the access check we don't have to check access rights again.
      
      BUG=v8:5561
      
      Review-Url: https://codereview.chromium.org/2455953002
      Cr-Commit-Position: refs/heads/master@{#40627}
      8ba4af44
  4. 25 Oct, 2016 1 commit
    • jgruber's avatar
      [regexp] Remove unused code · 77ddcfb3
      jgruber authored
      This CL removes code that is now unused since the port of regexp.js has been
      completed. Removed functions / classes are:
      
      * regexp.js (GetSubstitution moved to string.js)
      * RegExpConstructResult stub
      * RegExpFlags intrinsic
      * RegExpSource intrinsic
      * RegExpInitializeAndCompile runtime function
      
      BUG=v8:5339
      
      Review-Url: https://codereview.chromium.org/2448463002
      Cr-Commit-Position: refs/heads/master@{#40547}
      77ddcfb3
  5. 20 Oct, 2016 1 commit
  6. 18 Oct, 2016 2 commits
  7. 17 Oct, 2016 1 commit
  8. 14 Oct, 2016 1 commit
    • jgruber's avatar
      [regexp] Turn last match info into a simple FixedArray · f60a7c4f
      jgruber authored
      Now that all accesses to the last match info are in C++ and TF code, we can
      finally turn the last match info into a FixedArray. Similar to the ArrayList,
      it uses its first field to store its length and grows dynamically in amortized
      O(1) time.
      
      Unlike previously, this means that the last match info pointer stored on the
      context can actually change (in case the FixedArray needs to grow).
      
      BUG=v8:5339
      
      Review-Url: https://codereview.chromium.org/2415103002
      Cr-Commit-Position: refs/heads/master@{#40308}
      f60a7c4f
  9. 13 Oct, 2016 1 commit
  10. 12 Oct, 2016 4 commits
  11. 10 Oct, 2016 1 commit
  12. 07 Oct, 2016 3 commits
  13. 29 Sep, 2016 2 commits
  14. 26 Sep, 2016 1 commit
    • hablich's avatar
      Revert of [stubs] Port SubStringStub to TurboFan (patchset #8 id:140001 of... · 10a801f1
      hablich authored
      Revert of [stubs] Port SubStringStub to TurboFan (patchset #8 id:140001 of https://codereview.chromium.org/2355793003/ )
      
      Reason for revert:
      Speculative revert because of stability problems
      
      Original issue's description:
      > [stubs] Port SubStringStub to TurboFan
      >
      > This ports the platform-specific SubStringStub to TurboFan.
      >
      > It also contains a minor bug-fix for the case when the requested substring
      > length equals the subject string length, but the start index is not equal to 0.
      > The old stub implementation returned the subject string, while the new
      > implementation calls into runtime, which finally results in a thrown exception.
      >
      > BUG=v8:5415
      >
      > Committed: https://crrev.com/49be31921536716706a6790fbbf9c346b975af16
      > Cr-Commit-Position: refs/heads/master@{#39653}
      
      TBR=ishell@chromium.org,bmeurer@chromium.org,jgruber@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=v8:5415, chromium:649967
      NOPRESUBMIT=true
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2365413002
      Cr-Commit-Position: refs/heads/master@{#39737}
      10a801f1
  15. 23 Sep, 2016 2 commits
    • ishell's avatar
      [ic][ia32][x87] Don't push/pop value/slot/vector in store handlers. · 49695346
      ishell authored
      According to new store IC calling convention the value, slot and vector are passed
      on the stack and there's no need in trying to preserve values or respective registers
      in store handlers.
      
      Nice bonus: we also don't need virtual registers anymore.
      
      BUG=v8:5407
      
      Review-Url: https://codereview.chromium.org/2357323003
      Cr-Commit-Position: refs/heads/master@{#39672}
      49695346
    • jgruber's avatar
      [stubs] Port SubStringStub to TurboFan · 49be3192
      jgruber authored
      This ports the platform-specific SubStringStub to TurboFan.
      
      It also contains a minor bug-fix for the case when the requested substring
      length equals the subject string length, but the start index is not equal to 0.
      The old stub implementation returned the subject string, while the new
      implementation calls into runtime, which finally results in a thrown exception.
      
      BUG=v8:5415
      
      Review-Url: https://codereview.chromium.org/2355793003
      Cr-Commit-Position: refs/heads/master@{#39653}
      49be3192
  16. 22 Sep, 2016 1 commit
  17. 21 Sep, 2016 1 commit
  18. 18 Sep, 2016 2 commits
  19. 16 Sep, 2016 1 commit
    • ishell's avatar
      [stubs] Port StoreTransitionStub and ElementsTransitionAndStoreStub to TurboFan. · 130d9893
      ishell authored
      This CL also cleans up related interface descriptors:
      1) unused StoreTransitionDescriptor is removed and VectorStoreTransitionDescriptor is
      renamed to StoreTransitionDescriptor.
      2) on ia32/x87 architectures slot and vector are passed on the stack (dispatcher/handlers
      cleanup will be addressed in a separate CL).
      
      These two stub ports have to be combined in one CL because:
      1) without changing the StoreTransitionDescriptor TF was not able to compile them
      on ia32/x87 (because of lack of registers),
      2) it was not possible to change the descriptor first because Crankshaft was not able
      to deal with the stack allocated parameters in case of a stub failure.
      
      TBR=jkummerow@chromium.org
      BUG=v8:5269
      
      Review-Url: https://codereview.chromium.org/2313093002
      Cr-Commit-Position: refs/heads/master@{#39476}
      130d9893
  20. 09 Sep, 2016 2 commits
  21. 06 Sep, 2016 1 commit
    • mlippautz's avatar
      Move kMaxRegularHeapObjectSize into globals · 059b5643
      mlippautz authored
      This way we avoid the cyclic dependency between objects.h and heap.h and still
      have one definition. Add a static assert that this size is indeed smaller than
      the payload of a page.
      
      Follow ups can finally remove the dependency on spaces.h for all heap.h users.
      
      R=ulan@chromium.org,bmeurer@chromium.org,vogelheim@chromium.og
      
      Review-Url: https://codereview.chromium.org/2311203002
      Cr-Commit-Position: refs/heads/master@{#39206}
      059b5643
  22. 04 Sep, 2016 1 commit
  23. 31 Aug, 2016 1 commit
  24. 23 Aug, 2016 1 commit
  25. 22 Aug, 2016 1 commit
  26. 17 Aug, 2016 1 commit
  27. 12 Aug, 2016 1 commit
    • jkummerow's avatar
      [regexp][liveedit] Fix inconsistent JSArrays · bb9707c8
      jkummerow authored
      The hand-written KeyedLoadIC_Megamorphic stub didn't care about JSArray
      lengths, which made it lenient towards said lengths being wrong, but it
      will soon fix that bug and thereby become more strict.
      
      LiveEdit: factory->NewJSArray(capacity) doesn't set a length, so set it
      manually.
      RegExp: to avoid having to take care of array length updating in the
      RegExpExecStub, just use a JSObject instead.
      
      Review-Url: https://codereview.chromium.org/2244673002
      Cr-Commit-Position: refs/heads/master@{#38624}
      bb9707c8
  28. 04 Aug, 2016 1 commit
  29. 03 Aug, 2016 2 commits