Commit Graph

78536 Commits

Author SHA1 Message Date
Hao Xu
7112fe658d [turbofan][turboshaft] Improve the reduction of UintNLessThanOrEqual
Add "x <= 0 => x == 0" reduction when "x" is uint. This allows x64 to select shorter instructions:

Before:
  REX.W cmpq r9,0x0
  jna addr

After:
  REX.W testq r9,r9
  jz addr

This optimization is also ported to turboshaft.

Bug: v8:12783
Change-Id: I87dfd5879c047bb57d30e7a51a309106e3a519ae
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3967480
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Hao A Xu <hao.a.xu@intel.com>
Cr-Commit-Position: refs/heads/main@{#83994}
2022-10-31 14:31:45 +00:00
Victor Gomes
fbd4541fe7 [maglev] Tag Int32Constant in Phi boundaries
An Int32Constant might need to be tagged in Phi boundaries.
This exposes the Graph's smi constants to frames state
merger logic.

Bug: v8:7700, chromium:1378814, chromium:1379571
Change-Id: Ib373b44a76324eeb23cf9fef4483f70160cd54b4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3993220
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83993}
2022-10-31 14:30:41 +00:00
Maya Lekova
822959599a Revert "Update V8 DEPS (trusted)"
This reverts commit e47af00448.

Reason for revert: Clang roll closed the tree - https://bugs.chromium.org/p/v8/issues/detail?id=13438

Original change's description:
> Update V8 DEPS (trusted)
>
> Rolling v8/third_party/fuchsia-sdk/sdk: version:10.20221028.1.1..version:10.20221029.1.1
>
> Rolling v8/tools/clang: 38497db..df74e29
>
> Change-Id: Ib9b3a18e4f5cfc855adc929ffeed051b94992677
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988973
> Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
> Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#83991}

No-Tree-Checks: true
Change-Id: I4b5f918f5721e901e09aaf73568f3cdfcf19c88f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3991017
Owners-Override: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83992}
2022-10-31 14:10:59 +00:00
v8-ci-autoroll-builder
e47af00448 Update V8 DEPS (trusted)
Rolling v8/third_party/fuchsia-sdk/sdk: version:10.20221028.1.1..version:10.20221029.1.1

Rolling v8/tools/clang: 38497db..df74e29

Change-Id: Ib9b3a18e4f5cfc855adc929ffeed051b94992677
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988973
Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#83991}
2022-10-30 03:54:37 +00:00
Thibaud Michaud
4902d55fd6 [disasm] Fix FMA disassembly
R=gdeepti@chromium.org

Bug: v8:13431
Change-Id: I26e5e1097913f03bc8f46a2fdb31da6864eb87b3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990785
Auto-Submit: Thibaud Michaud <thibaudm@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83990}
2022-10-29 10:00:44 +00:00
Tobias Tebbi
b231572f8f [turboshaft] fix gcc build for SnapshotTable
https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20gcc%20-%20builder/1452/overview

Change-Id: Ifa02b725a6e01976f2eb5b54d427acf137e6c2f8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990830
Reviewed-by: Darius Mercadier <dmercadier@chromium.org>
Commit-Queue: Darius Mercadier <dmercadier@chromium.org>
Auto-Submit: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83989}
2022-10-29 07:10:04 +00:00
v8-ci-autoroll-builder
68511f137e Update V8 DEPS (trusted)
Rolling v8/build: 9ce69a9..dad0f9c

Rolling v8/buildtools: c50c0de..74edfb8

Rolling v8/buildtools/linux64: git_revision:11dc0b1f438bd26380774e9d50fd4c63f346d41a..git_revision:a4d67be044b42963de801001e7146f9657c7fad4

Rolling v8/buildtools/third_party/libc++/trunk: 47b3117..37a5b4f

Rolling v8/buildtools/third_party/libc++abi/trunk: c7b6fcf..8dd4051

Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/d2c6581..3ffa6b2

Rolling v8/third_party/fuchsia-sdk/sdk: version:10.20221027.2.1..version:10.20221028.1.1

