- 13 Sep, 2018 40 commits
-
-
Adam Klein authored
Also fix type-check to check receiver for JSReceiver, not JSObject, and add a test for DateTimeFormat verifying that it already has the proper behavior. Bug: chromium:881023 Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng Change-Id: I950c86094dfb9634e0b7e49bcbbb022fa81a71f7 Reviewed-on: https://chromium-review.googlesource.com/1225612 Commit-Queue: Adam Klein <adamk@chromium.org> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#55880}
-
Junliang Yan authored
R=joransiu@ca.ibm.com Change-Id: Icfbd76b8da133bf39960f1c172cd872876e2cf3e Reviewed-on: https://chromium-review.googlesource.com/1225672Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Commit-Queue: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#55879}
-
Aseem Garg authored
This CL enables source maps support for wasm. Devtools should be able to pick up source_mapping_url parsed here and load the corresponding source maps. R=kozyatinskiy@chromium.org,clemensh@chromium.org,titzer@chromium.org,yangguo@chromium.org BUG=v8:8081 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1db0ff597d229e7db8d383fe9ee081c7fa4e7648 Reviewed-on: https://chromium-review.googlesource.com/1185973 Commit-Queue: Aseem Garg <aseemgarg@chromium.org> Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#55878}
-
Benedikt Meurer authored
Previously the [[ArrayBufferByteLength]] internal field was represented as a boxed number (i.e. either Smi or HeapNumber) in safe integer range. This is the first step to change the representation of all the array buffer and array buffer view length/offset fields to unboxed integers, to eventually support the full range of 4GiB (and potentially even more) for typed arrays and array buffers. This will allow WebAssembly memories with 4GiB to be usable. Tbr: yangguo@chromium.org Bug: v8:7881, v8:8015, v8:8171 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng Change-Id: Ic6c6c8fe087afee898254cd903e82a55bfc173a9 Reviewed-on: https://chromium-review.googlesource.com/1222309Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#55877}
-
Deepti Gandluri authored
This reverts commit e938b7a3. Reason for revert: Reverting because of gc-stress failures - https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux%20-%20gc%20stress/18299 Original change's description: > Enable OneShot optimizations by default > > BUG=v8:8072 > > Change-Id: I2068d66644628fe1de7a6be30b8d43ecfae04e93 > Reviewed-on: https://chromium-review.googlesource.com/1220047 > Commit-Queue: Chandan Reddy <chandanreddy@google.com> > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55875} TBR=cbruni@chromium.org,chandanreddy@google.com Change-Id: If3bfb5e142a873f534f831da413d26e78d2e3716 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: v8:8072 Reviewed-on: https://chromium-review.googlesource.com/1224481Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/master@{#55876}
-
Creddy authored
BUG=v8:8072 Change-Id: I2068d66644628fe1de7a6be30b8d43ecfae04e93 Reviewed-on: https://chromium-review.googlesource.com/1220047 Commit-Queue: Chandan Reddy <chandanreddy@google.com> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#55875}
-
Yuki Shiino authored
It turned out that the original implementation was broken from the beginning. This patch fixes the API to return the correct one. GetIncumbentContext was implemented at https://chromium-review.googlesource.com/c/v8/v8/+/536728 Change-Id: Iba29171bac10ed82575a8079396768a9d5af3b13 Bug: chromium:883036 Reviewed-on: https://chromium-review.googlesource.com/1219368 Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#55874}
-
Clemens Hammacher authored
Minor fixes of things found in the code walkthrough. R=titzer@chromium.org Bug: v8:8015 Change-Id: If28be312fb7b8e5add214161a98d25145cdf8de5 Reviewed-on: https://chromium-review.googlesource.com/1224433 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Ben Titzer <titzer@chromium.org> Cr-Commit-Position: refs/heads/master@{#55873}
-
Camillo Bruni authored
Bug: v8:8163 Change-Id: I2aacbb13dc16772b173d56051a84399b8c34d4f2 Reviewed-on: https://chromium-review.googlesource.com/1224417 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#55872}
-
Florian Sattler authored
Fixing clang-tidy warning. Bug: v8:8015 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I3a09bb6936853bca448f425d4266365deb6671d4 Reviewed-on: https://chromium-review.googlesource.com/1220146Reviewed-by: Marja Hölttä <marja@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Hannes Payer <hpayer@chromium.org> Commit-Queue: Florian Sattler <sattlerf@google.com> Cr-Commit-Position: refs/heads/master@{#55871}
-
Clemens Hammacher authored
Just a minor fix to skip the third GC after which we fail anyway. R=ulan@chromium.org Bug: v8:7621 Change-Id: I4dd6bcedc20ecb75dc06af02649ff5c7b67317d0 Reviewed-on: https://chromium-review.googlesource.com/1224434Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#55870}
-
Michael Starzinger authored
R=clemensh@chromium.org BUG=v8:8015 Change-Id: Ib40817fffe64a7b8774b7f33adf7552284859064 Reviewed-on: https://chromium-review.googlesource.com/1224435Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#55869}
-
Florian Sattler authored
Change-Id: Ia442ada5d15cfaa74877b07857a01d5040a7e0f2 Reviewed-on: https://chromium-review.googlesource.com/1224416Reviewed-by: Marja Hölttä <marja@chromium.org> Commit-Queue: Florian Sattler <sattlerf@google.com> Cr-Commit-Position: refs/heads/master@{#55868}
-
Clemens Hammacher authored
Store it as FixedArray instead of Object. Use the empty array as uninitialized value instead of undefined. R=titzer@chromium.org Bug: v8:8015 Change-Id: I53275dc5fd2c3a0db1e021ee4da0fc0694e2053e Reviewed-on: https://chromium-review.googlesource.com/1224372Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#55867}
-
Florian Sattler authored
Fixing clang-tidy warning. Bug: v8:8015 Change-Id: Ib3b6bdeb404ed6fe9c69107b4683a99c96dd8352 Reviewed-on: https://chromium-review.googlesource.com/1224053Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Florian Sattler <sattlerf@google.com> Cr-Commit-Position: refs/heads/master@{#55866}
-
Florian Sattler authored
Fixing clang-tidy warning. Bug: v8:8015 Change-Id: Ibe5906fa96f2d7327bce1eff70637a2d00f99668 Reviewed-on: https://chromium-review.googlesource.com/1224030Reviewed-by: Hannes Payer <hpayer@chromium.org> Commit-Queue: Florian Sattler <sattlerf@google.com> Cr-Commit-Position: refs/heads/master@{#55865}
-
Michael Starzinger authored
R=clemensh@chromium.org BUG=v8:8015 Change-Id: I4baed1edb43e6aa8b345a515b1f732019eac3bd6 Reviewed-on: https://chromium-review.googlesource.com/1224415Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#55864}
-
Clemens Hammacher authored
HeapObject::GetHeap and HeapObject::GetIsolate are gone since https://crrev.com/c/1140319 (landed in July), hence we can clean up the using declarations to force use of the methods declared in NeverReadOnlySpaceObject. R=delphick@chromium.org Bug: v8:7786 Change-Id: Iec4edd394ac57a3f378dd1a9a100320e82cf8ea5 Reviewed-on: https://chromium-review.googlesource.com/1224414Reviewed-by: Dan Elphick <delphick@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#55863}
-
Michael Lippautz authored
No-try: true Tbr: machenbach@chromium.org Bug: v8:8169 Change-Id: I973494d9e714c22d255435caa1f35a359a5dd2d1 Reviewed-on: https://chromium-review.googlesource.com/1224437Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#55862}
-
Benedikt Meurer authored
This changes the Name::hash_field and Symbol::flags to uint32_t as well, so that both Symbols and Strings consume one fewer word on 64-bit architectures now. More importantly the access to String::length is always a 32-bit field load now, even with 31-bit Smis (i.e. on ARM or on 64-bit with pointer compression), so the access should be faster. Bug: v8:7065, v8:8171 Change-Id: I1a38f4470d62fbeba2b3bc5fcf4ecdbada7d6b8a Tbr: ulan@chromium.org, yangguo@chromium.org, ishell@chromium.org Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.v8.try:v8_linux_noi18n_rel_ng Reviewed-on: https://chromium-review.googlesource.com/1224432Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#55861}
-
Ben L. Titzer authored
This verifies that asm.js over the internal parameter count limit does not crash. The internal limit is 1000 parameters, and the test was using >3000 parameters. Reduce this down to 1005, and also introduce a test which does not dynamically construct the string and eval it, because the construction of this string takes time. Mark the old test as slow in debug mode. R=machenbach@chromium.org BUG=v8:8165 Change-Id: Ib6ef5e1e58d3f37a71720fb59afa19464e7f2ff7 Reviewed-on: https://chromium-review.googlesource.com/1224057 Commit-Queue: Ben Titzer <titzer@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#55860}
-
Benedikt Meurer authored
The LoopVariableOptimizer didn't understand NumberAdd, NumberSubtract and friends, and so Phis in Loops that are generated in the call reducer (like for Array.prototype.shift) got bad types, leading to unnecessary double computations. Bug: v8:8015 Change-Id: I9686f86682c106ef84f2760fed9948ce54d7cd9a Reviewed-on: https://chromium-review.googlesource.com/1224371Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#55859}
-
jgruber authored
Adds a new stack trace API which overrides Error.prepareStackTrace. Bug: v8:7637,v8:6974 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng Change-Id: Ie09e74485d81264359c264b2f4a05e9bfd76b2d9 Reviewed-on: https://chromium-review.googlesource.com/1119768 Commit-Queue: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#55858}
-
Michael Achenbach authored
TBR=rmcilroy@chromium.org NOTRY=true Bug: v8:8161 Change-Id: I2583b374d14ba4cfda4ab7c6a164794661c56f2a Reviewed-on: https://chromium-review.googlesource.com/1224411Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#55857}
-
Ulan Degenbaev authored
Even if the old-to-old remembered set contains a slot it should be considered cleared if it was added into the invalidated slot set. Change-Id: I30db5a77b14e729ab45b6de82af8795d85263518 Reviewed-on: https://chromium-review.googlesource.com/1224095 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#55856}
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/c3b8071..8e97ee7 Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/07ddac8..03b5af9 Rolling v8/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/0425ebd..dfce68b TBR=machenbach@chromium.org,hablich@chromium.org,sergiyb@chromium.org Change-Id: Ifcb4fcaa3ed8ec6e7c80eb2e2fcf9a52e41b8ec5 Reviewed-on: https://chromium-review.googlesource.com/1224210Reviewed-by: V8 Autoroller <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: V8 Autoroller <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#55855}
-
Georg Neis authored
It turns out that this function didn't make much sense since ReduceTypeOf already dispatches on the type of the input. Bug: v8:7790 Change-Id: Ib02149db78e507500bbe79e16380ea7de8c4abfe Reviewed-on: https://chromium-review.googlesource.com/1219329 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#55854}
-
Georg Neis authored
The refactoring also requires serialization of Map::prototype. Bug: v8:7790 Change-Id: I240254d0a1f1beaf03b13d20cc7cc02c96f08069 Reviewed-on: https://chromium-review.googlesource.com/1219328 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#55853}
-
Sreten Kovacevic authored
Since trampolines and long branches are now PIC, these instructions are not used anymore. Hence 256 MB alignment requirement can be removed. Change-Id: Ibdc51631a8c5efc97f058f09b809d3dc13a9f933 Reviewed-on: https://chromium-review.googlesource.com/1219022 Commit-Queue: Sreten Kovacevic <skovacevic@wavecomp.com> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Ivica Bogosavljevic <ibogosavljevic@wavecomp.com> Cr-Commit-Position: refs/heads/master@{#55852}
-
Michael Achenbach authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/107ec0d..c3b8071 Rolling v8/third_party/catapult: https://chromium.googlesource.com/catapult/+log/79834ec..07ddac8 Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/f59512e..9bd40b2 TBR=machenbach@chromium.org,hablich@chromium.org,sergiyb@chromium.org Change-Id: Ib5d249f7ec9767acb6bd71b8b9df6bd2a8e50b4d Reviewed-on: https://chromium-review.googlesource.com/1223426 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org> Reviewed-by: V8 Autoroller <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#55851}
-
Simon Zünd authored
This CL adds 'typeswitch' and 'case' as a keyword and removes some unused ones. It also adds 'UncheckedCast', 'Cast', 'Convert' and 'FromConstexpr' as support functions. Bug: v8:7793 Change-Id: Ia58045a5fb0f599c7c17cbf11d4e60ed55db7334 Reviewed-on: https://chromium-review.googlesource.com/1219389Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Simon Zünd <szuend@google.com> Cr-Commit-Position: refs/heads/master@{#55850}
-
Clemens Hammacher authored
The instance finalizer does nothing useful any more. Freeing the native allocations is already done in the destructor of the Managed. R=titzer@chromium.org Bug: chromium:875647 Change-Id: I154b9da74cf377c2803f66dc959edb4837c6b766 Reviewed-on: https://chromium-review.googlesource.com/1221215Reviewed-by: Ben Titzer <titzer@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#55849}
-
Georg Neis authored
... as well as more string constants. Bug: v8:7790 Change-Id: I850f25ddbdbe58892b780e9bc21a7b6c3978bef0 Reviewed-on: https://chromium-review.googlesource.com/1219024 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#55848}
-
Simon Zünd authored
Drive-by change: Add helper method for reporting naming convention errors and refactor existing call sites. R=tebbi@chromium.org Bug: v8:7793 Change-Id: I7315b935229ffb7557fa55ebcb222fc91124aab7 Reviewed-on: https://chromium-review.googlesource.com/1223831Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Simon Zünd <szuend@google.com> Cr-Commit-Position: refs/heads/master@{#55847}
-
Georg Neis authored
This is an unmodified reland of ece86adc. Original change's description: > [typedarray] Properly convert hole to undefined in TypedArray.from > > It used to call the old IterableToList, which had the wrong > semantics for holes. > > Bug: v8:8133 > Change-Id: Idd5acd55a155bc43df7552135a44151bb2db38e9 > Reviewed-on: https://chromium-review.googlesource.com/1213204 > Reviewed-by: Peter Marshall <petermarshall@chromium.org> > Commit-Queue: Georg Neis <neis@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55745} Tbr: petermarshall@chromium.org Bug: v8:8133 Change-Id: I91c1eaf61cbcc29116e3a6cc3415f29cfba3561e Reviewed-on: https://chromium-review.googlesource.com/1223007 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#55846}
-
Michael Achenbach authored
NOTRY=true TBR=sergiyb@chromium.org Change-Id: Ia7044aa05d5e66ef8fb89fb955604d3d5eb3f1c6 Reviewed-on: https://chromium-review.googlesource.com/1223870 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#55845}
-
Dan Elphick authored
Fix build issues on mips by using the same v8_torque_toolchain (renamed to v8_generator_toolchain), which is the same as the host tool chain when targeting MIPS. Bug: v8:8162 Change-Id: I5d213398cba4c5e108b203e6aa6ba5a2b0e8f781 Reviewed-on: https://chromium-review.googlesource.com/1221289 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#55844}
-
Benedikt Meurer authored
Since the removal of Crankshaft there's no use for StringAdd with pretenuring anymore, so we can remove the extra code and builtins. Bug: v8:8015 Change-Id: If178c6f1d08841428f42b1baece231268cdae2ad Reviewed-on: https://chromium-review.googlesource.com/1213206 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#55843}
-
Ujjwal Sharma authored
Bug: v8:5751 Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng Change-Id: I7c8aab3f0420e5a7e64aa78c642320bec4142d03 Reviewed-on: https://chromium-review.googlesource.com/1208653Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#55842}
-
Junliang Yan authored
R=joransiu@ca.ibm.com Change-Id: I8294e4719b134920cc93ad2f9f3be0a513dee0c3 Reviewed-on: https://chromium-review.googlesource.com/1222649Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Commit-Queue: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#55841}
-