- 18 Nov, 2021 12 commits
-
-
Victor Gomes authored
When compiling code off-thread in the large code space, we need to register the chunk in the isolate using AddCodeMemoryChunk. In the main thread, this is done when AllocateRaw calls NotifyOldGenerationExpansion. Bug: chromium:1269315, v8:12054 Change-Id: I46ea5c9cdcd063708292dd49aac6d39091e11ba4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289151 Auto-Submit: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#77968}
-
Patrick Thier authored
Raise an exception if CallFunction is invoked with a class constructor. The check was initially removed in [1] but there are cases where we could end in CallFunction with class constructors from optimized code. [1] https://crrev.com/c/3186434 Bug: chromium:1271384 Change-Id: I0d700c4b1d117334c1c4c14719e24cd1f2c5e3a2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3291313 Commit-Queue: Patrick Thier <pthier@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#77967}
-
Tobias Tebbi authored
Undetectables are always callable in V8, so the previous type check didn't make sense. Bug: chromium:1267230 Change-Id: Idb557bb05ee4c3b332d1fe61b40557122660261a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3291303Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/main@{#77966}
-
Manos Koukoutos authored
We prevent unrolling of loops with indirect calls. We expand the set of permitted wasm builtins in unrolled loops. Bug: v8:11298 Change-Id: I70b8ff3b16d9b0d3a4ea2d103f8ffb74083fd2a9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289152 Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#77965}
-
Paolo Severini authored
Bug: chromium:1271456 Change-Id: Ie1a5e62b941a8ba3da9b75cfe28a194b214df15e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3290583Reviewed-by: Clemens Backes <clemensb@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#77964}
-
Marja Hölttä authored
We have 4 different cases: 1) Explicit web snapshots (--web-snapshot) & errors in the snapshot 2) Explicit web snapshots & errors in the embedded script 3) Auto-detected web snapshots (--experimental-web-snapshots) & errors in the snapshot 4) Auto-detected web snapshots & errors in the embedded script Before this CL: cases 2 & 4 resulted in a DCHECK failing and the error in case 3 wasn't reported correctly. This CL implements consistent error reporting for all of them. Bug: v8:11525 Change-Id: If2e5039d9769b9cad2175dfd5c4f91edf61111ae Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3277877Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/main@{#77963}
-
Patrick Thier authored
Extend BitsetType of TF's type system from 32 to 64 bit. At the moment all 32 bits are used, so we can't add any new types. This CL only adds support for > 32 types to C++. The bitset is also mirrored in Torque. In the Torque definition, we just expose an unstructured uint32 for the higher bits of the bitfield, because Toruqe can't deal with 64 bit types on 32 bit platforms (yet) and we also can't have multiple 1-bit bitfields within a single class (yet). Bug: v8:12392, chromium:1262750 Change-Id: If571491443e86e4e47eb88d3f15eca485344d12d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3281922Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Patrick Thier <pthier@chromium.org> Cr-Commit-Position: refs/heads/main@{#77962}
-
Victor Gomes authored
No-Try: true Change-Id: I78f338fa1e3cb7cc31e7c75d114ec55df5aa1272 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289145 Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#77961}
-
Victor Gomes authored
ICU roll fixes the Bazel build for ICU: https://chromium.googlesource.com/chromium/deps/icu.git/+/d3ba6ae0c0a1b940c496771431feff25d4262d42 No-Try: true Bug: v8:12388 Change-Id: I5614ac1d3aa64b02f405e22b456f175a4662dd27 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289143 Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#77960}
-
Shu-yu Guo authored
This is in anticipation for sharing internalized and in-place-internalizable strings across Isolates. When such strings are shared, background compilation threads need to be able to allocate strings in the shared old space. Bug: v8:12007 Change-Id: I93179c9674cc16e5a6125049d20e61495bc1f3a9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3283615Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Commit-Queue: Shu-yu Guo <syg@chromium.org> Cr-Commit-Position: refs/heads/main@{#77959}
-
Ng Zhi An authored
We move the mask to be the first input of the node in wasm-compiler.cc, this matches the order for S128Select, which makes code-gen for arm/arm64 simpler (directly lower to BSL with no more shuffle of inputs). This requires tweaking of input indices in the instruction selector for ia32/x64, but no change in codegen. Bug: v8:12284 Change-Id: I1f6f1a9fe0869509be77f77b6f54a0c636a0f92d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3272640 Commit-Queue: Zhi An Ng <zhin@chromium.org> Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/main@{#77958}
-
jiepan authored
Bug: v8:12228 Change-Id: I9f7bb60fb2647f44c41c8c9e35a534ecd60c426a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289150Reviewed-by: Zhi An Ng <zhin@chromium.org> Commit-Queue: Jie Pan <jie.pan@intel.com> Cr-Commit-Position: refs/heads/main@{#77957}
-
- 17 Nov, 2021 22 commits
-
-
Ng Zhi An authored
NONE clashes with the PropertyAttributes::NONE, which is defined in v8::internal namespace. PropertyAttributes have too many call sites and depend on using the enums as masks, making it hard to convert to an enum class. So we are changing the name instead. Bug: v8:12244 Change-Id: Iec0be12c626549cca137aceeaee0e30fafab8b05 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3284003 Commit-Queue: Zhi An Ng <zhin@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/main@{#77956}
-
Ng Zhi An authored
fma_instr is now no longer required Change-Id: Iab47aa6afcc53c78acf15c7ab71f6b9ba45263c8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3286003Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77955}
-
Ng Zhi An authored
Fixes -Wshadow warnings for ELEMENT. Bug: v8:12244,v8:12245 Change-Id: Ic3dfa96b44fc18f0db10752639a54aeca324667c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3276928Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77954}
-
Al Muthanna Athamina authored
Bug: v8:12400 Change-Id: I8498f50e32e5abbfcd6af0a8b4c4d85cdb1c6eec Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289627Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Almothana Athamneh <almuthanna@chromium.org> Cr-Commit-Position: refs/heads/main@{#77953}
-
Al Muthanna Athamina authored
Bug: chromium:1136844 Change-Id: I3775eeb9afd447e4c9fc7a2ad6b0365368b89049 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289153Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Almothana Athamneh <almuthanna@chromium.org> Cr-Commit-Position: refs/heads/main@{#77952}
-
Michael Lippautz authored
Fix monolith build complaning about used implicit copy ctor when copy operator is explicitly defined. Bug: v8:12402 Change-Id: Iec30882af1c825c277a2e538400c85348daa6301 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289624 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Auto-Submit: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#77951}
-
Clemens Backes authored
For streaming compilation, include the source URL in tracing, to help identifying problems with caching. R=ahaas@chromium.org Change-Id: Iefda71890024a4fc9ec933c34c5870ba697bbff9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289148Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#77950}
-
Milad Fa authored
Port 2e955523 Original Commit Message: Comments in interface-descriptors stated that the argument count is without the receiver, which is no longer true (see [1]). [1] https://crrev.com/c/3140608 R=pthier@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com BUG= LOG=N Change-Id: I1bbce6672f19a3e508676e4b23cf9910542cbb21 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3285407Reviewed-by: Patrick Thier <pthier@chromium.org> Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Commit-Queue: Milad Fa <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#77949}
-
Michael Lippautz authored
Change-Id: I38cd955d3e41861d955c529ec56890b45effccf0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3284897 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Omer Katz <omerkatz@chromium.org> Cr-Commit-Position: refs/heads/main@{#77948}
-
Victor Gomes authored
CodePageCollectionMemoryModificationScope was wrongly added to the test. On M1, the code object is unprotected to RW and crash when running it later. Bug: v8:12386, v8:12396 Change-Id: I1af3dabaa9b66d1f50033f298107949fcb35c3d0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289155Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Auto-Submit: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#77947}
-
Tobias Tebbi authored
This fast path works for ASCII-only strings and is similar to the existing fast-path in C++. Important differences: - The locale check is done at Turbofan optimization time instead of at runtime - Use tables of size 256 instead of 128 to save a bounds-check when handling one-byte strings. - It first performs an equality check that's optimized for detecting inequality quickly by comparing the strings from both ends. If the equality check succeeds, we are done. Otherwise chances are high that the strings differ according to collation level L1 already. Therefore, we first do an L1 check and perform the L3 check only when L1 didn't find a difference. This is based on the assumption that few strings are identical except for different capitalization. - Use the Torque version of string flattening instead of the runtime version. Bug: v8:12196 Change-Id: I2d043c1138846783f6d567b736d34063ba9301e5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3268465Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/main@{#77946}
-
Leszek Swirski authored
This is a reland of 9b5f3985 Reland fixes: * Store a Handle instead of a raw pointer in the scope, to make sure the saved object stays alive. Original change's description: > [runtime] Reset clobbered argument in DefineClass > > The caller of DefineClass may not expect its arguments to be mutated, so > add an arguments mutation scope which resets the argument clobbered by > DefineClass. > > Bug: chromium:1268738 > Change-Id: I03e9cd82535ca1f83353012a92e80f822566e64e > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3283077 > Auto-Submit: Leszek Swirski <leszeks@chromium.org> > Commit-Queue: Igor Sheludko <ishell@chromium.org> > Reviewed-by: Igor Sheludko <ishell@chromium.org> > Cr-Commit-Position: refs/heads/main@{#77921} Bug: chromium:1268738 Change-Id: I934ba2063bf2b0e66a3c42f274419ddd178e4b54 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289146 Auto-Submit: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/main@{#77945}
-
Jakob Kummerow authored
This makes --experimental-wasm-gc imply --wasm-speculative-inlining, which in turn implies --wasm-inlining and --wasm-dynamic-tiering as prerequisites. The former implication is weak, i.e. can be overridden on the command line. Bug: v8:7748 Change-Id: Iedc7c9916947f26e17bdd29dbf3b413dbaa05e6c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3275571Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#77944}
-
Maria Tîmbur authored
Use recursion scope only for nullable references in the GenerateRef function. We declare the recursion scope as an optional and only initialize it if the reference type is nullable. Bug: v8:11954, chromium:1270126 Change-Id: I1548290cc9d48167f6fd56ff653744d472f65635 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3284894Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Commit-Queue: Maria Tîmbur <mtimbur@google.com> Cr-Commit-Position: refs/heads/main@{#77943}
-
Maria Tîmbur authored
Add the numeric conversion logic in ConsumeAndGenerate function. Bug: v8:11954 Change-Id: I24a97dade0485315d21f280a6b99a4d5377f09f7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3260509 Commit-Queue: Maria Tîmbur <mtimbur@google.com> Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#77942}
-
Manos Koukoutos authored
On 32-bit architectures, we need to run Int64Lowering on the inlinee code to make it compatible with the caller code. Since Int64Lowering now runs while a GraphReducer is active, only one of them can use node marks to store node states. Therefore, we move the Int64Lowering node states to an internal map. Bug: v8:12166 Change-Id: I53b85442d503e71fa533e06568f4b9db572a4401 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3283072Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#77941}
-
Kim-Anh Tran authored
Move the source code position for classes to the point where the block context has already been created. Previously, there would be a mismatch between the context and the scope when using the ScopeIterator. We paused at a point where, according to the source position, we already are in a class scope, but according to the bytecode (context), we would not yet have created the block context for the class. Also-by: leszeks@chromium.org, jarin@chromium.org Fixed: chromium:1259878 Change-Id: I58b84f4dcfa8c4f51e16812c7a8caa21da99f262 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3284887Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Patrick Thier <pthier@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Kim-Anh Tran <kimanh@chromium.org> Cr-Commit-Position: refs/heads/main@{#77940}
-
Andreas Haas authored
The changes were requested in https://crrev.com/c/3264288 after the CL landed. R=clemensb@chromium.org Bug: v8:12289 Change-Id: I863c7253ffb28ac878f5f91f24d6d1f0236da9a4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3285405Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#77939}
-
v8-ci-autoroll-builder authored
Rolling v8/third_party/icu: https://chromium.googlesource.com/chromium/deps/icu/+log/3e05d9d..d3ba6ae Rename partially used Bazil BUILD files to avoid conflict with v8 Bazil build (Frank Tang) https://chromium.googlesource.com/chromium/deps/icu/+/d3ba6ae TBR=v8-waterfall-sheriff@grotations.appspotmail.com,mtv-sf-v8-sheriff@grotations.appspotmail.com,ftang@chromium.org Change-Id: I1a171f75920fbb323ff1ebbaf609315fc5e52a6b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3288444Reviewed-by: 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@{#77938}
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/cf3347c..220a7fc Rolling v8/buildtools/linux64: git_revision:185124551408e7a5349c2aa31051b5a629dc3a5e..git_revision:4aa9bdfa05b688c58d3d7d3e496f3f18cbb3d89e Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/4dd11e9..1a5ffbc Rolling v8/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/067f0e5..2efe3d7 Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/32d7c38..2c3af75 TBR=v8-waterfall-sheriff@grotations.appspotmail.com,mtv-sf-v8-sheriff@grotations.appspotmail.com Change-Id: I08feb24ee501996da3f37f358135a93773941de3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3288443Reviewed-by: 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@{#77937}
-
Lu Yahan authored
And refactoring simd instr in code-generator Bug: v8:11976 Change-Id: If5292e9e205374280ec5c86a481649078e348a80 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3274593 Commit-Queue: ji qiu <qiuji@iscas.ac.cn> Reviewed-by: ji qiu <qiuji@iscas.ac.cn> Cr-Commit-Position: refs/heads/main@{#77936}
-
Ng Zhi An authored
This fixes a -Wshadow warning with an inline enum in regexp-compiler.cc. Bug: v8:12244,v8:12245 Change-Id: I8b53a94a1945addb958b230abe01b10d4533edae Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3285732Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77935}
-
- 16 Nov, 2021 6 commits
-
-
Ng Zhi An authored
Declare more macro lists to split up W0 and W1, then disassemble using the macro lists. Change-Id: I4a73c24ea63c5a7b7489b81ee5ec7026c1765091 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3270598Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77934}
-
Milad Fa authored
Port ea6dd0f4 Original Commit Message: Activate argument count consistency (receiver is always included in JS argument count) for arm and arm64. R=pthier@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com BUG= LOG=N Change-Id: Ib5fe912dfc108e95af6eab46d5a7672ac209e652 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3285404Reviewed-by: Patrick Thier <pthier@chromium.org> Reviewed-by: Junliang Yan <junyan@redhat.com> Commit-Queue: Milad Fa <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#77933}
-
Ng Zhi An authored
Implement f32x4.qfma, f32x4.qfms, f64x2.qfma, f64x2.qfms. These were already implement in macro-assembler-x64, so move the implementation to shared-macro-assembler. x64 has a macro list in fma-instr, copy this to ia32, and then use this macro list to define existing vfma{ss,sd} instructions in assembler-ia32. Disassembly support is intentionally omitted in this patch, I will add this in a follow-up. The currently disassembly in x64 is quite verbose and I would like to make use of macro-list but it requires breaking up the macro list into smaller parts, so I will do that refactoring for both ia32 and x64 in the follow-up. Bug: v8:12284 Change-Id: I3654ea108a123467506c5837072b6b63ecbc74da Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3255664Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77932}
-
Al Muthanna Athamina authored
Bug: chromium:1136844 Change-Id: Idef9b5a9f1f8499ff5c52b3ec0d54795fec60b28 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3284893 Auto-Submit: Almothana Athamneh <almuthanna@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/main@{#77931}
-
Ng Zhi An authored
These helper macros declare the same variable (asm_code_comment), when used in 2 scopes (one inside another), we get a shadow variable. In all the current usages, we always have a ASM_CODE_COMMENT in the outer scope (which adds a comment with the function name), and in the inner scope uses a string. It is sufficient to fix these cases by giving the first case (function name) a different variable name. Bug: v8:12244,v8:12245 Change-Id: Ib23d9796f10937f27ce29913c0fa648501edbda8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3283620Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77930}
-
Clemens Backes authored
This CL refactors how the first byte(s) of the input are used to set internal configuration, like which compiler to use and whether Liftoff will be used as reference instead of the interpreter. We now always use exactly one byte, and use it for all internal configuration. If more bits are needed in the future we can either extend to two bytes, or use the same bits for multiple things, while avoiding to lose coverage of all interesting configurations. For now, we use the first byte to derive - which compiler to use per function, - whether to use Liftoff as reference, and - (new) whether to globally enable the mid-tier register allocator. R=thibaudm@chromium.org Bug: v8:12330 Change-Id: I2cae6628554ca8f7e08115015b36f9f0a6b8c34f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3253156 Commit-Queue: Clemens Backes <clemensb@chromium.org> Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Cr-Commit-Position: refs/heads/main@{#77929}
-