Rolling v8/third_party/instrumented_libraries: 03ce9f0..7410f80

Rolling v8/third_party/jinja2: ee69aa0..4633bf4

Rolling v8/third_party/markupsafe: 1b882ef..13f4e8c

Change-Id: I5f96c730fd4222fb1ad5c64152f3d612aa4ac1e5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988968
Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#83988}
2022-10-29 03:53:34 +00:00
Shu-yu Guo
8b35091b2d Reland "[Promise.any] Fix errors allocation"
This is a reland of commit e08fa94bbc

Changes since revert:

Use max(remainingElements - 1, index + 1) instead of index + 1 as
newCapacity computation to avoid excessive allocations causing the
timeout.

Original change's description:
> [Promise.any] Fix errors allocation
>
> Bug: chromium:1379054
> Change-Id: Ibfcdd4ddc3c9a26471094074c8e7810d93abc898
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988924
> Commit-Queue: Marja Hölttä <marja@chromium.org>
> Auto-Submit: Shu-yu Guo <syg@chromium.org>
> Reviewed-by: Marja Hölttä <marja@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83968}

Bug: chromium:1379054
Change-Id: Ic788b8d0b42f4e24eaf8b2f2d05b24390fda247b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990627
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83987}
2022-10-28 18:00:59 +00:00
Milad Fa
4d5e5a0940 PPC[liftoff]: Implement simd128 bitwise ops
Change-Id: I6ffa0e5827cdc30d933ef888405c633d5a47545f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3989144
Reviewed-by: Junliang Yan <junyan@redhat.com>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#83986}
2022-10-28 16:38:39 +00:00
Milad Fa
708d75cd4c Introduce CONSTEXPR_UNREACHABLE
g++ versions <= 8 cannot use UNREACHABLE() in a
constexpr function. As a workaround a new macro is defined to
instead use `abort` if this feature is not properly handled by the
compiler.

Change-Id: Id6daf02b86c38daa12b7e6f42629091c9833f6fe
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988005
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#83985}
2022-10-28 16:33:49 +00:00
Thibaud Michaud
45427e4d77 [wasm][debug] Generate stack debug info on throw
R=clemensb@chromium.org

Bug: chromium:1378272
Change-Id: I79a22864914483e4f68f6d666dd2d8039d76b876
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990845
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83984}
2022-10-28 16:02:49 +00:00
Victor Gomes
d36d2561cb Reland "[maglev] Skip CallFunction stub when we know the target"
This is a reland of commit 5d2cb9bdd2
Fix this by not embedding the pointer directly

Original change's description:
> [maglev] Skip CallFunction stub when we know the target
>
> Bug: v8:7700
> Change-Id: Ie896f8dc40892c16995947b90b612a8091569929
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986726
> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
> Commit-Queue: Victor Gomes <victorgomes@chromium.org>
> Reviewed-by: Toon Verwaest <verwaest@chromium.org>
> Auto-Submit: Victor Gomes <victorgomes@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83973}

Bug: v8:7700
Fixed: chromium:1378814
Change-Id: I3eb1b95314d1f31d0d590e0a4643d58f4c161a83
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3991027
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83983}
2022-10-28 15:16:49 +00:00
Igor Sheludko
91869ce45e [ext-code-space][cleanup] Remove V8_REMOVE_BUILTINS_CODE_OBJECTS
... which is now an alias for V8_EXTERNAL_CODE_SPACE_BOOL.

Bug: v8:11880
Change-Id: I6fe3ee1ab7de7820671dc1543b233dbe18bd88d1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990752
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83982}
2022-10-28 14:06:59 +00:00
Leszek Swirski
e3d019e12e [maglev] Extract out DeoptFrame from DeoptInfo
Extract out a concept of a DeoptFrame from DeoptInfo, which separates
the frame state (like bytecode offset and registers) from deopt
information (like reason and PC).

