- 16 Jan, 2018 28 commits
-
-
Clemens Hammacher authored
Both tables are always updated together and are always accessed together. Thus merge them, reducing code complexity, but also code space and overhead for accessing them during runtime. Instead of two weak global handles, we only need one, which also means one less load for each indirect call. Merging them also improves cache locality, since signature and code address are not stored next to each other in memory, so they will very likely end up in the same cache line. R=titzer@chromium.org Change-Id: I862df7de93a98aa602a3895796610c2c520d6f21 Reviewed-on: https://chromium-review.googlesource.com/866868 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Ben Titzer <titzer@chromium.org> Cr-Commit-Position: refs/heads/master@{#50623}
-
Michael Lippautz authored
Allows reading GC object stats data from an unpacked Chrome trace file. No-try: true Bug: v8:7266 Change-Id: I1b851a5b9c5937bd80ae08129d3daee8b4397500 Reviewed-on: https://chromium-review.googlesource.com/868211Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#50622}
-
Michael Achenbach authored
This uses a temporary file in the mocked d8 script to let d8 flip between FAIL and PASS on rerun. This adds a separate test root with dedicated test suite for testing flakes to no interfere with existing status file configs. NOTRY=true Bug: v8:6917 Change-Id: Id43753650195fb74cceb2a3ee9014100cabad546 Reviewed-on: https://chromium-review.googlesource.com/867917 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org> Cr-Commit-Position: refs/heads/master@{#50621}
-
Mike Stanton authored
We don't currently inline array builtins if we detect any side effects between the load of the receiver map and the call to the builtin. The introduction of a map check allows us to be more permissive. Bug: v8:7250 Change-Id: I6b3f9243f6506eff45c0d727c47a7e8cb8765640 Reviewed-on: https://chromium-review.googlesource.com/849005 Commit-Queue: Michael Stanton <mvstanton@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#50620}
-
Qingyan Li authored
R=yangguo@chromium.org Bug: v8:7305, v8:5536 Change-Id: I4750cf392dd60880e75e187a9091f62f9292ffe2 Reviewed-on: https://chromium-review.googlesource.com/866631Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#50619}
-
Qingyan Li authored
R=yangguo@chromium.org Bug: v8:7306 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I40037ebb66a856b52454c50d17b4c8a51aab7a84 Reviewed-on: https://chromium-review.googlesource.com/866215 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#50618}
-
Choongwoo Han authored
If there is no constructor or species updates on Array or TypedArrays, then skip lookups of constructor and species so that we can create a new typed array quickly. This path makes TA.p.slice() 2x faster in fast cases. Bug: chromium:800356, v8:7161 Change-Id: Ied8c90e23ca6708f4a3cec077c1fd733e4a6609e Reviewed-on: https://chromium-review.googlesource.com/859397Reviewed-by: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#50617}
-
Yang Guo authored
TBR=machenbach@chromium.org Bug: v8:6105 Change-Id: I15fe26c8546e024794c165affd17ce104ecae4a1 Reviewed-on: https://chromium-review.googlesource.com/867870Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#50616}
-
Michal Majewski authored
Bug: v8:6917 Change-Id: I5b77e7445ca3a8eb5692659e94d3b8266479b415 Cq-Include-Trybots: luci.v8.try:v8_linux64_fyi_rel_ng Reviewed-on: https://chromium-review.googlesource.com/866866 Commit-Queue: Michał Majewski <majeski@google.com> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#50615}
-
Mythri authored
Adds --cache=full-code-cache option to the d8 shell. Also cleanup d8.cc to not use ProduceCodeCache and ProduceFullCodeCache options from d8. Bug: v8:7302 Change-Id: Ie2c25d6b1d85588f70b000ba72d6d6b19ecb61b6 Reviewed-on: https://chromium-review.googlesource.com/867033Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Mythri Alle <mythria@chromium.org> Cr-Commit-Position: refs/heads/master@{#50614}
-
Martyn Capewell authored
Remove remaining references to jssp, and return register to the allocator. Bug: v8:6644 Change-Id: Ia6938e6c9548cd45d8c9c12032920b32d3da3c4c Reviewed-on: https://chromium-review.googlesource.com/866747Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Martyn Capewell <martyn.capewell@arm.com> Cr-Commit-Position: refs/heads/master@{#50613}
-
Yang Guo authored
This will act as a switch so that we can enable Node.js GN builds via V8 change. R=machenbach@chromium.org Bug: v8:6105 Change-Id: Ie786a4dad7f53e4bbf7d8830bb72b1f8031cee12 Reviewed-on: https://chromium-review.googlesource.com/866839Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#50612}
-
Clemens Hammacher authored
The implementation can be greatly simplified by using variadic templates. R=mstarzinger@chromium.org Change-Id: I8dbeea3d570bf0fac83109f334c48dbe39aaa853 Reviewed-on: https://chromium-review.googlesource.com/859785 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#50611}
-
Hannes Payer authored
Bug: chromium:774108,v8:6792 Change-Id: If0ff62b959b74b7be4e00b04d7a734ab95b8ecb6 Reviewed-on: https://chromium-review.googlesource.com/867040Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Hannes Payer <hpayer@chromium.org> Cr-Commit-Position: refs/heads/master@{#50610}
-
Clemens Hammacher authored
This is a cleanup to replace some magic numbers by proper constants. R=titzer@chromium.org Change-Id: I549afc9688f22dd70adeb57746f6ff9ba509092c Reviewed-on: https://chromium-review.googlesource.com/866733Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#50609}
-
Ben L. Titzer authored
This CL adds support for the "retpoline" construction on x64 https://support.google.com/faqs/answer/7625886 which protects against speculative execution of indirect calls. R=mstarzinger@chromium.org,jarin@chromium.org CC=eholk@chromium.org Bug: chromium:798964 Change-Id: I2aa5ab9a62dac53c67061378a0bc9cd2026ca7a2 Reviewed-on: https://chromium-review.googlesource.com/867063 Commit-Queue: Ben Titzer <titzer@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#50608}
-
Andreas Haas authored
This is the implementation of crrev.com/c/866721 for arm. Drive-by change: I simplified the slot index calculation. Original description: At the moment the slot index is encoded in the opcode. This, however, sets an upper limit the slot index which is lower than what we want to have (i.e. < 512). With this change we pass the slot index as an immediate operand, which does not impose limits on the value it contains. R=v8-arm-ports@googlegroups.com Change-Id: Ic448872aa1da63f421d569ab5ec9160f36e6652b Reviewed-on: https://chromium-review.googlesource.com/866745Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#50607}
-
Clemens Hammacher authored
There is not much missing to support loading and storing f32 values. This CL adds that. R=titzer@chromium.org Bug: v8:6600 Change-Id: If4a21490bfcb9cccec1ba62986a23549b3c857fa Reviewed-on: https://chromium-review.googlesource.com/866711Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#50606}
-
Clemens Hammacher authored
Make this a member method of WasmTableObject, because it is pretty coupled with that object anyways, and is always being called together with WasmTableObject::Set or WasmTableObject::AddDispatchTable. It also simplifies another refactoring: https://crrev.com/c/866733 R=titzer@chromium.org Change-Id: I53392fb9cf21f2e45c2a144d180e9b3614657094 Reviewed-on: https://chromium-review.googlesource.com/866933Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#50605}
-
Michal Majewski authored
Bug: v8:6917 Change-Id: I45ef97a2756f438f03f5d961381624e477680dee Reviewed-on: https://chromium-review.googlesource.com/866497Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michał Majewski <majeski@google.com> Cr-Commit-Position: refs/heads/master@{#50604}
-
Clemens Hammacher authored
The implementation can be greatly simplified by using variadic templates. R=mstarzinger@chromium.org Change-Id: Ifbda09bc536c9660a83d1888b395e92367c9b03e Reviewed-on: https://chromium-review.googlesource.com/860458Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#50603}
-
Michal Majewski authored
Bug: v8:6917 Change-Id: I7fa8f1857f338551dd7acd1b25eb7e9feb376576 Cq-Include-Trybots: luci.v8.try:v8_linux64_fyi_rel_ng Reviewed-on: https://chromium-review.googlesource.com/866720Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michał Majewski <majeski@google.com> Cr-Commit-Position: refs/heads/master@{#50602}
-
Michal Majewski authored
Bug: v8:6917 Change-Id: I5ad7f9f28be5eb0d8cdc424c0ed5cb41623212e5 Reviewed-on: https://chromium-review.googlesource.com/866505 Commit-Queue: Michał Majewski <majeski@google.com> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#50601}
-
Michael Achenbach authored
NOTRY=true TBR=hpayer@chromium.org Bug: v8:7012 Change-Id: I4f1a2468ef60e383480f8ea04d069a43296b30b0 Reviewed-on: https://chromium-review.googlesource.com/866837Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#50600}
-
Sigurd Schneider authored
This is a reland of 22d894c8 Original change's description: > [turbofan] Add simplified operator for String.prototype.codePointAt > > This CL adds the simplified operators > StringCodePointAt > SeqStringCodePointAt > and associated lowering. > > Bug: v8:7270 > Change-Id: I5aeefddeec39c3119b2d225e92a3116f802e7b45 > Reviewed-on: https://chromium-review.googlesource.com/861789 > Commit-Queue: Sigurd Schneider <sigurds@chromium.org> > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> > Reviewed-by: Peter Marshall <petermarshall@chromium.org> > Cr-Commit-Position: refs/heads/master@{#50547} Bug: v8:7270 Change-Id: Ia08d18543fc165fc2312cd393ed51f4ec98d7a58 Reviewed-on: https://chromium-review.googlesource.com/866311Reviewed-by: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#50599}
-
Michael Achenbach authored
TBR=yangguo@chromium.org NOTRY=true Bug: v8:7302 Change-Id: Ica0f28fc8ce8184ffe8f51d940a77710e98b5d5a Reviewed-on: https://chromium-review.googlesource.com/867039Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#50598}
-
Michael Achenbach authored
This adds testing configs to the V8 side, so that they can be deleted on the infra side in a follow up. TBR=yangguo@chromium.org NOTRY=true Bug: v8:7302 Change-Id: I93e65576b9799675ea0a8beca188c84a30695de3 Reviewed-on: https://chromium-review.googlesource.com/867037Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#50597}
-
v8-autoroll authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/9e6dcff..cd91c99 Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/bac35f5..7854862 TBR=machenbach@chromium.org,hablich@chromium.org,sergiyb@chromium.org Change-Id: I33f454829dc255215cd9e3063d586c93c2f122af Reviewed-on: https://chromium-review.googlesource.com/867534 Commit-Queue: v8 autoroll <v8-autoroll@chromium.org> Reviewed-by: v8 autoroll <v8-autoroll@chromium.org> Cr-Commit-Position: refs/heads/master@{#50596}
-
- 15 Jan, 2018 12 commits
-
-
Tobias Tebbi authored
Bug: Change-Id: Icf0c43ef5bd3b3d3055d9606f22d3126b31016e3 Reviewed-on: https://chromium-review.googlesource.com/866930 Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#50595}
-
Michael Lippautz authored
R: hpayer@chromium.org No-try: true Bug: v8:7266 Change-Id: Icc8f254d4f4e7c220cc322b3c98749da5e5ea3e6 Reviewed-on: https://chromium-review.googlesource.com/866831 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Hannes Payer <hpayer@chromium.org> Cr-Commit-Position: refs/heads/master@{#50594}
-
Junliang Yan authored
R=joransiu@ca.ibm.com, mtrofin@chromium.org, jbarboza@ca.ibm.com Bug: Change-Id: I89fc3ef038310fa98e957407b44ed524b4f313bd Reviewed-on: https://chromium-review.googlesource.com/818155Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#50593}
-
Camillo Bruni authored
Record seperate virtual instance types for boilerplates and their properties and elements. This CL adds: - BOILERPLATE_PROPERTY_ARRAY_TYPE - BOILERPLATE_NAME_DICTIONARY_TYPE - BOILERPLATE_ELEMENTS_TYPE Bug: v8:7266 Change-Id: I2e6643d4bf067aa52eb1950a696b6535b020b097 Reviewed-on: https://chromium-review.googlesource.com/867059 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#50592}
-
Michael Lippautz authored
No-try: true Bug: v8:7266 Change-Id: I981ac5b4be6117bcc46383d033d639cc3b30b617 Reviewed-on: https://chromium-review.googlesource.com/867371Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#50591}
-
Mike Stanton authored
The (numbing) repetition in these tests were leading to errors when writing new tests. Now a function DefineHigherOrderTests() can be used to succinctly describe a test on (mostly) a single line. Change-Id: I70d65ffd784a17bbf0b9ca2de477135c5d901794 Reviewed-on: https://chromium-review.googlesource.com/864144 Commit-Queue: Michael Stanton <mvstanton@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#50590}
-
Camillo Bruni authored
Bug: chromium:802040 Change-Id: I887a6e9d06bd1e66e0e8175a7bbb830f693e55ed Reviewed-on: https://chromium-review.googlesource.com/866854Reviewed-by: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#50589}
-
Tobias Tebbi authored
Bug: Change-Id: Ic1b6dc6fcd8bfc4f0c3dbb101a38106aa3596a12 Reviewed-on: https://chromium-review.googlesource.com/863886 Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#50588}
-
Michael Lippautz authored
Visualizes --trace-gc-object-stats output. No-try: true Bug: v8:7266 Change-Id: I5beb15d63e645484f07fe5f2341105c4cfe0b550 Reviewed-on: https://chromium-review.googlesource.com/860580 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#50587}
-
Andreas Haas authored
At the moment the slot index is encoded in the opcode. This, however, sets an upper limit the slot index which is lower than what we want to have (i.e. < 512). With this change we pass the slot index as an immediate operand, which does not impose limits on the value it contains. R=titzer@chromium.org Change-Id: Iab676186f41b8174bcc6c5a6053e6b0d5640ed3c Reviewed-on: https://chromium-review.googlesource.com/866721 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Ben Titzer <titzer@chromium.org> Cr-Commit-Position: refs/heads/master@{#50586}
-
Andreas Haas authored
This is the implementation of crrev.com/c/766371 for arm64. Original description: Add the ability to return (multiple) return values on the stack: - Extend stack frames with a new buffer region for return slots. This region is located at the end of a caller's frame such that its slots can be indexed as caller frame slots in a callee (located beyond its parameters) and assigned return values. - Adjust stack frame constructon and deconstruction accordingly. - Extend linkage computation to support register plus stack returns. - Reserve return slots in caller frame when respective calls occur. - Introduce and generate architecture instructions ('peek') for reading back results from return slots in the caller. - Aggressive tests. - Some minor clean-up. R=v8-arm-ports@googlegroups.com Change-Id: I6e344a23f359861c9a1ff5a6511651c2176ce9a8 Reviewed-on: https://chromium-review.googlesource.com/842545Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#50585}
-
Michael Achenbach authored
Also sort all variants in configuration mapping. Bug: v8:7285 Change-Id: I2d3032b911e48c34557e47e50345fb29da7bbe85 Reviewed-on: https://chromium-review.googlesource.com/866502Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#50584}
-