1. 09 Mar, 2018 9 commits
    • jgruber's avatar
      Reland "[builtins] Execute binary-embedded builtin code" · 5025e415
      jgruber authored
      This is a reland of 6afd25ff
      
      Original change's description:
      > [builtins] Execute binary-embedded builtin code
      >
      > This CL creates trampolines into binary-embedded builtins on
      > isolate-creation, if --stress-off-heap-code is passed.
      >
      > Note that this still overwrites existing code objects with the
      > off-heap trampoline, and that off-heap builtins still exist both in
      > the snapshot and the binary. Addressing these points are the next
      > steps.
      >
      > Drive-by-change: More efficient off-heap code lookups now that the
      > off-heap memory area has a contiguous and static layout.
      >
      > Cq-Include-Trybots: luci.v8.try:v8_linux64_fyi_rel_ng
      > Bug: v8:6666
      > Change-Id: I7e7ef0aa2cd7b8184ae3a13fa02bdcbb4f2c9f86
      > Reviewed-on: https://chromium-review.googlesource.com/947969
      > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#51809}
      
      TBR=mstarzinger@chromium.org
      
      Bug: v8:6666
      Change-Id: I4e0684de90733e5f18f6f0ea4832e327d03dfbf7
      Cq-Include-Trybots: luci.v8.try:v8_linux64_fyi_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/955595Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51835}
      5025e415
    • Clemens Hammacher's avatar
      [arm64] Fix compile error in Simulator · b3f4a377
      Clemens Hammacher authored
      Some compilers complain that ConvertReturn is private in SimulatorBase,
      but used in the arm64 Simulator. This CL fixes this by making
      ConvertReturn protected.
      
      R=ulan@chromium.org
      
      Bug: v8:7541
      Change-Id: I9326b2c746829e9c37c58c14561811b32929c615
      Reviewed-on: https://chromium-review.googlesource.com/955689Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51834}
      b3f4a377
    • Marja Hölttä's avatar
      [iwyu] Fixes related to factory.h · 43d86966
      Marja Hölttä authored
      BUG=v8:7490
      
      Change-Id: I07905a57c47ad6663d2d7f6bf539858bed1041f1
      Reviewed-on: https://chromium-review.googlesource.com/939164Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Commit-Queue: Marja Hölttä <marja@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51833}
      43d86966
    • jgruber's avatar
      Reland "[builtins] Embed builtins into the binary" · e6476f89
      jgruber authored
      This is a reland of 491d5a81
      
      Original change's description:
      > [builtins] Embed builtins into the binary
      >
      > This embeds code for off-heap-safe builtins into the binary. Actual
      > execution of embedded code is not implemented yet.
      >
      > The embedded file has the following format:
      >
      > namespace v8 {
      > namespace internal {
      >
      > namespace {
      >
      > V8_EMBEDDED_TEXT_HEADER(v8_embedded_blob_)
      > __asm__( /* builtin offsets and lengths */ );
      > __asm__(V8_ASM_LABEL("Builtins_RecordWrite"));
      > __asm__( /* binary instruction stream */ );
      > /* Repeat for other builtins. */
      >
      > extern "C" const uint8_t v8_embedded_blob_[];
      > static const uint32_t v8_embedded_blob_size_ = /* size in bytes */;
      >
      > }  // namespace
      >
      > const uint8_t* DefaultEmbeddedBlob() { return v8_embedded_blob_; }
      > uint32_t DefaultEmbeddedBlobSize() { return v8_embedded_blob_size_; }
      >
      > }  // namespace internal
      > }  // namespace v8
      >
      > Bug: v8:6666
      > Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.v8.try:v8_linux64_fyi_rel_ng
      > Change-Id: Ic989f01da69ebe2863f31d934bfbe2c5d6e80864
      > Reviewed-on: https://chromium-review.googlesource.com/946011
      > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#51759}
      
      TBR=yangguo@chromium.org
      
      Bug: v8:6666
      Change-Id: I89b0498f22b4ce573723748d55d86a82ba285a88
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.v8.try:v8_linux64_fyi_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/957024Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51832}
      e6476f89
    • Stephan Herhut's avatar
      Make V8DebuggerScript parameters const again. · fc45d0f4
      Stephan Herhut authored
      This reverts a previous accidential edit.
      
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: Ib6a2e31f600de242e960171dd921387e897e3bc9
      Reviewed-on: https://chromium-review.googlesource.com/951305Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Commit-Queue: Stephan Herhut <herhut@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51831}
      fc45d0f4
    • Yang Guo's avatar
      [debug] support break points on API functions. · c242f27e
      Yang Guo authored
      R=jgruber@chromium.org
      
      Bug: v8:178
      Change-Id: I1cabed9aa2a04f86e582ba09742b2e2857a40f27
      Reviewed-on: https://chromium-review.googlesource.com/956045Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51830}
      c242f27e
    • Leszek Swirski's avatar
      Revert "[builtins] Remove CheckOptimizationMarker builtin" · 37c36263
      Leszek Swirski authored
      This reverts commit daa224d4.
      
      Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=819873
      
      Original change's description:
      > [builtins] Remove CheckOptimizationMarker builtin
      > 
      > This was a shim for the non-I+TF codepath, which is now the only
      > codepath (that still uses this tier-up mechanism anyway). There were a
      > couple of places we were accidentally using it due to CompileLazy or
      > deopts, so this also fixes those.
      > 
      > Change-Id: I00a7fdf9fb5cf74844138dac62d01ceaaf192e17
      > Reviewed-on: https://chromium-review.googlesource.com/951490
      > Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#51786}
      
      TBR=rmcilroy@chromium.org,machenbach@chromium.org,leszeks@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Change-Id: I80765eb18aaf5086e6db5d5df96f608a317c999f
      Reviewed-on: https://chromium-review.googlesource.com/957022Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51829}
      37c36263
    • Jakob Gruber's avatar
      Revert "Reland "[builtins] Embed builtins into the binary"" · 481aa56d
      Jakob Gruber authored
      This reverts commit 36b32aa2.
      
      Reason for revert: https://build.chromium.org/p/client.v8.fyi/builders/Win%20V8%20FYI%20Release%20%28NVIDIA%29/builds/208
      
      Original change's description:
      > Reland "[builtins] Embed builtins into the binary"
      > 
      > This is a reland of 491d5a81
      > 
      > Original change's description:
      > > [builtins] Embed builtins into the binary
      > >
      > > This embeds code for off-heap-safe builtins into the binary. Actual
      > > execution of embedded code is not implemented yet.
      > >
      > > The embedded file has the following format:
      > >
      > > namespace v8 {
      > > namespace internal {
      > >
      > > namespace {
      > >
      > > V8_EMBEDDED_TEXT_HEADER(v8_embedded_blob_)
      > > __asm__( /* builtin offsets and lengths */ );
      > > __asm__(V8_ASM_LABEL("Builtins_RecordWrite"));
      > > __asm__( /* binary instruction stream */ );
      > > /* Repeat for other builtins. */
      > >
      > > extern "C" const uint8_t v8_embedded_blob_[];
      > > static const uint32_t v8_embedded_blob_size_ = /* size in bytes */;
      > >
      > > }  // namespace
      > >
      > > const uint8_t* DefaultEmbeddedBlob() { return v8_embedded_blob_; }
      > > uint32_t DefaultEmbeddedBlobSize() { return v8_embedded_blob_size_; }
      > >
      > > }  // namespace internal
      > > }  // namespace v8
      > >
      > > Bug: v8:6666
      > > Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.v8.try:v8_linux64_fyi_rel_ng
      > > Change-Id: Ic989f01da69ebe2863f31d934bfbe2c5d6e80864
      > > Reviewed-on: https://chromium-review.googlesource.com/946011
      > > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      > > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#51759}
      > 
      > TBR=yangguo@chromium.org
      > 
      > Bug: v8:6666
      > Change-Id: I741554cb080b6811dfbcb0913c6e1594e74c0432
      > Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.v8.try:v8_linux64_fyi_rel_ng
      > Reviewed-on: https://chromium-review.googlesource.com/955084
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#51804}
      
      TBR=yangguo@chromium.org,jgruber@chromium.org
      
      Change-Id: I0e21f958f18b0e4d7edebece5e4a2a3ea094cdd3
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:6666
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.v8.try:v8_linux64_fyi_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/956185Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51828}
      481aa56d
    • v8-autoroll's avatar
      Update V8 DEPS. · 106d4074
      v8-autoroll authored
      Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/ca739dc..d8b353b
      
      Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/406b235..df668c3
      
      TBR=machenbach@chromium.org,hablich@chromium.org,sergiyb@chromium.org
      
      Change-Id: I3712e0f496692dc50d2ee4e8374cc025a54658cd
      Reviewed-on: https://chromium-review.googlesource.com/955914
      Commit-Queue: v8 autoroll <v8-autoroll@chromium.org>
      Reviewed-by: 's avatarv8 autoroll <v8-autoroll@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51827}
      106d4074
  2. 08 Mar, 2018 31 commits