The DeoptFrame is additionally subclassed to a separate
InterpretedDeoptFrame (with some tagged union magic rather than 'proper'
subclassing so that in the future all DeoptFrames are the same size and
aren't truncated by casting). This way we can add different frames in
the future, in particular builtin continuation frames.

Also this cleans up parent walks, since we no longer walk the caller
state and compilation unit separately.

Bug: v8:7700
Change-Id: I1cecb3ae805c55235b6d74ec114d72de98d3751e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985914
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83981}
2022-10-28 13:51:41 +00:00
Toon Verwaest
b391b42ac6 [maglev] Use unsafe smi untag where possible
Bug: v8:7700
Change-Id: Ib99c3641ebcf5d43cc0268271b5791e757ff13c9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990750
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83980}
2022-10-28 13:28:08 +00:00
Toon Verwaest
6cf7acb027 [maglev] Support non-growing transitioning stores
As a drive-by-fix this disables non-transitioning stores to constant
fields.

Bug: v8:7700
Change-Id: I8e8b8b126c2b1099af7953cb65827405bb583106
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990685
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83979}
2022-10-28 13:27:05 +00:00
Matthias Liedtke
9e2b7c683f Revert "[maglev] Skip CallFunction stub when we know the target"
This reverts commit 5d2cb9bdd2.

Reason for revert: Test failure for mjsunit/regress/regress-crbug-762472 in maglev variant.
https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20-%20debug/43512/overview

Original change's description:
> [maglev] Skip CallFunction stub when we know the target
>
> Bug: v8:7700
> Change-Id: Ie896f8dc40892c16995947b90b612a8091569929
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986726
> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
> Commit-Queue: Victor Gomes <victorgomes@chromium.org>
> Reviewed-by: Toon Verwaest <verwaest@chromium.org>
> Auto-Submit: Victor Gomes <victorgomes@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83973}

Bug: v8:7700
Change-Id: I20f7a76df4721fc9e26b36984003921f2b47646e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990751
Owners-Override: Matthias Liedtke <mliedtke@chromium.org>
Auto-Submit: Matthias Liedtke <mliedtke@chromium.org>
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#83978}
2022-10-28 12:35:59 +00:00
Marja Hölttä
1e199f11a6 [compiler] Fix the type of FindNonDefaultConstructorOrConstruct
Object doesn't mean an Object, but JSObject.

Bug: v8:13091,chromium:1374995
Change-Id: I7a9eef3de195c1aa7f2afd5ac3dbcac59b8b0781
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990786
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Auto-Submit: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83977}
2022-10-28 12:33:29 +00:00
Tobias Tebbi
6ab695c908 [turboshaft] avoid assertion violation caused by unreachable code
Fixed: chromium:1376861

Change-Id: Iec3101ab506b43c0dc4bead3742132c479301e26
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990783
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Darius Mercadier <dmercadier@chromium.org>
Auto-Submit: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83976}
2022-10-28 12:00:10 +00:00
Toon Verwaest
ba091da0b0 [maglev] Unsafely untag known smis
Bug: v8:7700
Change-Id: I60800b2a1ba9226289ca679ecf71766199b95850
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3987863
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83975}
2022-10-28 10:29:19 +00:00
Matthias Liedtke
6127ada1be Revert "[Promise.any] Fix errors allocation"
This reverts commit e08fa94bbc.

Reason for revert: Failing promise-overflow-2 test in CI: https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20-%20debug/43509/overview

Original change's description:
> [Promise.any] Fix errors allocation
>
> Bug: chromium:1379054
> Change-Id: Ibfcdd4ddc3c9a26471094074c8e7810d93abc898
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988924
> Commit-Queue: Marja Hölttä <marja@chromium.org>
> Auto-Submit: Shu-yu Guo <syg@chromium.org>
> Reviewed-by: Marja Hölttä <marja@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83968}

