1. 02 Aug, 2016 1 commit
  2. 01 Aug, 2016 1 commit
  3. 25 Jul, 2016 1 commit
  4. 11 Jul, 2016 1 commit
  5. 08 Jul, 2016 1 commit
  6. 04 Jul, 2016 1 commit
    • jgruber's avatar
      [builtins] Add receiver to builtin exit frames · f59a2335
      jgruber authored
      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.
      
      BUG=v8:4815
      
      Review-Url: https://codereview.chromium.org/2106883003
      Cr-Commit-Position: refs/heads/master@{#37500}
      f59a2335
  7. 30 Jun, 2016 1 commit
    • jgruber's avatar
      [builtins] New frame type for exits to C++ builtins · 5febc27b
      jgruber authored
      Prior to this commit, calls to C++ builtins created standard exit
      frames, which are skipped when constructing JS stack traces. In order to
      show these calls on traces, we introduce a new builtin exit frame type.
      
      Builtin exit frames contain target and new.target on the stack and are
      not skipped during stack trace construction.
      
      BUG=v8:4815
      R=bmeurer@chromium.org, yangguo@chromium.org
      CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel;tryserver.v8:v8_linux_nosnap_dbg
      
      Committed: https://crrev.com/3c60c6b105f39344f93a8407f41534e5e60cf19a
      Review-Url: https://codereview.chromium.org/2090723005
      Cr-Original-Commit-Position: refs/heads/master@{#37384}
      Cr-Commit-Position: refs/heads/master@{#37416}
      5febc27b
  8. 29 Jun, 2016 4 commits
  9. 28 Jun, 2016 1 commit
    • alph's avatar
      Fix MSAN error on arm64 bot. · ca1dcc9c
      alph authored
      The main fix is to mark stack memory the SafeStackFrameIterator
      accesses as initialied.
      
      Drive-by: Make sure we bail out when the simulator is in the
      process of updating FP/SP registers.
      
      BUG=v8:5156
      
      Review-Url: https://codereview.chromium.org/2104763002
      Cr-Commit-Position: refs/heads/master@{#37315}
      ca1dcc9c
  10. 27 Jun, 2016 1 commit
  11. 17 Jun, 2016 1 commit
    • jgruber's avatar
      [builtins] Introduce a proper BUILTIN frame type. · f47b9e98
      jgruber authored
      This adds a new BUILTIN frame type, which supports variable number of
      arguments for builtins implemented in hand-written native code (we will
      extend this mechanism to TurboFan builtins at some point). Convert the
      Math.max and Math.min builtins to construct a BUILTIN frame if required.
      
      This does not yet work for C++ builtins, but that'll be the next step.
      
      R=bmeurer@chromium.org, jarin@chromium.org
      BUG=v8:4815
      LOG=n
      
      Review-Url: https://codereview.chromium.org/2069423002
      Cr-Commit-Position: refs/heads/master@{#37051}
      f47b9e98
  12. 08 Jun, 2016 1 commit
  13. 06 Jun, 2016 1 commit
  14. 19 May, 2016 2 commits
    • rmcilroy's avatar
      [Interpreter] Support compiling for baseline on return from interpreted function. · f241a61a
      rmcilroy authored
      We cannot tier up from interpreted to baseline code when there is an
      activation of the function on the stack. This significantly regresses
      the performance of recursive functions since they are unlikely to get
      tiered up.
      
      This CL adds the ability for a function to be marked for baseline
      compilation when it returns. To do this we patch the
      InterpreterEntryTrampoline return address to point to
      InterpreterMarkBaselineOnReturn, which leaves the
      interpreted frame and recompile the function for
      baseline.
      
      This improves the score of EarlyBoyer by ~8x for Ignition.
      
      BUG=v8:4280
      LOG=N
      
      Review-Url: https://codereview.chromium.org/1965343002
      Cr-Commit-Position: refs/heads/master@{#36360}
      f241a61a
    • clemensh's avatar
      [wasm] Differentiate unnamed and empty names · 3596cac8
      clemensh authored
      Empty function names are allowed and are output as such, unnamed
      functions or functions with no valid UTF-8 name are output as
      "<WASM UNNAMED>", while the CallSite object returns null as the
      function name.
      
      R=titzer@chromium.org, yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/1970503004
      Cr-Commit-Position: refs/heads/master@{#36348}
      3596cac8
  15. 11 May, 2016 1 commit
  16. 06 May, 2016 1 commit
    • clemensh's avatar
      [wasm] Make wasm info available on the stack trace · a4cd1eef
      clemensh authored
      This changes different locations to extract the reference to the wasm
      object and the function index from the stack trace, and make it
      available through all the APIs which process stack traces.
      The javascript CallSite object now has the new methods isWasm(),
      getWasmObject() and getWasmFunctionIndex(); the byte offset is
      available via getPosition().
      
      Function names of wasm frames should be fully functional with this
      commit, position information works reliably for calls, but not for
      traps like unreachable or out-of-bounds accesses.
      
      R=titzer@chromium.org, yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/1909353002
      Cr-Commit-Position: refs/heads/master@{#36067}
      a4cd1eef
  17. 04 May, 2016 1 commit
  18. 22 Apr, 2016 2 commits
  19. 19 Apr, 2016 2 commits
  20. 18 Apr, 2016 2 commits
  21. 17 Apr, 2016 1 commit
  22. 14 Apr, 2016 2 commits
  23. 13 Apr, 2016 1 commit
  24. 06 Apr, 2016 3 commits
    • clemensh's avatar
      Prepare StackFrame hierarchy & iterators for WASM · 08454486
      clemensh authored
      This particularly changes the StackTraceFrameIterator such that is not
      only returs JavaScriptFrames, but also WasmFrames. Because of that,
      some methods (Summarize, function, receiver) were pulled up to the
      StandardFrame, with specializations in JavaScriptFrame and WasmFrame.
      
      R=jfb@chromium.org, titzer@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1861283002
      
      Cr-Commit-Position: refs/heads/master@{#35293}
      08454486
    • clemensh's avatar
      Refactoring: Avoid redundant checks in SingletonFor · 9a65c0ef
      clemensh authored
      SingletonFor(type, state) returns NULL and does nothing whenever SingletonFor(type) also return NULL. So checking this beforehand is redundant.
      
      This is my first CL, so I also use it to get familiar with the system.
      
      R=titzer@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1862753003
      
      Cr-Commit-Position: refs/heads/master@{#35285}
      9a65c0ef
    • bmeurer's avatar
      [generators] Decouple generator resume from fullcodegen. · 974721c6
      bmeurer authored
      Introduce a ResumeGeneratorTrampoline, which does the actual stack state
      reconstruction (currently always restores a fullcodegen frame), and
      introduce appropriate TurboFan builtins for %GeneratorPrototype%.next,
      %GeneratorPrototype%.return and %GeneratorPrototype%.throw based on
      this native builtin.
      
      Also unify the flooding in case of step-in to always work based on
      JSFunction and remove the special casing for JSGeneratorObject.
      
      R=mstarzinger@chromium.org, neis@chromium.org
      TBR=rossberg@chromium.org
      BUG=chromium:513471
      LOG=n
      
      Review URL: https://codereview.chromium.org/1865833002
      
      Cr-Commit-Position: refs/heads/master@{#35283}
      974721c6
  25. 05 Apr, 2016 3 commits
  26. 01 Apr, 2016 1 commit
  27. 22 Mar, 2016 1 commit
    • bmeurer's avatar
      [builtins] Add support for JS builtins written in TurboFan. · 43fe7d68
      bmeurer authored
      This CL adds support for builtins with JavaScript linkage written using
      the TurboFan CodeStubAssembler, but with a JSCall descriptor (which was
      already supported thanks to a previous patch by Ben Smith). As a first
      example, we convert the Math.sqrt builtin and thereby get rid of the
      %_MathSqrt intrinsic, which causes trouble for the representation
      selection pass in the JavaScript pipeline.
      
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/1824993002
      
      Cr-Commit-Position: refs/heads/master@{#34989}
      43fe7d68
  28. 10 Mar, 2016 1 commit