1. 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
  2. 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
  3. 21 Sep, 2016 1 commit
  4. 19 Sep, 2016 1 commit
    • lkelvin's avatar
      PPC/s390: Record call counts also for megamorphic calls. · 47f203e4
      lkelvin authored
      Port: 2ab3fcf4
      
      Original commit message:
      
      	To make better inlining decisions, it's good to have call
      counts for poly/mega-morphic cases. This CL makes it work for calls,
      and another will follow to better unify the code between constructor
      calls and normal calls (and thence, to record megamorphic call counts
      there as well).
      
      R=mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      BUG=
      
      Review-Url: https://codereview.chromium.org/2356483002
      Cr-Commit-Position: refs/heads/master@{#39517}
      47f203e4
  5. 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
  6. 14 Sep, 2016 1 commit
  7. 09 Sep, 2016 1 commit
  8. 08 Sep, 2016 1 commit
  9. 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
  10. 02 Sep, 2016 1 commit
  11. 31 Aug, 2016 1 commit
  12. 23 Aug, 2016 1 commit
  13. 22 Aug, 2016 1 commit
  14. 18 Aug, 2016 1 commit
  15. 17 Aug, 2016 1 commit
  16. 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
  17. 03 Aug, 2016 2 commits
  18. 02 Aug, 2016 1 commit
  19. 28 Jul, 2016 1 commit
    • bjaideep's avatar
      PPC/s390: [stubs] Port CreateWeakCellStub to turbofan · ddea5a67
      bjaideep authored
      Port 7f1fa30e
      
      Original commit message:
      
          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.
      
      R=danno@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=608675
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2188483008
      Cr-Commit-Position: refs/heads/master@{#38148}
      ddea5a67
  20. 26 Jul, 2016 1 commit
  21. 25 Jul, 2016 1 commit
  22. 21 Jul, 2016 1 commit
  23. 19 Jul, 2016 1 commit
    • bjaideep's avatar
      PPC/s390: [builtins] Introduce a builtin for Abort(). · a660062d
      bjaideep authored
      Port 9be015a2
      
      Original commit message:
      
          Calling Runtime::kAbort through a builtin instead of the c-entry stub
          will allow to generate the call in a background thread, because a
          builtin provides its own handle, whereas a code stub does not.
      
      R=ahaas@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2166553002
      Cr-Commit-Position: refs/heads/master@{#37877}
      a660062d
  24. 18 Jul, 2016 1 commit
    • bmeurer's avatar
      [turbofan] Add support for eager/soft deoptimization reasons. · db635d5b
      bmeurer authored
      So far TurboFan wasn't adding the deoptimization reasons for eager/soft
      deoptimization exits that can be used by either the DevTools profiler or
      the --trace-deopt flag. This adds basic support for deopt reasons on
      Deoptimize, DeoptimizeIf and DeoptimizeUnless nodes and threads through
      the reasons to the code generation.
      
      Also moves the DeoptReason to it's own file (to resolve include cycles)
      and drops unused reasons.
      
      R=jarin@chromium.org
      
      Review-Url: https://codereview.chromium.org/2161543002
      Cr-Commit-Position: refs/heads/master@{#37823}
      db635d5b
  25. 14 Jul, 2016 3 commits
  26. 13 Jul, 2016 2 commits
  27. 11 Jul, 2016 2 commits
  28. 07 Jul, 2016 1 commit
    • bjaideep's avatar
      PPC/s390: [builtins] Fix MathMaxMin on arm and arm64 · 32e843df
      bjaideep authored
      Port b86ac0e0
      
      Original commit message:
      
          Both of these were broken in different ways:
          * On arm, the loop counter was passed as argc on the stack.
          * On arm64, we passed argc + 1 instead of argc.
      
          The result in both cases was an incorrect receiver for the builtin frame
          when generating stack traces.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:4815
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2125913004
      Cr-Commit-Position: refs/heads/master@{#37567}
      32e843df
  29. 06 Jul, 2016 2 commits
    • bjaideep's avatar
      PPC/s390: [builtins] Add receiver to builtin exit frames · 96ebd756
      bjaideep authored
      Port f59a2335
      
      Original commit message:
      
          Stack trace generation requires access to the receiver; and while the
          receiver is already on the stack, we cannot determine its position
          during stack trace generation (it's stored in argv[0], and argc is only
          stored in a callee-saved register).
      
          This patch grants access to the receiver by pushing argc onto builtin
          exit frames as an extra argument. Compared to simply pushing the
          receiver, this requires an additional dereference during stack trace
          generation, but one fewer during builtin calls.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:4815
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2129643002
      Cr-Commit-Position: refs/heads/master@{#37563}
      96ebd756
    • danno's avatar
      [stubs]: Convert FastNewContext stub to turbofan · 8ab0e99e
      danno authored
      BUG=608675
      
      Review-Url: https://codereview.chromium.org/2113673002
      Cr-Commit-Position: refs/heads/master@{#37550}
      8ab0e99e
  30. 01 Jul, 2016 1 commit
  31. 30 Jun, 2016 2 commits
  32. 29 Jun, 2016 1 commit