Bug: chromium:1379054
Change-Id: Ia3b90cc50adef5a27727b280b9499a9a902d9d60
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990784
Owners-Override: Matthias Liedtke <mliedtke@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83974}
2022-10-28 10:08:40 +00:00
Victor Gomes
5d2cb9bdd2 [maglev] Skip CallFunction stub when we know the target
Bug: v8:7700
Change-Id: Ie896f8dc40892c16995947b90b612a8091569929
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986726
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83973}
2022-10-28 09:59:19 +00:00
Toon Verwaest
febee4d3a0 [maglev] Use more type info
Add types for Number, JSReceiver and Name, and use them to possibly
avoid Check<Type>/To<Type>. Avoid inserting info in the
known_node_aspects when the same info is already available statically
from the node opcode.

Bug: v8:7700
Change-Id: Ie15228e1094ebfc03c83da9f71b1be97806be54d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986490
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83972}
2022-10-28 09:42:29 +00:00
Dominik Inführ
ee6a0dafaf [heap] Allow shared space pointers to evacuation candidates
With --shared-space incremental marking might happen even on pages
in the shared heap. This means that scavengers during incremental
marking might be able to discover shared space pointers that point
to an evacuation candidate.

This isn't possible with the shared isolate where no incremental
marking was supported.

Bug: v8:13267
Change-Id: I68d09fda6d3ec44a488f12f454db4a29b481e266
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990563
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83971}
2022-10-28 08:46:49 +00:00
Leszek Swirski
da04b88f69 Revert "[ic] Remove SameValue optimisation for constant fields"
This reverts commit e7f6d34cfe.

Reason for revert: Regressions and clusterfuzz bugs

Original change's description:
> [ic] Remove SameValue optimisation for constant fields
>
> We would previously try to preserve field constness if field assignment
> was assigning the same value. It's unexpected that real-life code would
> be assigning the same value multiple times to an intentionally constant
> field, so this was additional bookkeeping with unclear value.
>
> Replace this with not doing it, and considering any write to a constant
> field to convert it to mutable. In particular, this means that stores to
> existing constant fields in TurboFan become unconditional deopts, rather
> than emitting additional code to check whether the value is the same.
>
> Locally, this deopt doesn't fire on our peak-performance benchmarks.
>
> Bug: v8:5495
> Change-Id: I12216c5f10a00f42be32c64ca3afe7cf59b4e7f3
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3976516
> Commit-Queue: Leszek Swirski <leszeks@chromium.org>
> Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
> Reviewed-by: Igor Sheludko <ishell@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83955}

Bug: v8:5495
Change-Id: Ifeeceb773af04e9dd5e069821cd128a1cdbedcf5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990683
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Owners-Override: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#83970}
2022-10-28 08:23:09 +00:00
Shu-yu Guo
ec4680f79c [Promise.allSettled] Mark values array as COW
Bug: chromium:1377790
Change-Id: I36bb9e35ca7ecaaa7ed4605f1a19293bc662f341
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988925
Auto-Submit: Shu-yu Guo <syg@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83969}
2022-10-28 08:12:59 +00:00
Shu-yu Guo
e08fa94bbc [Promise.any] Fix errors allocation
Bug: chromium:1379054
Change-Id: Ibfcdd4ddc3c9a26471094074c8e7810d93abc898
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988924
Commit-Queue: Marja Hölttä <marja@chromium.org>
Auto-Submit: Shu-yu Guo <syg@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83968}
2022-10-28 07:45:09 +00:00
Michael Achenbach
dc2933e61b [build] Remove configs of removed bots
The following bots were removed or renamed:
v8_fuchsia_compile_rel
v8_linux64_gcc_compile_rel
v8_win_compile_dbg
v8_win64_msvc_compile_rel
v8_mac_arm64_compile_rel
v8_mac_arm64_compile_dbg
v8_mac_arm64_sim_compile_rel
v8_mac_arm64_sim_compile_dbg
v8_mac64_asan_compile_rel

They are all auto-generated as compilators.

