- 11 Jun, 2019 26 commits
-
-
Jose Dapena Paz authored
elements.cc invokes ApplyAttributesToDictionary using NumberDictionary as its template parameter. But the declaration of the template method is in js-object.cc, so nobody can actually compile the version for number dictionary. This is fixed requesting explicit instantiation for NumberDictionary. This was breaking GCC build. Bug: chromium:819294 Change-Id: I685ddc5b97e129d1a534dbdb04025c0932bc5ecd Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649565Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: José Dapena Paz <jose.dapena@lge.com> Cr-Commit-Position: refs/heads/master@{#62097}
-
Z Nguyen-Huu authored
Extend CodeStubAssembler::TryLookupElement() to handle frozen/sealed elements. Also add some tests. ~2x perf improvement in micro-benchmark ObjectFreeze Before: TaggedTemplate TaggedTemplate-Numbers(Score): 2.43 HasOwnProperty HasOwnProperty-Numbers(Score): 2.94 After: TaggedTemplate TaggedTemplate-Numbers(Score): 4.77 HasOwnProperty HasOwnProperty-Numbers(Score): 4.68 Bug: v8:6831 Change-Id: I6ce057fd812cd6a01e627125a51eefa439710274 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1650633 Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#62096}
-
Joyee Cheung authored
This helps debugging incorrect usage of the SnapshotCreator API in debug mode. Change-Id: Ibd9db76a5f460cdf7ea6d14e865592ebaf69aeef Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648240Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#62095}
-
Dan Elphick authored
Changes calls to conversion builtins in Wasm wrappers to use the builtin address directly rather than going via the Code object which results in the trampoline being unnecessarily executed. Bug: v8:9338 Change-Id: I74593dbda3c8bd308be65bc98ce85213a98f78b5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648274Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#62094}
-
Z Nguyen-Huu authored
Bug: v8:6831 Change-Id: I906dcc363620fda97f00cb02b68c3e393471076d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1651144Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com> Cr-Commit-Position: refs/heads/master@{#62093}
-
Simon Zünd authored
This CL adds lint errors for unused Torque macros. To prevent lots of noisy warnings, the check is rather narrow. Macros declared as "extern" or marked with "@export" are ignored. Also macros starting with "Convert", "Cast" or "FromConstexpr" are not checked. Drive-by: Removing some unused macros. Bug: v8:7793 Change-Id: Ie0d2e445f8882a9b0ebbda45876b342abf341248 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1645312 Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#62092}
-
Dan Elphick authored
This reverts commit 69fafb5f. Reason for revert: V8 Linux64 GC Stress - custom snapshot https://ci.chromium.org/p/v8/builders/ci/V8%20Linux64%20GC%20Stress%20-%20custom%20snapshot/26291 Original change's description: > Enable lazy source positions by default > > Also adds a compile time flag which allows the default to be configured > so node can disable it since it hangs the node cpu profiler tests. > > Bug: v8:8510 > Change-Id: Idf4785036dc6242769410091518a67ac9179b718 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1491491 > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> > Commit-Queue: Dan Elphick <delphick@chromium.org> > Cr-Commit-Position: refs/heads/master@{#62089} TBR=rmcilroy@chromium.org,delphick@chromium.org Change-Id: I92a64ddc63e36ec326e6d8ba1a5b68af38e3134b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: v8:8510 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1653112Reviewed-by: Dan Elphick <delphick@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#62091}
-
Jakob Gruber authored
An error object's 'stack' property is lazily formatted once the property is first read. It is thus possible that lazy formatting happens in a different realm than where the error object was constructed. In this case, we should use the origin-realm's prepareStackTrace function to format the stack trace. This CL implements that behavior by fetching prepareStackTrace from the given error object's context's error function. Bug: v8:7848 Change-Id: Ibc383cf24f2c0dab2fd8bb7bc740f1488d9954a5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1113438 Commit-Queue: Simon Zünd <szuend@chromium.org> Auto-Submit: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#62090}
-
Dan Elphick authored
Also adds a compile time flag which allows the default to be configured so node can disable it since it hangs the node cpu profiler tests. Bug: v8:8510 Change-Id: Idf4785036dc6242769410091518a67ac9179b718 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1491491Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#62089}
-
Igor Sheludko authored
Bug: v8:9353 Change-Id: If184e02eef8cda459a3aa02ef8bee5c337177d30 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648264Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#62088}
-
Dan Elphick authored
Add exception to possible type for the source position table. Bug: v8:8510 Change-Id: Ia97bba2b88d80ca572be21f236ad85448b6dd6f2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1653110 Auto-Submit: Dan Elphick <delphick@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#62087}
-
Simon Zünd authored
This CL changes the types of some fields on StackFrameInfo and StackTraceFrame from the generic 'tagged' value, to more specific types. This improves the auto-generated object verifiers. Bug: v8:8742 Change-Id: Ica7f34a61798fb7ab0655ffa269ba86afe8a52fb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649788 Auto-Submit: Simon Zünd <szuend@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/master@{#62086}
-
Simon Zünd authored
This CL adds a lint error for variables that are unnecessarily bound with 'let' when they could be bound using 'const. This test is skipped for struct types. For struct types, the "constness" also depends on the struct methods called and whether these methods write to the struct or not. This is not straight-forward to detect. Drive-by: Fix all the newly introduced lint errors. Bug: v8:7793 Change-Id: I0522ffcc4321350eef2e9573b8430bc78200ddce Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1645322 Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#62085}
-
Igor Sheludko authored
Bug: v8:9353 Change-Id: Iefeaa8820d3fcccafd92af1ea5e95001fc8ab951 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648262 Commit-Queue: Igor Sheludko <ishell@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#62084}
-
Benedikt Meurer authored
This includes a bunch of individual changes: - Refactor IC::OnFeedbackChanged() and remove the now unused GetHostFunction(). - Remove constant_pool, pc and fp from the IC, since it was only used for --trace-ic by now, and here we can now use the JavaScriptFrameIterator instead. - Use FLAG_max_polymorphic_map_count consistently instead of having a separate kMaxKeyedPolymorphism constant in some cases. - Remove dead IC::TraceHandlerCacheHitStats() method. - Remove the unused maybe_handler_ field. Bug: v8:9183 Change-Id: I29680519ab84b2790c73f50fca966a66918a7e31 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649567 Commit-Queue: Igor Sheludko <ishell@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#62083}
-
Igor Sheludko authored
Tbr: ulan@chromium.org Bug: v8:9353 Change-Id: I99533e21fd186f6d0191f4f500d1a3055a0f92c1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648260 Commit-Queue: Igor Sheludko <ishell@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#62082}
-
Simon Zünd authored
This CL creates global-context.cc and moves the GlobalContext constructor impl to this new file. Preparatory refactoring for import syntax. This CL also removes one unused static method from GlobalContext and changes two use-sites where Get() was used together with a static accessor. Drive-by: "Include what you use" for global-context.h Bug: v8:9183 Change-Id: Iafd877d03af9ad65b1c99ebd9743be64192f45c9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649790 Commit-Queue: Simon Zünd <szuend@chromium.org> Auto-Submit: Simon Zünd <szuend@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#62081}
-
Simon Zünd authored
This CL introduces an 'import' statement. It does not produce any AST node. The AST contextual directly collects what source id imports what other source id. Currently the import map is unused. In the future, import syntax will be used to implement partial compilation. Bug: v8:7793 Change-Id: I5f09e6254d7ca2e7bc1a93d2e2d82e202cafc8ef Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649357 Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#62080}
-
Benedikt Meurer authored
This addresses a TODO and makes the CAST explicit at the use sites, which in turn makes it easier to understand the implications there. Bug: v8:9183 Change-Id: I5b285a5a0ba6b754b4de9d60ff6e18c2e807bf98 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649569 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#62079}
-
Simon Zünd authored
This CL adds two mjsunit tests that transition an error object to dictionary mode before and after Error.stack is formatted and verify that the custom 'stack' property accessor works as intended. Bug: v8:8742 Change-Id: I4beb52c75b94533c10fac007f41117ab8915fac8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649789Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Auto-Submit: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/master@{#62078}
-
Maya Lekova authored
This reverts commit 02103b27. Reason for revert: Speculative revert for breakage on roll: https://chromium-review.googlesource.com/c/chromium/src/+/1650264 Failing build in breakpad: https://ci.chromium.org/p/chromium/builders/try/linux_chromium_asan_rel_ng/298512 Original change's description: > Add Crash Keys support > > This adds crash keys containing the isolate address and addresses of > the read_only, map, and code spaces to crash report minidumps. > When not compiling V8 with Chrome, a noop implementation is used. > > Bug: v8:9323 > Change-Id: I8523630e7a4ff792855163c06bf76dab35b1b9e5 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1641326 > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> > Commit-Queue: Irina Yatsenko <irinayat@microsoft.com> > Cr-Commit-Position: refs/heads/master@{#62059} TBR=jkummerow@chromium.org,tmrts@chromium.org,irinayat@microsoft.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: v8:9323 Change-Id: I29138292dd474cf60e2bf3cc9b0629a085abd31c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649787Reviewed-by: Maya Lekova <mslekova@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#62077}
-
Simon Zünd authored
This CL is the starting point to convert all FrameArray users to use StackTraceFrame objects instead. Bug: v8:8742 Change-Id: I7bd0081dfd428e9914dedebd5065ac262aacec0b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627332Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/master@{#62076}
-
Simon Zünd authored
This CL changes IncrementalStringBuilder to write short strings directly to {current_part_} instead of shortening {current_part}, allocating a new part and concatenate everything using ConsString. This optimization requires the IncrementalStringBuilder to either use two byte encoding, or the incoming string is flat with one byte representation. This CL improves stack trace serialization micro benchmarks up to 10%. Bug: v8:8742 Change-Id: I5cc8339be8035c42438381883544d108591fb945 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1647696 Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#62075}
-
Oliver Dunk authored
Quotes have been added around the token to make the message clearer. Bug: chromium:943636 Change-Id: Ic38f3e6d307157af2c0146e69fb611a2cfb46564 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1593307 Commit-Queue: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#62074}
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/bc47a86..aeede42 Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/93cd912..ace1f8b Rolling v8/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/e30736f..fd919c8 Rolling v8/third_party/googletest/src: https://chromium.googlesource.com/external/github.com/google/googletest/+log/31200de..076b7f7 Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/7789751..fe6c647 TBR=machenbach@chromium.org,sergiyb@chromium.org,tmrts@chromium.org Change-Id: Ibf4480540dff2019e4b28a27a18cd771f419442e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1652116Reviewed-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/master@{#62073}
-
Yu Yin authored
port https://crrev.com/c/1339866 https://crrev.com/c/1511274 Change-Id: Iea6bd86cfeb4230316ff3416d744fa9f4598a75f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649260 Auto-Submit: Yu Yin <xwafish@gmail.com> Reviewed-by: Mythri Alle <mythria@chromium.org> Commit-Queue: Yu Yin <xwafish@gmail.com> Cr-Commit-Position: refs/heads/master@{#62072}
-
- 10 Jun, 2019 4 commits
-
-
Z Nguyen-Huu authored
The path for sealed elements is handled by using the same path for SmiOrObjectElementKind, just need to extend a DCHECK in CodeStubAssembler::IsFixedArrayWithKind. The only special case is when we write to a hole in holey sealed elements. Since we can not write in that case, just bail out. Bug: chromium:967101 Change-Id: Ibf837ae053fe609bca83da432f298ef056f3aced Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1632830 Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#62071}
-
Z Nguyen-Huu authored
This is reland of Ib1c3f78d1f1a44c6628d351fed3bcdc91ca08cb5 Just fix lint error for unused arguments in Torque. > Original commit message: > The fast path for IsExtensible proxy trap is already implemented, we just need to use this for ReflectIsExtensible. Now, ReflectIsExtensible is now a Torque builtin (previously CPP). Other cases will fall back to runtime. > Bug: v8:6664 > Change-Id: Ib1c3f78d1f1a44c6628d351fed3bcdc91ca08cb5 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1645438 > Reviewed-by: Maya Lekova <mslekova@chromium.org> > Reviewed-by: Jakob Gruber <jgruber@chromium.org> > Reviewed-by: Tamer Tas <tmrts@chromium.org> > Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com> > Cr-Commit-Position: refs/heads/master@{#62031} Bug: v8:6664 Change-Id: If44ac321ce712a969b3f5076411573eb3968cc14 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1646900 Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#62070}
-
Samuel Huang authored
This reverts commit 333615cf. Reason for revert: Likely culprit for browser_tests netinfo/gc-unused-listeners.html failure for "Win10 Tests x64". Original change's description: > Reland "Enable lazy feedback allocation" > > This is a reland of 8c10501b. > Reland after fixing test failures. > > Original change's description: > > Enable lazy feedback allocation > > > > Bug: v8:8394 > > Change-Id: I29ffd38725bdcaa9dd11221045dba681eb0d567b > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1643430 > > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> > > Commit-Queue: Mythri Alle <mythria@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#61991} > > Bug: v8:8394 > Change-Id: Icc9e276ab22ca6455b775f3c27e0d43c3f08b887 > TBR: rmcilroy@chromium.org > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1647161 > Reviewed-by: Mythri Alle <mythria@chromium.org> > Commit-Queue: Mythri Alle <mythria@chromium.org> > Cr-Commit-Position: refs/heads/master@{#62018} TBR=rmcilroy@chromium.org,mythria@chromium.org,delphick@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: v8:8394 Change-Id: Id977275f4d53a39c2372f289f2b0471efae241b3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1650275 Commit-Queue: Mythri Alle <mythria@chromium.org> Reviewed-by: Mythri Alle <mythria@chromium.org> Cr-Commit-Position: refs/heads/master@{#62069}
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/a9a3ecc..bc47a86 Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/7ee072e..7789751 TBR=machenbach@chromium.org,sergiyb@chromium.org,tmrts@chromium.org Change-Id: Ibdb327d012a1551f1c0a4da95b3d4e1cf772da13 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1650278Reviewed-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/master@{#62068}
-
- 09 Jun, 2019 2 commits
-
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/d39a2f6..a9a3ecc Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/fafbed9..93cd912 TBR=machenbach@chromium.org,sergiyb@chromium.org,tmrts@chromium.org Change-Id: I51012040d44d452249562eac18ef8a335058d314 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648673Reviewed-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/master@{#62067}
-
v8-ci-autoroll-builder authored
Rolling v8/test/wasm-js/data: https://chromium.googlesource.com/external/github.com/WebAssembly/spec/+log/41747be..7940fa4 [test] Fix unintended errors in negative tests (#1034) (Erik McClure) https://chromium.googlesource.com/external/github.com/WebAssembly/spec/+/7940fa4 TBR=ahaas@chromium.org,clemensh@chromium.org Change-Id: I4bb02e1314966f9526dcfb5fdf75fc6b55c0e711 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1651161Reviewed-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/master@{#62066}
-
- 08 Jun, 2019 5 commits
-
-
Benedikt Meurer authored
The introduction of the FeedbackVector solved the problem of inconsistent feedback between ICs in unoptimized and optimized code. Bug: v8:2029, v8:9183 Tbr: jkummerow@chromium.org Change-Id: Id61033c1661e5a2efb740988552de76f7f148d0d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649566Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#62065}
-
Benedikt Meurer authored
The CloneObject bytecode was only able to handle objects, null and undefined, and explicit bytecode had to be generated to perform the ToObject outside the bytecode (unlike the other IC bytecodes that just perform the ToObject implicitly). That means the simplest possible object cloning would also generate a sequence of 5 bytecodes (at least): ``` Mov <register>, a0 JumpIfNull @1 JumpIfUndefined @1 ToObject <register> 1: CloneObject <register> ``` That is quite wasteful and unnecessary, since the core logic in the runtime already does the ToObject properly anyways. This change refactors the CloneObjectIC slightly to behave more like the other ICs and do the ToObject implicitly when necessary. Bug: v8:7611, v8:9114, v8:9183, v8:9343 Change-Id: I11973e90bf875f154a5a7739287bee17041e4a7a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649554Reviewed-by: Mythri Alle <mythria@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#62064}
-
Ben Smith authored
PrintWasmText is used for disassembling wasm code in DevTools, but many instructions are not implemented. This test should make it easier to remember to implement this when adding new instructions. Change-Id: I6030a70113320f11a1ac0436bf0d220b5c41e6d1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1647475 Commit-Queue: Ben Smith <binji@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#62063}
-
Jakob Kummerow authored
The DoubleToFloat32 helper takes care of everything, so use it consistently. Bug: chromium:969498 Change-Id: If71e5374684b89615006548cb0329f4d4cb7fd6d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648253 Commit-Queue: Ben Smith <binji@chromium.org> Reviewed-by: Ben Smith <binji@chromium.org> Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#62062}
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/b83cffc..d39a2f6 Rolling v8/buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/0218c0f..2e18a95 Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/9913025..fafbed9 Rolling v8/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/073b8ac..e30736f Rolling v8/tools/swarming_client: https://chromium.googlesource.com/infra/luci/client-py/+log/9b1b0ed..96f1257 TBR=machenbach@chromium.org,sergiyb@chromium.org,tmrts@chromium.org Change-Id: Ib83c93c8f824dc5727aacdb715487d0a7f334eac Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1650724Reviewed-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/master@{#62061}
-
- 07 Jun, 2019 3 commits
-
-
Johannes Henkel authored
New rev: 91eb1c8784ab3d88ca1e327ffa727d922dd2ce70 Change-Id: I0be17a324ff64b2ee6c2657e3c2cea5d09f6c494 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649227 Auto-Submit: Johannes Henkel <johannes@chromium.org> Reviewed-by: Alexei Filippov <alph@chromium.org> Commit-Queue: Alexei Filippov <alph@chromium.org> Cr-Commit-Position: refs/heads/master@{#62060}
-
Irina Yatsenko authored
This adds crash keys containing the isolate address and addresses of the read_only, map, and code spaces to crash report minidumps. When not compiling V8 with Chrome, a noop implementation is used. Bug: v8:9323 Change-Id: I8523630e7a4ff792855163c06bf76dab35b1b9e5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1641326Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Irina Yatsenko <irinayat@microsoft.com> Cr-Commit-Position: refs/heads/master@{#62059}
-
Darius Mercadier authored
The linked lists of FreeLists could contain empty elements (FreeListCategories whose `top()` is null). The code is carefuly written so that this case won't break anything (probably just slow things a little bit). When `FreeList::FindNodeIn` (the fast path of `FreeList::Allocate`) found such an empty `FreeListCategory`, it removed it by calling `FreeList::RemoveCategory`, and looked in the next `FreeListCategory` of the same size. However, on the slow path of `FreeList::Allocate`, the functions that iterates the `FreeListCategory` are `FreeList::TryFindNodeIn` and `FreeListCategory::PickNodeFromList`, none of which removed empty elements. Therefore, it could happen that a `FreeListCategory` "real" first element could be used, but was never considered due to the top of the linked list being empty. The behavior for the slow path should be the same as for the fast path on that regard. The problem was actually deeper than that: FreeListCategories were not always in a consistent state, since they could have empty members. The removal of those empty elements should be done as soon as they are created, ie when allocating the last element. This CL ensures that empty FreeListCategories are removed as soon as they become empty. Bug: v8:9329 Change-Id: Idda8096dc5978745894854a0405da59f7e8691a6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648476 Commit-Queue: Darius Mercadier <dmercadier@google.com> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#62058}
-