1. 15 May, 2019 1 commit
  2. 22 Mar, 2018 1 commit
  3. 28 Nov, 2017 2 commits
    • Michael Achenbach's avatar
      Revert "[platform][cleanup] Fix --enable-tracing" · 10f4e6c3
      Michael Achenbach authored
      This reverts commit 61367a25.
      
      Reason for revert: http://shortn/_amqTfxgjk0
      
      Original change's description:
      > [platform][cleanup] Fix --enable-tracing
      > 
      > The flag --enable-tracing can be used to measure how much time is spent
      > in a scope. In d8 this flag did not work properly for the following
      > reasons:
      > 
      > * The tracing file is not written when the JavaScript code calls quit().
      > 
      > * The tracing file is not written when the JavaScript code throws an
      > uncaught exception, except if the --throws flag is passed to d8.
      > 
      > The reason for these two issues is that both call Shell::Exit(), which
      > end d8 immediately without calling any destructors. In addition I moved
      > in a recent CL the destruction of the platform after the destruction of
      > the file handle for the tracing file. Thereby the tracing file did not
      > get filled with content even destructors were executed.
      > 
      > With this CL I also call the destructors of the platform and of the file
      > handle in the Shell::Exit() function. For this I make Shell::Exit()
      > platform independent and let it call the platform dependent
      > Shell::OSExit() at the end.
      > 
      > R=​rmcilroy@chromium.org
      > 
      > Change-Id: I14425b6a5c25b757211bc8b9959a9cc8bfa0602c
      > Reviewed-on: https://chromium-review.googlesource.com/789038
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Commit-Queue: Andreas Haas <ahaas@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#49659}
      
      TBR=rmcilroy@chromium.org,ahaas@chromium.org
      
      Change-Id: I17c6f19c38cb337b00707f606f267b52b7f2c1e6
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/792991Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49663}
      10f4e6c3
    • Andreas Haas's avatar
      [platform][cleanup] Fix --enable-tracing · 61367a25
      Andreas Haas authored
      The flag --enable-tracing can be used to measure how much time is spent
      in a scope. In d8 this flag did not work properly for the following
      reasons:
      
      * The tracing file is not written when the JavaScript code calls quit().
      
      * The tracing file is not written when the JavaScript code throws an
      uncaught exception, except if the --throws flag is passed to d8.
      
      The reason for these two issues is that both call Shell::Exit(), which
      end d8 immediately without calling any destructors. In addition I moved
      in a recent CL the destruction of the platform after the destruction of
      the file handle for the tracing file. Thereby the tracing file did not
      get filled with content even destructors were executed.
      
      With this CL I also call the destructors of the platform and of the file
      handle in the Shell::Exit() function. For this I make Shell::Exit()
      platform independent and let it call the platform dependent
      Shell::OSExit() at the end.
      
      R=rmcilroy@chromium.org
      
      Change-Id: I14425b6a5c25b757211bc8b9959a9cc8bfa0602c
      Reviewed-on: https://chromium-review.googlesource.com/789038Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49659}
      61367a25
  4. 22 Aug, 2017 3 commits
    • Leszek Swirski's avatar
      [d8] Allow reading files from a TCP socket · 4c54a218
      Leszek Swirski authored
      Reland of https://chromium-review.googlesource.com/c/v8/v8/+/623790
      
      Add a --read-from-tcp flag to d8, which makes file reads (including
      reading files from arguments, and the load and read builtins) read the
      file contents off a TCP socket using a simple request/response protocol.
      
      On top of this, add a script for transparently running d8 on an android
      device using adb. The script loads d8 onto the device, starts a file
      server providing the above protocol, and uses the above flag to run a d8
      which loads javascript sources off the computer rather than off the
      device.
      
      Change-Id: I82a25be900c7608ed4c3a35828757a870ca2e115
      Reviewed-on: https://chromium-review.googlesource.com/626396Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47513}
      4c54a218
    • Leszek Swirski's avatar
      Revert "[d8] Allow reading files from a TCP socket" · de87b879
      Leszek Swirski authored
      This reverts commit 29ad1235.
      
      Reason for revert: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20shared/builds/19576
      
      Original change's description:
      > [d8] Allow reading files from a TCP socket
      > 
      > Add a --read-from-tcp flag to d8, which makes file reads (including
      > reading files from arguments, and the load and read builtins) read the
      > file contents off a TCP socket using a simple request/response protocol.
      > 
      > On top of this, add a script for transparently running d8 on an android
      > device using adb. The script loads d8 onto the device, starts a file
      > server providing the above protocol, and uses the above flag to run a d8
      > which loads javascript sources off the computer rather than off the
      > device.
      > 
      > Change-Id: Icaa0577beb9bcd4f93476faa3ad8fb8b0a165e6e
      > Reviewed-on: https://chromium-review.googlesource.com/623790
      > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#47511}
      
      TBR=rmcilroy@chromium.org,leszeks@chromium.org
      
      Change-Id: I2de4a12aa8cb0d228df3e5793d997b9145f4da42
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/626017Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47512}
      de87b879
    • Leszek Swirski's avatar
      [d8] Allow reading files from a TCP socket · 29ad1235
      Leszek Swirski authored
      Add a --read-from-tcp flag to d8, which makes file reads (including
      reading files from arguments, and the load and read builtins) read the
      file contents off a TCP socket using a simple request/response protocol.
      
      On top of this, add a script for transparently running d8 on an android
      device using adb. The script loads d8 onto the device, starts a file
      server providing the above protocol, and uses the above flag to run a d8
      which loads javascript sources off the computer rather than off the
      device.
      
      Change-Id: Icaa0577beb9bcd4f93476faa3ad8fb8b0a165e6e
      Reviewed-on: https://chromium-review.googlesource.com/623790
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47511}
      29ad1235
  5. 07 Nov, 2016 1 commit
  6. 20 Jul, 2015 1 commit
  7. 17 Jul, 2015 2 commits
  8. 27 Jun, 2014 1 commit
  9. 20 Jun, 2014 1 commit
  10. 03 Jun, 2014 1 commit
  11. 29 Apr, 2014 1 commit
  12. 22 Nov, 2013 1 commit
  13. 31 Mar, 2009 3 commits
  14. 27 Mar, 2009 1 commit
  15. 16 Jan, 2009 1 commit
  16. 14 Jan, 2009 1 commit
  17. 26 Sep, 2008 1 commit
  18. 09 Sep, 2008 1 commit
  19. 22 Aug, 2008 1 commit
    • christian.plesner.hansen's avatar
      Included mjsunit JavaScript test suite and C++ unit tests. · c42f5829
      christian.plesner.hansen authored
      In the shell sample don't print the result of executing a script, only
      evaluating expressions.
      
      Fixed issue when building samples on Windows using a shared V8
      library.  Added visibility option on Linux build which makes the
      generated library 18% smaller.
      
      Changed build system to accept multiple build modes in one build and
      generate seperate objects, libraries and executables for each mode.
      
      Removed deferred negation optimization (a * -b => -(a * b)) since this
      visibly changes operand conversion order.
      
      Improved parsing performance by introducing stack guard in preparsing.
      Without a stack guard preparsing always bails out with stack overflow.
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c42f5829
  20. 03 Jul, 2008 1 commit