Bug: chromium:890222
Change-Id: I893eb06497084976ed0b162ea2e252419c0884b8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3988264
Auto-Submit: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Alexander Schulze <alexschulze@chromium.org>
Commit-Queue: Alexander Schulze <alexschulze@chromium.org>
Reviewed-by: Liviu Rau <liviurau@google.com>
Cr-Commit-Position: refs/heads/main@{#83967}
2022-10-28 06:38:48 +00:00
Tobias Tebbi
bfda81d1a1 [turboshaft] introduce SnapshotTable
Bug: v8:12783

Change-Id: Ie8e578105065ed5ad833fbf2a525b149e39d3424
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3971368
Reviewed-by: Darius Mercadier <dmercadier@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Auto-Submit: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83966}
2022-10-28 06:36:55 +00:00
v8-ci-autoroll-builder
f018f2a146 Update V8 DEPS (trusted)
Rolling v8/build: 4e03165..9ce69a9

Rolling v8/buildtools: ddc9513..c50c0de

Rolling v8/buildtools/linux64: git_revision:3e98c606ed0dff59fa461fbba4892c0b6de1966e..git_revision:11dc0b1f438bd26380774e9d50fd4c63f346d41a

Rolling v8/buildtools/third_party/libc++/trunk: baa43f8..47b3117

Rolling v8/buildtools/third_party/libc++abi/trunk: 519e9ef..c7b6fcf

Rolling v8/buildtools/third_party/libunwind/trunk: 1f633d4..aabcd87

Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/2f63d55..d2c6581

Rolling v8/third_party/fuchsia-sdk/sdk: version:10.20221026.0.1..version:10.20221027.2.1

Rolling v8/third_party/instrumented_libraries: f764ffc..03ce9f0

Rolling v8/tools/clang: 87d0b8c..38497db

Change-Id: I2b6f402b468a5607b3cbb347f015ac7634a5492f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990203
Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#83965}
2022-10-28 04:25:36 +00:00
Shu-yu Guo
4cb4c0723d [test262] Support the 'raw' flag
Tests flagged as 'raw' need to run without the harness. The language/module-code/eval-gtbndng-indirect-faux-assertion test was failing only because it was running with the harness.

Bug: v8:10958
Change-Id: If00f3ec8abc697d9b3727691e12ae0da7ce8c785
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3984052
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83964}
2022-10-27 20:08:39 +00:00
Andreu Botella
9df5ef70ff Add an v8::ArrayBuffer::WasDetached method to the C++ API
V8's C++ API does not give a way to tell whether an ArrayBuffer has
been detached from the `v8::ArrayBuffer` class. In fact, as far as can
be told from the C++ API without running JS code, detached
ArrayBuffers behave the same as zero-sized ArrayBuffers and there is
no way to observe the difference. However, this difference can be
observed in JS because constructing a TypedArray from a detached
ArrayBuffer will throw.

This change adds a `WasDetached` method to the `v8::ArrayBuffer` class
to give embedders access to this information without having to run JS
code.

Bug: v8:13159
Change-Id: I2bb1e380cee1cecd31f6d48ec3d9f28c03a8a673
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3810345
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83963}
2022-10-27 20:04:25 +00:00
Dominik Inführ
b799750f0a [heap] Allow Heap::ClearRecordedSlotRange in SHARED_SPACE
During String::MakeThin, Heap::ClearRecordedSlotRange might be
invoked on a string in SHARED_SPACE. This can also happen outside
GCs.

Bug: v8:13267
Change-Id: I10d4d7f0b47589127e4a080ce49d69ca7486fc67
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985911
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Auto-Submit: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Patrick Thier <pthier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83962}
2022-10-27 16:26:35 +00:00
Darius M
b35d549082 [turboshaft] Change Reducer stack architecture
Bug: v8:12783
Change-Id: If30dea88ce237c04261dc942ee9f1547a1c45252
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3982114
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Darius Mercadier <dmercadier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83961}
2022-10-27 16:08:45 +00:00
Nikolaos Papaspyrou
dbda17a58e [heap] Fix tests for OSB and CSS
Since crrev.com/c/3973310 which renamed the isolate scopes, the unit and
cctests for the object-start bitmap and the conservative stack visitor
have broken.

