Commit Graph

62244 Commits

Author SHA1 Message Date
Phil Ringnalda
86e513ba69 Backed out changeset 3159df8aca1a (bug 1386511) for browser_TelemetryGC.js timeouts
MozReview-Commit-ID: 9OFS7FTjVis
2017-10-19 20:40:31 -07:00
Paul Bone
7746cd0200 Bug 1386511 - Revise the format of the GC profiler markers. r=jonco 2017-08-23 14:58:44 +10:00
Luke Wagner
9217e05b5d Bug 1388785 - Add --test-wasm-await-tier2 and use it in jit-tests (r=lth)
MozReview-Commit-ID: FlH3dG54S6h

--HG--
extra : rebase_source : a4e44abacfe6c2d8d8ef9ec41f953e4a320c32b6
2017-10-19 10:21:36 -05:00
Luke Wagner
6fad81b103 Bug 1388785 - Remove --wasm-check-bce flag (r=lth)
MozReview-Commit-ID: 1jbieZAn1Gt

--HG--
extra : rebase_source : 748aea1cca343c7bd218afbbb28cb73df5faaf6e
2017-10-19 09:14:43 -05:00
Luke Wagner
cfcb557d07 Bug 1388785 - Change wasm flags' default states in ContextOptions (r=lth)
MozReview-Commit-ID: 3EdgkuuGMnT

--HG--
extra : rebase_source : 5e127d8552431f46d67911c4a181159f4c621db3
2017-10-19 09:14:43 -05:00
Luke Wagner
79b0586e86 Bug 1406421 - Baldr: add and use StartsCodeSection (r=lth)
MozReview-Commit-ID: 336sDmoqtgB

--HG--
extra : rebase_source : 51a19b7cb514842eb27a75b4b310a4600537a26d
2017-10-19 09:14:43 -05:00
Luke Wagner
5d88413e12 Bug 1406421 - Baldr: add ExclusiveWaitableData subclass of ExclusiveData and use it (r=lth)
MozReview-Commit-ID: jfI2g7ieBu

