1. 20 Feb, 2017 1 commit
  2. 10 Feb, 2017 1 commit
    • mstarzinger's avatar
      [crankshaft] Fix Smi overflow in {HMaybeGrowElements}. · 6c12d57e
      mstarzinger authored
      This fixes the case where the index passed to {HMaybeGrowElements} used
      to derive the new capacity for the elements backing store does not fit
      into Smi range. Such an overflow would fail the capacity check and cause
      growing to be skipped. Subsequent keyed stores would potentially go out
      of bounds.
      
      R=mvstanton@chromium.org
      TEST=mjsunit/regress/regress-crbug-686427
      BUG=chromium:686427
      
      Review-Url: https://codereview.chromium.org/2686263002
      Cr-Commit-Position: refs/heads/master@{#43101}
      6c12d57e
  3. 23 Dec, 2016 1 commit
  4. 21 Dec, 2016 2 commits
  5. 15 Dec, 2016 1 commit
  6. 13 Dec, 2016 1 commit
  7. 06 Dec, 2016 1 commit
  8. 01 Dec, 2016 1 commit
  9. 29 Nov, 2016 1 commit
  10. 16 Nov, 2016 2 commits
  11. 15 Nov, 2016 1 commit
  12. 11 Nov, 2016 1 commit
  13. 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
  14. 18 Oct, 2016 1 commit
    • danno's avatar
      [stubs] Port StringAddStub to TF · 787157dd
      danno authored
      In the process:
      - Add ToString to the CodeStubAssembler and use it where appropriate
      - Add constant-folding versions of IntPtrAdd/IntPtrSub to simplify code
        in element offset computation, especially for strings.
      
      BUG=chromium:608675
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2407813002
      Cr-Commit-Position: refs/heads/master@{#40379}
      787157dd
  15. 17 Oct, 2016 2 commits
  16. 12 Oct, 2016 1 commit
  17. 07 Oct, 2016 1 commit
  18. 30 Sep, 2016 1 commit
  19. 29 Sep, 2016 1 commit
  20. 22 Sep, 2016 1 commit
  21. 20 Sep, 2016 1 commit
  22. 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
  23. 14 Sep, 2016 1 commit
  24. 13 Sep, 2016 2 commits
  25. 12 Sep, 2016 2 commits
  26. 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
  27. 02 Sep, 2016 1 commit
    • mvstanton's avatar
      Forking the type system between Crankshaft & Turbofan. · 17e9e2f4
      mvstanton authored
      Our Type class has a semantic and representational dimension.
      Much code in src/ast, Crankshaft and Turbofan is based on it.
      Going forward in Turbofan we'd like to remove representational information
      entirely. To that end, new type AstType has been created to preserve
      existing behavior for the benefit of Crankshaft and the AST.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2302283002
      Cr-Commit-Position: refs/heads/master@{#39135}
      17e9e2f4
  28. 01 Sep, 2016 1 commit
  29. 09 Aug, 2016 1 commit
  30. 05 Aug, 2016 1 commit
    • danno's avatar
      [stubs] Convert GrowElementsStub to TurboFan · eb841269
      danno authored
      One caveat: the Crankshaft stub used to preserve callee-clobbered double
      registers, which is contrary to any real platform ABI that we support. Since the
      only current use of this stub is in Crankshaft, the instruction there now must
      be marked as double-clobbering. This might result in a small performance
      regression. However, when this stub is eventually used in TF-generated code, it
      will be called from deferred code that can save doubles only on the rarely-taken
      path... something that Crankshaft can't do.
      
      BUG=chromium:608675
      
      Review-Url: https://codereview.chromium.org/2206333003
      Cr-Commit-Position: refs/heads/master@{#38371}
      eb841269
  31. 03 Aug, 2016 1 commit
  32. 02 Aug, 2016 1 commit
  33. 28 Jul, 2016 2 commits
    • danno's avatar
      Add a flag to help platform ports bootstrap V8 · c07c675e
      danno authored
      A "--minimal" flag turns off all optimizing compilers and activates the
      interpreter. The idea is that with this flag activated, only the
      platform-specific stubs and a Turbofan implementation must be complete to start
      d8 and run the bulk of the tests. Note that although this flag is constructed as
      a runtime flag, it must be set to true when building the snapshot and therefore
      creates a compile-time dependency.
      
      BUG=chromium:608675
      
      Review-Url: https://codereview.chromium.org/2189663002
      Cr-Commit-Position: refs/heads/master@{#38150}
      c07c675e
    • danno's avatar
      [stubs] Port CreateWeakCellStub to turbofan · 7f1fa30e
      danno authored
      In the process also inline the stub into the appropriate interpreter bytecode
      handler and make sure that the context register is preserved in hand-written
      assembly code that calls the stub and expects the context register to be
      preserved.
      
      BUG=608675
      
      Review-Url: https://codereview.chromium.org/2188993003
      Cr-Commit-Position: refs/heads/master@{#38132}
      7f1fa30e
  34. 27 Jul, 2016 1 commit