Bug: v8:13257
Change-Id: If8a498827f2085108cf0740a9c5c994145424fc3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3980255
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83960}
2022-10-27 15:52:05 +00:00
Thibaud Michaud
f517e518af [wasm] Reload cached instance fields in catch handler
The memory start and size are reloaded after a call in case the call
grows the memory. We should also reload them when the call throws.

We don't need to reload in the 'delegate' case since this will be
handled by the catch handler that it delegates to.

R=jkummerow@chromium.org

Bug: chromium:1377816
Change-Id: Ied1cdb6ed83c1de6a5992df21d776aca9ccf02e6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3982115
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83959}
2022-10-27 13:56:16 +00:00
Michael Achenbach
648958bab5 [build] Prepare renaming msvc compile trybot
No-Try: true
Bug: chromium:890222
Change-Id: Id18d1631a54ce792669e428f2d3ea8edfca49f44
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985912
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Liviu Rau <liviurau@google.com>
Reviewed-by: Liviu Rau <liviurau@google.com>
Auto-Submit: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83958}
2022-10-27 13:44:45 +00:00
Thibaud Michaud
caaaec8451 [wasm-relaxed-simd] Fix Liftoff FMA dst register
R=clemensb@chromium.org

Change-Id: Ib65dc59d3c68fd563953a1ee8ec50d9c54310747
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985845
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83957}
2022-10-27 13:38:35 +00:00
Nico Hartmann
cfc4a2d16e Reland^2 "[turbofan] Optimize rab/gsab-backed TypedArrays and DataViews"
This reverts commit 57db447bf2.

This reland adds handling for Oddballs in Int64Add and Int64Sub in the
SLVerifier and updates the Verifier to check that Int32Constant and
Int64Constant are correctly typed with Type::Machine().

Original change's description:
> [turbofan] Optimize rab/gsab-backed TypedArrays and DataViews
>
> This CL adds TurboFan optimizations for length and element access
> of TypedArrays and DataViews that are rab/gsab-backed.
>
> To enable this optimization, this CL builds the necessary machinery
> required to allow machine operators at the front of the pipeline
> (before simplified lowering). Some key changes to allow this are:
>  - Introduce Type::Machine() to allow the typer and the verifier to
>    provide a type to those machine operators in parts of the pipeline
>    that require nodes to be typed.
>  - Add EnterMachineGraph and ExitMachineGraph operators that define
>    the boundary between early machine graphs and the normal graph with
>    JS semantics.
>  - Give Branch operators a BranchSemantics parameter to distinguish
>    between machine branches (condition is a machine level value) and
>    JS branches (condition is a JS boolean value) and have phases that
>    handle branches decide on the branch's semantics based on this
>    parameter instead of the position in the pipeline.
>  - Extend SimplifiedLowering and SimplifiedLoweringVerifier to handle
>    machine graphs. In particular, constants required special handling,
>    because they are cached in the graph but they may have uses in both
>    a machine and the JS graph, which prevents consistent typing of
>    them.
>  - Moved lots of logic from JSCallReducerAssembler into
>    [JS]GraphAssembler such that functionality can be shared between
>    different phases (e.g. JSNativeContextSpecialization and
>    JSCallReducer need to generate logic to compute a TypedArray's
>    byte length). Extended assembler interface in general with
>    additional TNode<> overloads.
>
>
> Bug: v8:11111, chromium:1358505
> Change-Id: Ife006b8c38a83045cd3b8558acbfdcb66408891f
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3898690
> Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
> Reviewed-by: Clemens Backes <clemensb@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83881}

Bug: v8:11111, chromium:1358505, v8:13412, chromium:1378439, chromium:1378162
Change-Id: I89702c4be05e0e71cd6836dc50d2e26736a55429
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3980759
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83956}
2022-10-27 13:06:06 +00:00
Leszek Swirski
e7f6d34cfe [ic] Remove SameValue optimisation for constant fields
We would previously try to preserve field constness if field assignment
was assigning the same value. It's unexpected that real-life code would
be assigning the same value multiple times to an intentionally constant
field, so this was additional bookkeeping with unclear value.