--HG--
extra : rebase_source : e59dccd31369a77da024ab0a0d1404a96c2d8ac5
2017-10-19 09:14:43 -05:00
Nathan Froyd
5d16b194a3 Bug 1407750 - use mozilla::KnownNotNull to improve placement new in ExclusiveData; r=fitzgen
Using KnownNotNull here avoids the necessary null checks that come along
with placement new.
2017-10-19 12:35:03 -04:00
Attila Craciun
180e36fcde Backed out 1 changesets (bug 1409196) for failing in js/src/jit/arm64/AtomicOperations-arm64.h r=backout on CLOSED TREE.
Backed out changeset 617d05862317 (bug 1409196)
2017-10-19 16:28:37 +03:00
Dragan Mladjenovic
a9a9e66e71 Bug 1407986 - [MIPS] Fix unwinding during the interrupt in wasm prologue/epilogue. r=bbouvier
--HG--
extra : rebase_source : 3b48f1e2efc23109e8c3c705a2ff912035c9bab7
2017-10-19 04:33:00 -04:00
Dragan Mladjenovic
f873105fa5 Bug 1407986 - [MIPS] Make simulator handle simulator.always-interrupt option. r=bbouvier
--HG--
extra : rebase_source : a25501b86980548ac38972133b611e93db8f0886
2017-10-17 09:49:00 -04:00
Jan de Mooij
228ba6907b Bug 1409295 part 5 - Use memcpy on little endian platforms. r=luke
--HG--
extra : rebase_source : 2e2bd1267a7d84d8458d6ec7cafef795ee5b6295
2017-10-19 13:53:30 +01:00
Jan de Mooij
890dd39ca8 Bug 1409295 part 4 - Use little endian for int32/uint32 bytecode operands. r=luke
--HG--
extra : rebase_source : e78ea0debc959ab8c94d372c50745bffdf015b76
2017-10-19 13:53:09 +01:00
Jan de Mooij
334c5719e0 Bug 1409295 part 3 - Use little endian for uint24 bytecode operands. r=luke
--HG--
extra : rebase_source : b2ea291feeb7dc58bd4c386ac92f5dca681be743
2017-10-19 13:52:51 +01:00
Jan de Mooij
91a5a9cf05 Bug 1409295 part 2 - Use little endian for uint16 bytecode operands. r=luke
--HG--
extra : rebase_source : da84938b44af19fd6b0c89939424b95663211a92
2017-10-19 13:52:35 +01:00
Jan de Mooij
151050fc7b Bug 1409295 part 1 - Clean up JUMP_OFFSET and UINT32_INDEX bytecode accessors. r=luke
--HG--
extra : rebase_source : 0165d29efcc50cad51dd093fcd28c88f09894392
2017-10-19 13:51:30 +01:00
Nathan Froyd
7ffca4877d Bug 1163171 - part 5 - remove arm-specific hacks in typed array implementation; p=froydnj, r=lth, push=lth
clang does not have the specific problem that led to this hack in the
first place, so we can remove the hack.  (The hack also causes issues
with clang; it complains that you can't pass `volatile T*` into the
intrinsics that we're using for atomic operations.)

--HG--
extra : amend_source : eebcbedb0823b48347341d555612eb9ccdf71869
2017-10-19 13:50:54 +01:00
Lars T Hansen
5e56b03305 Bug 1409196 - Specialize loadSafeWhenRacy and storeSafeWhenRacy on arm64 for uint8_clamped to pacify Clang. f=jbeich, r=me
--HG--
extra : rebase_source : b1e382c7caf5aa36a61a03bf9d73e893b6a232b8
2017-10-18 22:26:04 +01:00
Jon Coppeard
b7bb9b9f89 Bug 1409751 - Move sweep group iteration inside the sweep action tree r=sfink 2017-10-19 10:48:08 +01:00
Jon Coppeard
52ea118120 Bug 1409751 - Rename sweep group iterator to make it clear that it iterates through the zones in a group r=sfink 2017-10-19 10:47:58 +01:00
Jon Coppeard
f7ee5a42ed Bug 1409751 - Make incremental sweep actions call a method on GCRuntime rather than a function r=sfink 2017-10-19 10:47:57 +01:00
Nicholas Nethercote
78030c0e7b Bug 1409598 - Change nsIXPCScriptable::className and nsIClassInfo::{contractID,classDescription} from string to AUTF8String. r=froydnj.
This lets us replace moz_xstrdup() of string literals with AssignLiteral(),
among other improvements.

--HG--
extra : rebase_source : 9994d8ccb4f196cf63564b0dac2ae6c4370defb4
2017-10-18 13:17:26 +11:00
Zirak
7153bb9c10 Bug 1408452 - Add test262 test case. r=arai 2017-10-18 15:37:00 -04:00
Zirak
6d7dfd21aa Bug 1408452 - Fix RegExpParser position tracking. r=arai
Alongside setting has_more_, we also need to set next_pos_
accordingly, otherwise calling RegExpParser::Reset could inadvertently
leave us in a bad state.
2017-10-18 15:29:00 -04:00
Sebastian Hengst
a898dd107e Backed out changeset 88c4af1d92d0 (bug 1409441) for crashing devtools' devtools/client/performance/test/browser_perf-console-record-08.js on Linux x64 pgo. r=backout on a CLOSED TREE
--HG--
extra : amend_source : e28cb0cd2d0b5a9a6a89db56a9382c7fc2e6f0c8
2017-10-19 00:11:38 +02:00
Sebastian Hengst
1155d4b14b Backed out changeset 714bd2c7dbc7 (bug 1409441) 2017-10-19 00:11:33 +02:00
Sebastian Hengst
a64536590a Backed out changeset f6de6926530e (bug 1409441) 2017-10-19 00:11:27 +02:00
Sebastian Hengst
5c8bf0e59b Backed out changeset acb5cba79c55 (bug 1409441) 2017-10-19 00:11:21 +02:00
Jeff Walden
8f3157d8ac Bug 1409527 - obj[@@asyncIterator] should be treated as if it were specified when its value is an object that emulates |undefined|. r=anba
--HG--
extra : rebase_source : dd9ac60434fe06b3ceaae8e34323e01f4751a54b
2017-10-17 19:11:17 -07:00
Jeff Walden
542c511e67 Bug 1408740 - Correctly throw a TypeError when closing iterators when <generator>.return is an object emulating undefined. r=anba
--HG--
extra : rebase_source : f7bf3c2c955a8711eab3dd2c9edcbfaf9df6e45e
2017-10-17 18:55:41 -07:00
Matt Howell
da35b53add Bug 1348087 Part 2 - Add a new XPC_MSG_DEF required by tests for this bug. r=rstrong
MozReview-Commit-ID: 7kmTO18DZUZ

--HG--
extra : source : d551141c88de846330e007973d0d6ad02d6a961e
2017-09-08 14:00:27 -07:00
Rofael Aleezada
111c53a000 Bug 1310971 - Change |HandleValueArray(const RootedValue& value)| to |HandleValueArray(HandleValue value)|. r=jonco
--HG--
extra : amend_source : aa9e8520e679b5fcca691a3f36cccf3086b8557b
2017-10-18 11:48:00 -04:00
André Bargull
6e8e617ff4 Bug 1398780 - Part 2: Remove unnecessary rooting in SpeciesConstructor and some Array methods. r=till
--HG--
extra : rebase_source : 27ee10c9710b9eb78763e9de679178b3e5719be5
2017-10-18 09:24:06 +01:00
André Bargull
15dbd9ec35 Bug 1398780 - Part 1: Add a fast path when Array.prototype.slice is called with an arguments object. r=till
--HG--
extra : rebase_source : b02ccaf4d1718fa5c412a53601b65da3d7f8f3e6
2017-10-17 22:57:40 +01:00
Tom Schuster
fdc329472a Bug 1378186 - Implement super.property in Ion. r=jandem 2017-10-18 20:47:29 +02:00
Tom Schuster
cb997a8576 Bug 1378186 - Fix GetElemSuper stack handling in baseline. r=jandem 2017-10-18 20:46:41 +02:00
Jan de Mooij
7929e1f927 Bug 1409441 part 4 - Inline some more methods. r=bbouvier 2017-10-18 17:13:07 +01:00
Jan de Mooij
1030d1700b Bug 1409441 part 3 - Inline some Activation/JitActivation methods. r=bbouvier 2017-10-18 17:12:47 +01:00
Jan de Mooij
bfbd5dfb58 Bug 1409441 part 2 - Move null check from clearRematerializedFrames to JitActivation dtor. r=nbp 2017-10-18 17:12:21 +01:00
Jan de Mooij
88e88d7bf9 Bug 1409441 part 1 - Inline ActivationEntryMonitor constructor/destructor. r=fitzgen 2017-10-18 17:11:41 +01:00
Jason Orendorff
c51aa0ae1e Bug 1407414 - Crash in js::GetOwnPropertyDescriptor. r=bz
--HG--
extra : rebase_source : 809c17494fa0aafcc0964593510457d1b3712ddc
2017-10-17 16:25:40 +01:00
Nicholas Nethercote
7f098bdb9c Bug 1409227 (part 4) - Replace nsMemory::Clone(id, sizeof(nsID)) with nsID::Clone(id). r=mccr8.
This change requires introducing nsID::Clone(). Because it's infallible, the
patch also removes some redundant failure-handling code. (nsMemory::Clone() is
also infallible, so this code was redundant even before this change.)

--HG--
extra : rebase_source : ef22757d3fa814320490bf7e19e822b8f0c4bdc3
2017-10-18 10:39:20 +11:00
Nicholas Nethercote
1fdf1c46d3 Bug 1409227 (part 3) - Replace nsMemory::Clone(s, sizeof(s)) with moz_xstrdup(s). r=froydnj.
The new code is slightly less efficient because it requires measuring the
string length, but these strings are all short so it shouldn't matter.

Note that the case in DataToString() is a little different. The std::min() that
was there appears to be excessive caution -- this code is always printf'ing
some kind of number, so 32 chars should never be reached -- but it was bogus
anyway, because if 32 was exceeded then (a) we would have overflowed `buf`, and
(b) we'd be returning a non-null-terminated string.

--HG--
extra : rebase_source : b666ad72c09d8c32b98bb9abc9dce1bd0c912c9b
2017-10-17 13:28:40 +11:00
Nicholas Nethercote
3076238153 Bug 1409227 (part 2) - Replace nsMemory::Clone(s, strlen(s)+1) with moz_xstrdup(s). r=erahm.
They are equivalent -- both infallible, both requiring measuring the length of
the string -- but moz_xstrdup is much more readable. (One place deals with
16-bit strings and so uses NS_strdup instead, which is also infallible.)

The patch also removes some failure-path code that will never execute due to
the infallibility.

--HG--
extra : rebase_source : 115574cf55db90b60e6bee59e5dc6ee409374159
2017-10-17 13:09:29 +11:00
Sebastian Hengst
f3f32c7851 merge mozilla-central to mozilla-inbound. r=merge a=merge
--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 98d9275bf6065bc701881aed6c4635f1da9ea642
2017-10-18 00:05:25 +02:00
Sebastian Hengst
34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Sean Stangl
031b782d8e Bug 1340532 - Limit number of SharedArrayBuffers in normal JS code. r=lth 2017-10-17 11:18:42 -04:00
Luke Wagner
70c9a6e4aa Bug 1406421 - Baldr: allow parallel compilation to proceed until finish() (r=bbouvier)
MozReview-Commit-ID: 4qjAeC668Mp

--HG--
extra : rebase_source : 4b1b238f0732cda0abd33c08ac676c495d9347f1
2017-10-17 08:55:36 -05:00
Luke Wagner
584ea5e01a Bug 1406421 - Remove invalid assert from ~BufferStreamState() (r=till)
MozReview-Commit-ID: 6f1xRdHoLWL

--HG--
extra : rebase_source : 21aa5213b3f0fdab67f43c18d2b6fb6cfa2ca8b8
2017-10-17 08:54:17 -05:00
Luke Wagner
8425b460cd Bug 1406421 - Fix js::Thread race on windows (r=till)
MozReview-Commit-ID: 32MrHVeATH5

--HG--
extra : rebase_source : 2306fd91f8ebee0d2d23d0ce93f8e1af3c4865eb
2017-10-17 08:52:40 -05:00