Replace this with not doing it, and considering any write to a constant
field to convert it to mutable. In particular, this means that stores to
existing constant fields in TurboFan become unconditional deopts, rather
than emitting additional code to check whether the value is the same.

Locally, this deopt doesn't fire on our peak-performance benchmarks.

Bug: v8:5495
Change-Id: I12216c5f10a00f42be32c64ca3afe7cf59b4e7f3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3976516
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83955}
2022-10-27 13:05:03 +00:00
Dominik Inführ
60f29614e3 Revert "Reland^3 "[heap] Enable --shared-space flag by default""
This reverts commit 0b251add9b.

Reason for revert: Causes crashes in https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux%20-%20debug/41507/overview

Original change's description:
> Reland^3 "[heap] Enable --shared-space flag by default"
>
> This is a reland of commit 1352f2969a
>
> Original change's description:
> > Reland^2 "[heap] Enable --shared-space flag by default"
> >
> > This is a reland of commit 3df866d67d
> >
> > Original change's description:
> > > Reland "[heap] Enable --shared-space flag by default"
> > >
> > > This is a reland of commit 934afdf0d1
> > >
> > > After landing https://crrev.com/c/3959774 try to re-enable
> > > --shared-space again.
> > >
> > > Original change's description:
> > > > [heap] Enable --shared-space flag by default
> > > >
> > > > This switches V8 to the shared space isolate approach for the shared
> > > > heap by default.
> > > >
> > > > Bug: v8:13267
> > > > Change-Id: I06d36468a3a6b098475ec2bbfa998cb1934afe81
> > > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3925754
> > > > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> > > > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> > > > Cr-Commit-Position: refs/heads/main@{#83701}
> > >
> > > Bug: v8:13267
> > > Change-Id: Icb3cfd7c1da2d2420741057c26d32893a6edc80c
> > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3959695
> > > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> > > Auto-Submit: Dominik Inführ <dinfuehr@chromium.org>
> > > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
> > > Cr-Commit-Position: refs/heads/main@{#83742}
> >
> > Bug: v8:13267
> > Change-Id: I8d44788d05fd7aaf04ac528db5bb7ae98ee980ec
> > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3961511
> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#83816}
>
> Bug: v8:13267
> Change-Id: I212b47c9c8aa5d818c2875f10cc18b7b16233a0b
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3971118
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83947}

Bug: v8:13267
Change-Id: I51cc3071c2e0ff6c9e75d92ab606b348da317502
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986724
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#83954}
2022-10-27 13:03:04 +00:00
Leszek Swirski
4d8055d41e [maglev] Use accessors for DeoptInfo fields
... so that we can add logic to them later for builtin continuation
deopts.

Bug: v8:7700
Change-Id: I03a616243efecb5d637d6ab7d078392a0c51abf4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985907
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83953}
2022-10-27 11:27:24 +00:00
Matthias Liedtke
8852999115 [fuzzer][wasm] Allow struct.new_default for structs with immutable fields
This is a follow-up to commit d1a11dd15a.
This reverts commit 9182c028c1.

Change-Id: I4555f329314955e6a4a40dd40e22dc12a570c89e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986086
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Auto-Submit: Matthias Liedtke <mliedtke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83952}
2022-10-27 11:23:42 +00:00
Victor Gomes
212028f4eb [cleanup] Dead code in InvokePrologue stub
kDontAdaptArgumentsSentinel is now always equal to zero.

Change-Id: I8f0a930b22cdc88279de66324c23800dd3a93bb4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985725
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Patrick Thier <pthier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83951}
2022-10-27 11:17:32 +00:00
Matthias Liedtke
f1d16aebe4 [wasm-gc] Skip null-check for casts of any to non-nullable type
We can skip explicit null check for casts from any to a non-nullable
type as they have to perform an instance type check afterwards as part
of the cast and trap if they encounter a non-wasm object (null is not
a wasm object).
The same is true for type checks which fail on null.

Bug: v8:7748
Change-Id: I41ec225618a400feec5dab210fbf7c1bc2718c8f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3981859
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org>
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83950}
2022-10-27 10:34:14 +00:00
Michael Achenbach
53e69521f4 [build] Equally compile on mac_arm64 sim trybots
Bug: chromium:890222
Change-Id: I85cd713da582c42efb83417850493f3b0f7b8c29
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3986027
Auto-Submit: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Alexander Schulze <alexschulze@chromium.org>
Commit-Queue: Alexander Schulze <alexschulze@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83949}
2022-10-27 10:33:11 +00:00
Manos Koukoutos
1717a1c1b8 [wasm-gc] Fix type union bug
Bug: v8:13422, v8:7748
Change-Id: I0eef5ec4bf7699d374e32d6af566babde3d97aa9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3985866
Reviewed-by: Matthias Liedtke <mliedtke@chromium.org>
Auto-Submit: Manos Koukoutos <manoskouk@chromium.org>
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83948}
2022-10-27 10:23:41 +00:00
Dominik Inführ
0b251add9b Reland^3 "[heap] Enable --shared-space flag by default"
This is a reland of commit 1352f2969a

Original change's description:
> Reland^2 "[heap] Enable --shared-space flag by default"
>
> This is a reland of commit 3df866d67d
>
> Original change's description:
> > Reland "[heap] Enable --shared-space flag by default"
> >
> > This is a reland of commit 934afdf0d1
> >
> > After landing https://crrev.com/c/3959774 try to re-enable
> > --shared-space again.
> >
> > Original change's description:
> > > [heap] Enable --shared-space flag by default
> > >
> > > This switches V8 to the shared space isolate approach for the shared
> > > heap by default.
> > >
> > > Bug: v8:13267
> > > Change-Id: I06d36468a3a6b098475ec2bbfa998cb1934afe81
> > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3925754
> > > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> > > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> > > Cr-Commit-Position: refs/heads/main@{#83701}
> >
> > Bug: v8:13267
> > Change-Id: Icb3cfd7c1da2d2420741057c26d32893a6edc80c
> > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3959695
> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> > Auto-Submit: Dominik Inführ <dinfuehr@chromium.org>
> > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#83742}
>
> Bug: v8:13267
> Change-Id: I8d44788d05fd7aaf04ac528db5bb7ae98ee980ec
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3961511
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83816}

Bug: v8:13267
Change-Id: I212b47c9c8aa5d818c2875f10cc18b7b16233a0b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3971118
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83947}
2022-10-27 10:16:31 +00:00
Darius M
0ce2731067 [compiler] fix bug in inlining of Array.At
The inlined version of Array.At was only checking the kind of the
maps, rather than the maps themselves. When the feedback was
containing an array map that "supports_fast_array_iteration", then its
kind was added to the list of supported kinds. If this Array.at was
later called with a non-array map with the same kind, then the object
would be wrongly treated as an array.

This is now fixed: inlining Array.at checks the maps directly rather
than only their kinds.

Fixed: chromium:1377775
Change-Id: I6669ffdc04df04a7c9d00d6b9f8bac82dc9cd235
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3981554
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Darius Mercadier <dmercadier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83946}
2022-10-27 09:54:51 +00:00
Matthias Liedtke
f257ed51ad [wasm-gc] Fix missing instance type check for concrete casts from any
The newly added cast instructions can cast from {any} type, resulting
in the cast instructions with a concrete type having to also check if
an object actually is a wasm object (and not e.g. a JS object) before
loading the WasmTypeInfo from its map.

Bug: v8:7748
Change-Id: Ia9c1d35fb9de016af4984883f1374fd5238ce6ea
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3981858
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org>
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83945}
2022-10-27 09:37:02 +00:00