Tom Schuster
f8668104df
Bug 1404659 - Constant fold in/hasOwn with a definite slot or known unboxed offset. r=jandem
2017-10-06 17:45:52 +02:00
Nicolas B. Pierron
79edd7ebf7
Bug 1405795 - Use UniquePtr for the single-linked lists of LifoAlloc. r=jandem,luke
2017-10-06 15:15:19 +00:00
Jan de Mooij
efc24170f6
Bug 1347984 - Check for dead object proxies in TriggerPromiseReactions. r=till
2017-10-06 20:11:07 +02:00
Lars T Hansen
b162433297
Bug 1402939 - Completely ban unaligned exclusive accesses on ARM simulator. r=bbouvier
...
--HG--
extra : source : 55d13c787d96450c4cd4b02f843516cd988cd8a3
2017-09-29 17:36:55 +02:00
Lars T Hansen
460164fd6a
Bug 1404760 - wasm baseline, disable branch optimization for int64 on x86 to avoid register starvation. r=bbouvier
...
--HG--
extra : source : c80e87f3242679c9e9548592f27173871824b681
2017-10-02 10:45:26 +02:00
Christian Holler
566f9ff84a
Bug 1406081 - Add GCOV signal handlers to JS shell. r=jandem
...
MozReview-Commit-ID: PKChrt45KO
--HG--
extra : rebase_source : 76440b58b4bb9936926f072b5959e48d54b57b86
2017-10-05 18:32:51 +02:00
Hiroyuki Ikezoe
5e34bc1f57
Bug 1329169 - Use atom for animation-name property. r=xidorn
...
MozReview-Commit-ID: 9yVWXVi1oXf
--HG--
extra : rebase_source : f0d8a731c3e6caaf248a0b0e25ef96370af3ecd8
2017-10-10 17:00:28 +09:00
Christian Holler
dfac1cc60d
Bug 1403668 - Use SA_ONSTACK for several SIGSEGV handlers. r=ted
...
MozReview-Commit-ID: IwVYiBF3Ek8
--HG--
extra : rebase_source : 3bbcdee6042aa9e159432c8d0df6f922dba002f1
2017-10-07 17:59:37 +02:00
Peter Van der Beken
c705293c1c
Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
...
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Jon Coppeard
d320a4eb15
Bug 1405274 - Add a dynamic malloc bytes threshold: Reland to fix timeout in wpt /wasm/many-memories.window.html. r=sfink
...
--HG--
extra : amend_source : f264f9be43a07b5dfe52cde125957506f23e48e7
2017-10-10 20:01:26 +02:00
Luke Wagner
47d4b17e68
Bug 1406889 - Baldr: fix profiling debug-enabled debug (r=bbouvier)
...
MozReview-Commit-ID: 5aJue8wIjm2
--HG--
extra : rebase_source : 318ca757ecf087c2c192fb89e75e124d75d4a352
2017-10-10 12:48:23 -05:00
Dragan Mladjenovic
e69191dc79
Bug 1407270
- [MIPS] Add missing failure handling changes from bug 1360211. r=bbouvier
...
--HG--
extra : amend_source : c8b393af3cfd23af6015c63d8b394974647fc0b9
2017-10-10 08:21:00 -04:00
Jon Coppeard
e8fa220750
Backed out changeset a7d845dd8d7a (bug 1405274) for telemetry regressions
2017-10-10 15:44:31 +01:00
Brian Hackett
5d9c6ef400
Bug 1402958 - Put a cap on the number of distinct live ranges the backtracking allocator can handle, r=sunfish.
2017-10-10 07:25:30 -07:00
Mike Hommey
4fe7459180
Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj
...
--HG--
extra : rebase_source : ac7bb0d7766fce5b6325c34c2868b26eec594e18
2017-09-28 10:37:27 +09:00
Robert Helmer
b5691ba8af
Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
...
MozReview-Commit-ID: rnjEJc1Uir
--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Robert Helmer
cb1aad0897
Bug 1348981 - add Cu.readURI helper for sync file reading on startup r=kmag
...
MozReview-Commit-ID: 1yz25afCUDs
--HG--
extra : rebase_source : 549e28b7ceeb6556156d8f6e4d2a7470852d64c0
2017-09-19 12:13:08 -07:00
Wes Kocher
d8985b6e57
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Jon Coppeard
5a57adf461
Bug 1384049 - Trigger an incremental GC based on malloc memory counters r=pbone
2017-10-04 15:45:30 +01:00
Tom Schuster
e9b18c4d63
Bug 1405457 - Scalar replacement for call objects. r=nbp
2017-10-04 16:41:45 +02:00
Tom Ritter
26f1bc6cd8
Bug 1404147 Cast constants to the type they are compared to r=smaug
...
MozReview-Commit-ID: JQDZTBOALZm
--HG--
extra : rebase_source : 5cb3ed5da7f99defd524247ff798c9c501ef851a
2017-09-28 17:47:43 -05:00
Zibi Braniecki
fef60ef862
Bug 1403318 - Expose Intl.PluralRules. r=anba
...
MozReview-Commit-ID: qxU4dWBO94
--HG--
extra : rebase_source : ce10c69018defcd71e2e8e83eb48d8413b478b88
2017-09-27 19:16:10 +02:00
Jon Coppeard
bb53eafa1b
Bug 1341093 - Transfer malloc bytes when zones are merged r=sfink
2017-10-04 13:22:29 +01:00
Jon Coppeard
fe8c0b3d83
Bug 1405274 - Add a dynamic malloc bytes threshold r=sfink
2017-10-04 13:20:32 +01:00
Jon Coppeard
9bd7df8b2f
Bug 1405274 - Make malloc counters count up instead of down r=sfink
2017-10-04 13:20:32 +01:00
Jon Coppeard
df11828d61
Bug 1405274 - Always update runtime malloc counter too when malloc memory is associated with a zone r=sfink
2017-10-04 13:20:32 +01:00
Benjamin Bouvier
92f5733cdc
Bug 1404714: inIon() should return false when in wasm; r=nbp
...
MozReview-Commit-ID: 76qU9UjcROt
--HG--
extra : rebase_source : 1d42abab89e3a839d29ad6f8cd800e7b05259606
2017-10-03 19:57:05 +02:00
Benjamin Bouvier
70df0d4656
Bug 1403873: Rename JitProfilingFrameIterator to JSJitProfilingFrameIterator; r=luke
...
(and associated methods in ProfilingFrameIterator: jitIter=>jsJitIter, isJit=>isJSJit)
MozReview-Commit-ID: CaYxMlOsg7W
--HG--
extra : rebase_source : 87506558b17ce59dd2943e4579ff639d3ceefcbc
2017-10-03 20:25:21 +02:00
Benjamin Bouvier
d5ee809c5d
Bug 1403873: Move JitProfilingFrameIterator to JSJitFrameIter.cpp; r=jandem
...
MozReview-Commit-ID: 9aepFd0A9Xs
--HG--
extra : rebase_source : d913a135101db48a3e9439fbeb21190d8c2ecd70
2017-10-03 20:17:14 +02:00
Sebastian Hengst
5e0b457b10
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Wes Kocher
8962ceb779
Backed out changeset 0b08540034c0 (bug 1405330) for failures in browser_toolbox_options_enable_serviceworkers_testing.js a=backout
...
MozReview-Commit-ID: HLiQlGjWI13
2017-10-03 16:35:11 -07:00
Sebastian Hengst
1d5497084d
Backed out changeset 582d112281f9 (bug 1403366)
2017-10-04 01:27:07 +02:00
Sebastian Hengst
4be222f271
Backed out changeset f397bfb365e1 (bug 1348981)
2017-10-04 01:00:21 +02:00
Sebastian Hengst
3c14e73ba8
Backed out changeset 199b3fe8114f (bug 1348981)
2017-10-04 01:00:15 +02:00
Mike Hommey
3b34606aa6
Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj
...
--HG--
extra : rebase_source : ac7bb0d7766fce5b6325c34c2868b26eec594e18
2017-09-28 10:37:27 +09:00
Wes Kocher
9e15b5649f
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
André Bargull
a419b4281c
Bug 1403911 - Part 16: Special case Latin-1 strings in encodeURI/decodeURI. r=jandem
...
--HG--
extra : rebase_source : c0454807aa322d9a0a0219f0f817e7383f1ef22f
2017-10-03 16:11:08 +02:00
André Bargull
fbc26e9d48
Bug 1403911 - Part 15: Generate ASCII lookup tables for Unicode methods. r=jandem
...
--HG--
extra : rebase_source : 3784168520952875e41f3b3cfdd4f85261a11c43
2017-10-03 16:11:08 +02:00
André Bargull
ec6356170a
Bug 1403911 - Part 14: Move JSSubString struct to its remaining callers. r=jandem
...
--HG--
extra : rebase_source : 693353d446e624a8701772487e9fb9f950a9befb
2017-10-03 16:11:08 +02:00
André Bargull
28acf13893
Bug 1403911 - Part 13: Remove unused methods from RegExpStatics class. r=jandem
...
--HG--
extra : rebase_source : d06a09eb416c75da0121548f90770056a19d48b3
2017-10-03 16:11:08 +02:00
André Bargull
d607068c85
Bug 1403911 - Part 12: Inline RegExp flag validation and correct return type. r=jandem
...
--HG--
extra : rebase_source : 2a4f230705de05951b05094daf67cd10a94031bd
2017-10-03 16:11:08 +02:00
André Bargull
315414bde6
Bug 1403911 - Part 11: Call internal self-hosting function through CallSelfHostedFunction to reduce code duplication. r=jandem
...
--HG--
extra : rebase_source : f5a4c64f4fa3bcadd421b61ea5aa854f9314fd79
2017-10-03 16:11:08 +02:00
André Bargull
3dd250c77e
Bug 1403911 - Part 10: Use MaybeHasInterestingSymbolProperty to speed-up toPrimitive check in HasNoToPrimitiveMethodPure. r=jandem
...
--HG--
extra : rebase_source : 01cf030c13fab256a4161e6fe2da466922f964d9
2017-10-03 16:11:07 +02:00
André Bargull
eb45cf36ad
Bug 1403911 - Part 9: Remove unused out-param from InflateString. r=jandem
...
--HG--
extra : rebase_source : 2f42bf84439e929021507d5b598e6acfa95d8cad
2017-10-03 16:11:07 +02:00
André Bargull
d8991b21ed
Bug 1403911 - Part 8: Skip extra rooting and concat-operation in BuildDollarReplacement. r=jandem
...
--HG--
extra : rebase_source : 007fcc3980b3d044bd460757d311b54e575dafc1
2017-10-03 16:11:07 +02:00
André Bargull
52d8907ff1
Bug 1403911 - Part 7: Fix style nits in jsstr.cpp. r=jandem
...
--HG--
extra : rebase_source : 114df4c1e23849225e63e07be5c6867ce3d4bfa3
2017-10-03 16:11:07 +02:00
André Bargull
5e57d938d0
Bug 1403911 - Part 6: Don't atomize the pattern in str_replace_string_raw. r=jandem
...
--HG--
extra : rebase_source : f0fd107fc2e93c52b967eec3c9a85de8cb16a945
2017-10-03 16:11:07 +02:00
André Bargull
64391d652c
Bug 1403911 - Part 5: Don't overwrite call arguments when converting arguments in string methods. r=jandem
...
--HG--
extra : rebase_source : 8b8f6c505695703ea0f9d9993c084d76ec14fde9
2017-10-03 16:11:07 +02:00
André Bargull
6e1ee960ad
Bug 1403911 - Part 4: Don't call js::IsRegExp in the fast-paths for string methods. r=jandem
...
--HG--
extra : rebase_source : 2eeecb5367f89f7127bf64d1daed14090db5f482
2017-10-03 16:11:06 +02:00
André Bargull
826c879ee7
Bug 1403911 - Part 3: Remove unnecessary rooting in String.prototype.trim, .normalize functions. r=jandem
...
--HG--
extra : rebase_source : 278b824c0b892272d713d9733b810f4d1f369757
2017-10-03 16:11:06 +02:00
André Bargull
c984cc3981
Bug 1403911 - Part 2: Enable memcmp for string matching on Linux. r=jandem
...
--HG--
extra : rebase_source : e18e6ec21c3428c38116e85907558a21e6d04f14
2017-10-03 16:11:06 +02:00
André Bargull
9fa6a3de9d
Bug 1403911 - Part 1: Replace hand-written implementation for js_strlen with char_traits. r=jandem
...
And remove unused js_strcmp and js_strncpy functions.
--HG--
extra : rebase_source : 9aac26969cf959fb5e2eefe1387b209c64262add
2017-10-03 16:11:06 +02:00
André Bargull
ab48b61fe6
Bug 1405015 - Don't perform legacy unwrapping for Intl objects when calling formatToParts. r=gandalf
2017-10-02 18:54:28 +02:00
Luke Wagner
1b4f4ded89
Bug 1404443 - Baldr: avoid ARM push/pop in prologue (r=bbouvier)
...
MozReview-Commit-ID: 6yI9EtXNJMl
--HG--
extra : rebase_source : d0ff18df5b24d98977eb8d298d24817897fc6e6d
2017-10-03 12:37:12 -05:00
Robert Helmer
9ade6ed8ac
Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
...
MozReview-Commit-ID: rnjEJc1Uir
--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Robert Helmer
4c5dbf3bf6
Bug 1348981 - add Cu.readURI helper for sync file reading on startup r=kmag
...
MozReview-Commit-ID: 1yz25afCUDs
--HG--
extra : rebase_source : 549e28b7ceeb6556156d8f6e4d2a7470852d64c0
2017-09-19 12:13:08 -07:00
Bobby Holley
ce4c83e27d
Bug 1403397 - Revert: Protect the hashmaps outside of rebuilds. r=bholley
...
This reverts commit 80a3d080ad6f6ae8641443ba08e11a6e9eed260a.
2017-10-03 14:05:57 -07:00
Wes Kocher
382a7d90d6
Merge inbound to central, a=merge
...
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Wes Kocher
4f6fbf7f5d
Backed out 2 changesets (bug 1404837, bug 1404787) for build bustage a=backout
...
Backed out changeset ec4e1ade8cf2 (bug 1404837)
Backed out changeset 5e41366119a2 (bug 1404787)
MozReview-Commit-ID: 8fHMqSdDxzh
2017-10-02 11:35:23 -07:00
Philip Chimento
ee06fd9756
Bug 1404787 - Fix symbols visibility. r=fitzgen
2017-10-01 23:02:25 -07:00
Jan de Mooij
f466c05d7e
Bug 1404310
- Rename Shape::hasSlot() to Shape::isDataProperty() and simplify callers. r=evilpie
2017-10-02 13:13:00 +02:00
Tom Schuster
f66e2fcccf
Bug 1241966 - Unbox non-object receiver for better error reporting. r=jandem
2017-10-02 12:46:29 +02:00
Jan de Mooij
eeef71ee9d
Bug 1404029 part 2 - Move some functions from SharedIC/BaselineIC files to CacheIR.cpp and make them static. r=tcampbell
2017-10-02 12:29:46 +02:00
Jan de Mooij
d03b8e3598
Bug 1404029 part 1 - Remove unused outparams from CheckHasNoSuchProperty and simplify the code. r=tcampbell
2017-10-02 12:28:46 +02:00
Lars T Hansen
9e5bd1bdfd
Bug 1402939 - Handle OOB faults in the exclusive-access instructions. r=bbouvier
...
--HG--
extra : rebase_source : 359b22cdd0b78aabb35cfdb3858c8531e9b0dff3
extra : source : 3d9deec5d4a08bd3d85e37d0bca3d857ce33bf83
2017-09-29 16:10:37 +02:00
Sebastian Hengst
efe42832aa
merge mozilla-central to autoland. r=merge a=merge
2017-10-02 11:05:23 +02:00
Cameron McCormack
2d5127e67f
Bug 1404243 - Some more heap write analysis tweaks. r=me
...
MozReview-Commit-ID: Fxpg6OUHqSC
2017-10-02 16:51:45 +08:00
Jan de Mooij
f539dbedf1
Bug 1398768 part 12 - Remove/inline CanonicalizeArrayLengthValue. r=anba
...
--HG--
extra : rebase_source : 05168647a7f049c91cdaa26daeeb137610d2ee31
2017-10-01 11:38:39 +02:00
Jan de Mooij
c54af726e3
Bug 1398768 part 11 - Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again. r=evilpie
...
--HG--
extra : rebase_source : 7635e07892c2a93baea5025fb7436250a1a2e2bf
2017-10-01 11:37:46 +02:00
Jan de Mooij
3eb82c60ee
Bug 1398768 part 10 - Remove and clean up more code. r=evilpie
...
--HG--
extra : rebase_source : 8986354f4ce042be64c57e9f51a3b784d4f83f4c
2017-10-01 11:37:00 +02:00
Philip Chimento
2755938ad8
Bug 1404787 - Fix symbols visibility. r=fitzgen
2017-10-02 22:20:33 -07:00
André Bargull
a9bfae115e
Bug 1405122
- Use variadic templates for MixPolicy. r=nbp
2017-10-03 16:08:58 +02:00
André Bargull
84a3f3aa2e
Bug 1405121 - Add fast path for native objects to TestIntegrityLevel. r=jandem
2017-10-03 12:02:36 +02:00
André Bargull
87590d41ec
Bug 1405123 - Only create the initial holder when JSON.stringify was called with a replacer function. r=jandem
2017-10-03 11:45:29 +02:00
Jan de Mooij
e147b24667
Bug 1405330 - Clean up and optimize Promise debugger hooks. r=till
2017-10-03 22:17:36 +02:00
Wes Kocher
eb9a2ed0f2
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Sebastian Hengst
5e8bacff75
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-29 13:32:19 +02:00
Sebastian Hengst
5253bb7207
merge autoland to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 2gWLO0vz64b
2017-09-29 13:30:42 +02:00
Jan de Mooij
e6eae9e233
Bug 1403368 - Make clone() shell function fuzzing-safe. r=luke
2017-09-29 12:09:54 +02:00
Jan de Mooij
9419b1af93
Bug 1398768 part 9 - Clean up and rename SetOrExtendBoxedOrUnboxedDenseElements. r=evilpie
2017-09-29 12:05:39 +02:00
Jan de Mooij
70d7d46577
Bug 1398768 part 8 - Clean up and rename MoveBoxedOrUnboxedDenseElements. r=evilpie
2017-09-29 12:05:09 +02:00
Jan de Mooij
f5133d1dfc
Bug 1398768 part 7 - Replace CopyBoxedOrUnboxedDenseElements with a NativeObject::initDenseElements overload. r=evilpie
2017-09-29 12:03:54 +02:00
Lars T Hansen
b8549c141b
Bug 1402939 - ARM asm/disasm/simulator exclusive-ops bugfixes. r=bbouvier
...
--HG--
extra : source : d08c88da577bfe70e775677598a86f58eb565735
extra : amend_source : 1f10c98c3bffbb09963661ba7a0e3aa71b01b68e
2017-09-25 20:40:53 +02:00
Lars T Hansen
ea026b35c8
Bug 1403914 - define WASM_HUGE_MEMORY so it's visible to all. r=luke
...
--HG--
extra : source : 91513f75ccc24c8b6b49590b08661b649cf9e033
extra : amend_source : 84ad108db53efd3230df89ba576d5b45b86b240f
2017-09-28 15:18:33 +02:00
Bobby Holley
9163763885
Bug 1403397 - Protect the hashmaps outside of rebuilds. r=Manishearth,r=dmajor,r=ehoogeveen
...
MozReview-Commit-ID: KACmfw4pZY2
2017-09-28 18:23:13 -07:00
Blake Kaplan
205489b432
Bug 1396110 - Fix races during watchdog shutdown. r=billm
...
This patch also ensures that we won't accidentally try stopping slow scripts
when we're shutting down the watchdog manager.
MozReview-Commit-ID: EMb0enfivd8
--HG--
extra : rebase_source : b27205c4d593caa1c33534591686e85fba9f0d41
2017-09-20 15:23:28 -07:00
Wes Kocher
134e495909
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher
1674eb3e4f
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Zibi Braniecki
bd6d07beb1
Bug 1403319 - Expose Intl.NumberFormat.prototype.formatToParts. r=anba
...
MozReview-Commit-ID: JBZ6SCLYkDt
--HG--
extra : rebase_source : ca5317c0fa47534135fcfc0413cc43ef51963d1d
2017-09-27 19:43:50 +02:00
Christian Holler
59f6711346
Bug 1402815 - Add interruptTest function to JS engine. r=jandem
...
MozReview-Commit-ID: El24BdESnM2
--HG--
extra : rebase_source : e0dc21d42f19ba3e036746f7f60f4527e314b1a5
2017-09-22 18:28:47 +02:00
Yoshi Huang
0353f74a53
Bug 1403162 - remove StackRooting. r=jonco
2017-09-29 10:36:44 +08:00
Boris Zbarsky
6e1b7fe7b1
Bug 1403646. Make sure dead object proxies have the same background-finalization status as the wrapper they replace. r=jonco
...
MozReview-Commit-ID: GTKbR0azcRy
2017-09-28 22:05:43 -04:00
yuyin
888a1da2c8
Bug 1329019 - MIPS: Add some missing functions to fix build errors. r=luke
2017-09-28 04:52:00 -04:00
Mike Shal
9e6798ac00
Bug 1402012 - Update buildconfig.py to use PartialConfigEnvironment; r=glandium
...
By using the PartialConfigEnvironment, the clients of buildconfig will
depend on config.statusd/ files instead of config.status directly.
Clients can access substs and defines using buildconfig.substs['FOO'] or
buildconfig.defines['BAR'], and then collect file-level dependencies for
make using buildconfig.get_dependencies(). All GENERATED_FILES rules
already make use of this because file_generate.py automatically includes
these dependencies (along with all python modules loaded).
As a result of this commit, re-running configure will no longer cause
the world to be rebuilt. Although config.status is updated, no build
steps use config.status directly and instead depend on values in
config.statusd/, which are written with FileAvoidWrite. Since those
files are not official targets according to the make backend, make won't
try to continually rebuild the backend when those files are out of date.
And since they are FileAvoidWrite, make will only re-run dependent steps
if the actual configure value has changed.
As a result of using JSON to load data from the config.statusd
directory, substs can be unicode (instead of a bare string type).
generate_certdata.py converts the subst manually to a string so the
value can be exported to the environment without issue on Windows.
Additionally, patching the buildconfig.substs dict no longer works, so
the unit-symbolstore.py test was modified to patch the underlying
buildconfig.substs._dict instead.
The other files that needed to be modified make use of all the defines
for the preprocessor. Those that are used during 'mach build' now use
buildconfig.defines['ALLDEFINES'], which maps to a special
FileAvoidWrite file generated for the PartialConfigEnvironment.
MozReview-Commit-ID: 2pJ4s3TVeS8
--HG--
extra : rebase_source : d6bb0208483f9f043e7be1b36907ca13243985f8
2017-08-24 22:52:01 -04:00
Ted Campbell
a83f5d3508
Bug 1357759 - Support megamorphic IC for JSOP_IN r=jandem
...
MozReview-Commit-ID: Ll94KKuN5FH
--HG--
extra : rebase_source : 53ed0f51617eeab710d3fa366f8e5f1f0448ce92
2017-09-26 17:40:57 -04:00
Ted Campbell
59f65b89b6
Bug 1357759 - Support proxies ICs for JSOP_IN r=jandem
...
MozReview-Commit-ID: nyoeWmmOaZ
--HG--
extra : rebase_source : 7ac328776e656d395770eb237c6c4159ec18fffe
2017-09-26 15:40:43 -04:00
Ted Campbell
4dddbff881
Bug 1357759 - Cleanup HasPropIRGenerator unboxed cases r=jandem
...
This cleans up the HasPropIRGenerator to support unboxed, expando
unboxed, and typed object cases, as well cleaning up the megamorphic
handling.
MozReview-Commit-ID: D2uZWrmENiz
--HG--
extra : rebase_source : eb80fb67e83c4442a66f2bf3fb1d9f5b6873a443
2017-09-26 10:12:01 -04:00
Sebastian Hengst
006ae28b0a
Backed out changeset 3eb67e350f38 (bug 1403366)
2017-09-29 17:19:46 +02:00
Mike Hommey
31399bfad2
Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj
...
--HG--
extra : rebase_source : f61fd84dcc801f84f4838d357c795ce07928a4e6
2017-09-28 10:37:27 +09:00
Sebastian Hengst
5a95ac34b4
merge mozilla-central to autoland. r=merge a=merge
2017-09-29 11:49:46 +02:00
Arthur Edelstein
b0247c5696
Bug 1405154 - Fix ubsan runtime error for JSExnType. r=evilpies
2017-10-02 20:38:00 -04:00
Arthur Edelstein
cd382757d3
Bug 1405156 - Fix ubsan runtime error for js::jit::ABIArgType. r=bbouvier
2017-10-02 20:42:00 -04:00
Sebastian Hengst
d478398a60
Backed out changeset e3914113117f (bug 1330142) for failing jsreftests with "xulRuntime.CPU is undefined". r=backout on a CLOSED TREE
2017-10-03 18:27:35 +02:00
Sebastian Hengst
6692d1c565
Backed out changeset a4914a29fb26 (bug 1330142)
2017-10-03 18:26:38 +02:00
Nathan Froyd
7ae1b94b0c
Bug 1330142 - part 2 - move TARGET_XPCOM_ABI to moz.configure; r=chmanchester
...
Nothing in js/ uses TARGET_XPCOM_ABI, so the code in js's configure is
dead. Since TARGET_XPCOM_ABI is a Gecko-only thing, the reasonable
place for it is toolkit/moz.configure.
TARGET_XPCOM depends on TARGET_COMPILER_ABI, and the value of
TARGET_COMPILER_ABI is easily derivable from the current target and
compiler. The only notable change we make in the conversion to
moz.configure is that the ARM old-ABI is no longer supported by any of
our current targets: Android and Linux for ARM targets are both
exclusively EABI nowadays, so we have one less case to worry about.
TARGET_COMPILER_ABI's sole purpose was to provide information for
TARGET_XPCOM_ABI, and since we are deriving TARGET_XPCOM_ABI exclusively
inside moz.configure, we can remove TARGET_COMPILER_ABI.
2017-10-03 10:33:44 -05:00
Nathan Froyd
cfb751921c
Bug 1330142 - part 1 - don't grovel in autoconf.mk for jstest config bits; r=sfink
...
Nowadays, we dump out most of the interesting results of configure in a
perfectly serviceable Python module; let's use that instead.
Additionally, the jstests framework uses values of TARGET_XPCOM_ABI from
configure as a condition for some of its tests. But all the conditions
checking the XPCOM ABI only care about the CPU, and checking the XPCOM
ABI is somewhat odd in jstests, which have little to nothing to do with
XPCOM. Let's switch from using TARGET_XPCOM_ABI to TARGET_CPU, and
changing the test framework and tests accordingly.
2017-10-03 11:33:44 -04:00
Benjamin Bouvier
4bd9388156
Bug 1360211: Remove JitActivation::active_; r=jandem
...
MozReview-Commit-ID: 9HmkNS2wmgL
--HG--
extra : rebase_source : c158acfb2fdaa3ceb800ce04e5930ef004b524a8
2017-09-29 16:48:09 +02:00
Benjamin Bouvier
5875636573
Bug 1360211: Remove all the CodeSegment outparams in wasm::Code lookup functions; r=luke
...
MozReview-Commit-ID: GwjE4Gpz4Tn
--HG--
extra : rebase_source : c945e2df6b5b238f2b4bd6784a01e8cca79fbfb3
2017-09-29 11:40:01 +02:00
Benjamin Bouvier
e5d4b9b2c4
Bug 1360211: Make WasmCompartment code lookup blazingly fast; r=luke
...
MozReview-Commit-ID: DSSpa9qzuGF
--HG--
extra : rebase_source : 86959fc199acb79a6688989b09a679c36c527882
2017-09-28 19:19:53 +02:00
Benjamin Bouvier
85eeabbd52
Bug 1360211: Tests; r=luke
...
MozReview-Commit-ID: LNAlg2bsQa
--HG--
extra : rebase_source : 73392409bf2a953aef7f6af914abb8ee6dea2b06
2017-09-27 20:00:39 +02:00
Benjamin Bouvier
8f85f6c936
Bug 1360211: Merge WasmActivation into JitActivation and make wasm->jit calls faster; r=luke, r=jandem
...
This is a folded patch containing the patches in the bug named as:
- Handle the "untrusted FP" in wasm->jit exit;
- Handle failures in wasm->jit fast path;
- Profiling frame iteration;
MozReview-Commit-ID: 2hs8yyKGQ9v
--HG--
extra : rebase_source : e71f6bb5558a4c78c7ae4ce0b6b8cfa11d0b10f7
2017-09-27 21:16:29 +02:00
Benjamin Bouvier
5335ccdcde
Bug 1360211: Rename JitActivation::exitFP to JitActivation::packedExitFP; r=jandem
...
MozReview-Commit-ID: B4KunBt6UCx
--HG--
extra : rebase_source : c22011ed610249a89b90ce8d5711454d5bf82696
2017-09-27 20:49:38 +02:00
Jon Coppeard
ea5a805538
Bug 1405016 - Include full/zone GC information in JS_GC_PROFILE output r=sfink
2017-10-03 12:51:41 +01:00
Jon Coppeard
89c7204475
Bug 1404859
- Simplify dead object proxy handler state tracking r=evilpie
2017-10-03 12:51:40 +01:00
Jan de Mooij
e55ad3a8d5
Bug 1404395 - Remove unnecessary shape() null checks in PreliminaryObjectArrayWithTemplate::maybeAnalyze. r=bhackett
2017-10-03 10:07:33 +02:00
Sebastian Hengst
fb83346aed
Backed out changeset a8a2b3d99ed9 (bug 1348981)
2017-10-04 15:43:57 +02:00
Sebastian Hengst
261978bbab
Backed out changeset d96c54a045a4 (bug 1348981)
2017-10-04 15:43:51 +02:00
Dão Gottwald
0300b0c60d
Bug 543535 - Remove ISO8601DateUtils.jsm. r=mak
...
MozReview-Commit-ID: 6k7sS6TUCYL
--HG--
extra : rebase_source : bdfe8cfd3ce93f88f38b9d0cd2e2961a6202b0aa
2017-10-04 12:34:11 +02:00
Cameron McCormack
0b7960f23a
Bug 1397626 - Part 3: Use SharedFontList to store font-family specified and computed values. r=xidorn
...
MozReview-Commit-ID: J3MNO2un2ov
--HG--
extra : rebase_source : 737943aea3d383669a7103d4e23f109889c09034
2017-10-03 12:27:45 +08:00
Sebastian Hengst
7e81b9743d
merge mozilla-central to autoland. r=merge a=merge
2017-10-04 11:15:12 +02:00
Nicholas Nethercote
9e0714dd26
Bug 1403506 - Remove nsTFixedString<T>. r=erahm.
...
(patch is actually r=erahm,mystor)
nsTFixedString<T> is only used as a base class for nsTAutoStringN<T, N>, so
this patch merges the former into the latter, cutting some code and simplifying
the string class hierarchy.
Because the "Fixed" name is now gone, the patch also renames
StringDataFlags::FIXED as INLINE and ClassDataFlags::FIXED as INLINE.
The patch also removes nsFixed[C]String and ns_auto_[c]string! from Rust code
because nsAutoString can't be implemented directly in Rust due to its move
semantics. There were only two uses of ns_auto_string! outside of tests so this
seems like a minor loss.
MozReview-Commit-ID: 8ntximghiut
--HG--
extra : rebase_source : f36edbae0553adcfee356fb8b311097ff7424786
2017-09-27 20:19:33 +10:00
Robert Helmer
fe1edf420d
Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
...
MozReview-Commit-ID: rnjEJc1Uir
--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Robert Helmer
4e1a79dc01
Bug 1348981 - add Cu.readURI helper for sync file reading on startup r=kmag
...
MozReview-Commit-ID: 1yz25afCUDs
--HG--
extra : rebase_source : 549e28b7ceeb6556156d8f6e4d2a7470852d64c0
2017-09-19 12:13:08 -07:00
Christian Holler
6347aba2b4
Bug 1405285 - Add JS tests for some edge cases in jsarray/jsobj. r=jandem
...
MozReview-Commit-ID: 5se3lXkzxwq
--HG--
extra : rebase_source : bbbd4a54ba948dc54abf0ad44d359d3bf09926d8
extra : histedit_source : 153bf0f2dbe0eabe27e6c61fb5f5414819e96f7d
2017-10-03 16:07:09 +02:00
Jon Coppeard
caf1890ab9
Backed out changeset faf7b551ffd6 (bug 1384049) for octane regressions
2017-10-05 15:02:41 +01:00
Luke Wagner
f157346c4a
Bug 1405661 - Baldr: decode Code section header in DecodeModuleEnvironment (r=lth)
...
MozReview-Commit-ID: ArNa3TgJk7l
2017-10-05 08:44:34 -05:00
Luke Wagner
11eac49238
Bug 1405661 - Baldr: stidy Decoder::startSection (r=lth)
...
MozReview-Commit-ID: 8oc7V0h8YpF
2017-10-05 08:44:02 -05:00
Jan de Mooij
15f08dc8f3
Bug 1405991 - rm unused FastInvoke and FastCallGuard. r=nbp
2017-10-05 12:20:13 +02:00
Jan de Mooij
03e4c7d0bd
Bug 1405330 - Clean up and optimize Promise debugger hooks. r=till
2017-10-03 22:17:36 +02:00
Jan de Mooij
e2d9c13536
Bug 1398768 part 6 - Remove functors for array natives. r=evilpie
...
--HG--
extra : rebase_source : 685f8e1002caaa6f7d4d468b73155913056d8caf
2017-09-28 20:14:42 +02:00
Jan de Mooij
2e656a029b
Bug 1398768 part 5 - Remove unboxed arrays shell flag and context option. r=evilpie
...
--HG--
extra : rebase_source : ba9e41bc3fb987d71a223fddbd4b3576661e6a84
2017-09-28 20:14:22 +02:00
Jan de Mooij
f565c7231e
Bug 1398768 part 4 - Remove unused temps from some LIR instructions. r=evilpie
...
--HG--
extra : rebase_source : 1dc4e1661e49c203130e59303d1f9444ebc7293b
2017-09-28 20:13:51 +02:00
Jan de Mooij
188eef146d
Bug 1398768 part 3 - Use ArrayObject* instead of JSObject* in some places. r=evilpie
...
--HG--
extra : rebase_source : 335019625dd6bf95629b6878e4f12b4a7f6240f4
2017-09-28 20:13:13 +02:00
Jim Blandy
882aca957d
Bug 1397385 - Clarify use of JSOP_GIMPLICITTHIS. r=tcampbell
...
--HG--
extra : rebase_source : d97697c3a7d211c7e24c5034d8fbf3718b61593e
2017-09-07 14:37:30 -07:00
Christian Holler
a210310481
Bug 1403962 - Add JS test for FillWithUndefined special-case. r=anba
...
MozReview-Commit-ID: FBa8qw3kUSU
--HG--
extra : rebase_source : 170c3c691ad4b006e0895590d89ff1220e930c13
extra : histedit_source : d0c55eb8a841ca12b59af8bfe7def002a95538be
2017-09-28 17:11:58 +02:00
Jon Coppeard
5b67de0d02
Bug 1400278 - Remove RuntimeAllocPolicy now it's no longer used r=sfink
2017-09-28 14:21:41 +01:00
Jon Coppeard
bccffc2ea8
Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem
2017-09-20 13:19:32 +01:00
Jan de Mooij
ffd9214499
Bug 1398768 part 2 - Inline some small helper functions into the callers. r=evilpie
2017-09-28 11:15:50 +02:00
Kris Maglione
98d4287346
Bug 1402503: Part 1 - Fix slow script add-on ID detection. r=mixedpuppy
...
MozReview-Commit-ID: EYhOn2TQCq1
--HG--
extra : rebase_source : f7831fa04a8616109ff91d66a5dedf0b827527cb
extra : histedit_source : 20fa03b4f4970b872201d6f4feed7a08a98fa348
2017-09-25 10:52:11 -07:00
Zibi Braniecki
71799db666
Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
...
MozReview-Commit-ID: GqetnVVmXXL
--HG--
extra : rebase_source : a9f30e017fe630c36cb560accca067c5859a545c
2017-10-06 07:00:08 -07:00
Luke Wagner
8ff995cc21
Bug 1401827
- Baldr: use Fifo for wasm worklist (r=lth)
...
MozReview-Commit-ID: 2HhHodvSP3l
2017-09-27 09:33:02 -05:00
Luke Wagner
140973d87c
Bug 1401827
- Baldr: make Fifo::pop infallible (r=lth)
...
MozReview-Commit-ID: Sc3Vuo97yZ
2017-09-27 09:31:59 -05:00
Luke Wagner
35eb6b0822
Bug 1401827
- Baldr: simplify ModuleGenerator by making asm.js less weird (r=bbouvier)
...
MozReview-Commit-ID: 11NF1L9nC5X
* * *
[mq]: blah
MozReview-Commit-ID: E1wVO70RMP1
2017-09-27 09:31:12 -05:00
Sebastian Hengst
196c9a4941
Backed out changeset 88700ecc3751 (bug 1401827
) for leaks detected by asan, e.g. in chrome-1. r=backout
2017-09-27 19:44:16 +02:00
Sebastian Hengst
aa5d8773e4
Backed out changeset bbb1c8c9858b (bug 1401827
)
2017-09-27 19:43:51 +02:00
Sebastian Hengst
6142626b8c
Backed out changeset 6fca712ccc8c (bug 1401827
) for leaks detected by asan, e.g. in chrome-1. r=backout
2017-09-27 19:40:29 +02:00
Jon Coppeard
2378cc8b3b
Bug 1401804 - Expose wrappee if we create a new wrapper r=sfink
2017-09-27 18:02:12 +01:00
Luke Wagner
cd0e65651f
Bug 1401827
- Baldr: use Fifo for wasm worklist (r=lth)
...
MozReview-Commit-ID: 2HhHodvSP3l
--HG--
extra : rebase_source : 7c3626b4cac878536ae7180c642be661b88edf00
2017-09-27 09:33:02 -05:00
Luke Wagner
6ffaf6b9b2
Bug 1401827
- Baldr: make Fifo::pop infallible (r=lth)
...
MozReview-Commit-ID: Sc3Vuo97yZ
--HG--
extra : rebase_source : b32f9b2f148e0189026151d7355487f6adb9586e
2017-09-27 09:31:59 -05:00
Luke Wagner
9b266759c8
Bug 1401827
- Baldr: simplify ModuleGenerator by making asm.js less weird (r=bbouvier)
...
MozReview-Commit-ID: 11NF1L9nC5X
--HG--
extra : rebase_source : b805d0d1cac8fb7ecba763dd9a139b231908d716
2017-09-27 09:31:12 -05:00
Jan de Mooij
ef1192ba26
Bug 1402876 - Remove unnecessary InvalidateCompilerOutputsForScript call. r=nbp
2017-09-27 14:43:36 +02:00
Nicolas B. Pierron
7a01e4d3c7
Bug 1403535 - Ionmonkey: ensureBallast before visitControlInstruction. r=tcampbell
2017-09-27 12:39:59 +00:00
Jan de Mooij
a6dd633e2d
Bug 1398768 part 1 - Remove most unboxed array code. r=evilpie
2017-09-27 13:17:17 +02:00
Chris Peterson
e10b7338b7
Bug 1402666 - Part 2: Replace Replace(NS_LITERAL_CSTRING("")) with ReplaceLiteral(""). r=erahm
...
MozReview-Commit-ID: Ho2DHuomdi3
--HG--
extra : rebase_source : c2221823a8beea9f72810e5aec2231336dcb4622
extra : source : b8dcb71d823cf20014043bc5bde2052a974a98de
2017-09-15 19:27:59 -07:00
Wes Kocher
acf8913934
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Wes Kocher
22a72df7fe
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Wes Kocher
d8619fe6c3
Merge autoland to central, a=merge
...
MozReview-Commit-ID: BpUM80JUkMJ
2017-09-26 13:30:38 -07:00
Brian Hackett
c021969355
Backed out changeset 072f8d4a9964 (bug 1355109) for causing crashes with various extensions. a=lizzard
...
--HG--
extra : source : 520e300d1266d19aea623eb723587acc03751d50
2017-09-26 14:12:25 -04:00
Brian Hackett
ba9335f101
Bug 1402580 - Support yield callback used when entering the system zone group in the JS shell, r=jandem.
...
--HG--
extra : rebase_source : 9794f293215aff71512664d2c689246efbcad9af
2017-09-26 06:04:06 -07:00
Jan de Mooij
943f1cf93e
Bug 1153592 part 3 - Simplify GetExistingProperty now that slotful getters are gone. r=evilpie
2017-09-26 12:27:23 +02:00
Jan de Mooij
dbca189324
Bug 1153592 part 2 - Remove JSPROP_SHARED; ensure accessor props don't have slots. r=evilpie
2017-09-26 12:26:50 +02:00
Jan de Mooij
c6ddca339e
Bug 1153592 part 1 - Replace redundant checks in CheckCanChangeAttrs with debug asserts. r=evilpie
2017-09-26 12:25:56 +02:00
Jon Coppeard
2a820b9683
Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink
2017-09-26 10:23:14 +01:00
Jon Coppeard
00745bb97d
Bug 1402535 - Handle errors while checking that a module object is frozen r=evilpie
2017-09-26 10:22:28 +01:00
Jan de Mooij
68e468c3ff
Bug 1403136 - Clean up JSSetterOp code now that slotful setters are gone. r=evilpie
2017-09-26 22:26:40 +02:00
Wes Kocher
47b3660c80
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 8wTTCUkrY2i
2017-09-25 16:43:51 -07:00
Wes Kocher
7bf1b49628
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Luke Wagner
2aa1fae977
Bug 1329019 - fix JS_CODEGEN_NONE (r=npotb)
...
MozReview-Commit-ID: BWv4lyTCo3I
--HG--
extra : rebase_source : 9602e1eca4a925a269a065e83181bbed0f964694
2017-09-25 12:07:16 -05:00
Sebastian Hengst
ccdca224ca
Backed out changeset 86d7b2f346f0 (bug 1401319) for running and failing modified tests. r=backout
2017-09-25 22:53:35 +02:00
Steve Fink
811aaaffad
Bug 1402504 - Switch to using in-source annotations more directly, r=jonco
...
--HG--
extra : rebase_source : 477173b9c98df724b4a922de5ae7e3bda38cf76e
2017-09-21 09:59:02 -07:00
Steve Fink
66a3f4b7a1
Bug 1401319 - Implement xulRuntime.is64Bit for manifest tests, r=jonco
...
--HG--
extra : rebase_source : cb6a7a12821a5b26ff09aad79b8c628a29f6721e
extra : source : 6998422519778a38cfde7e901d05919fde0b023b
2017-09-20 11:47:58 -07:00
Yoshi Huang
42bd74780c
Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco
2017-09-25 14:52:16 +08:00
André Bargull
d775b8e5db
Bug 1401200 - Don't call qsort with nullptr in jit::AnalyzeNewScriptDefiniteProperties. r=nbp
2017-09-20 13:27:17 +02:00
André Bargull
449785977a
Bug 1401146 - Avoid rooting for native prototypes in js::NativeHasProperty. r=jandem
2017-09-19 13:37:00 +02:00
André Bargull
8e693bac77
Bug 1399533 - Remove duplicate checks in ForOfPIC::Chain. r=djvj
2017-09-13 18:31:22 +02:00
André Bargull
f23030fa25
Bug 1401508 - Skip creating GetCapabilitiesExecutor for default Promises in Promise.all/race. r=till
2017-09-20 13:30:21 +02:00
André Bargull
aa38e1e5c9
Bug 1401145 - Handle nullptr in NativeObject::copyDenseElements to fix UBSan error. r=jandem
2017-09-19 13:35:50 +02:00
André Bargull
89ab2c1423
Bug 1401209 - Avoid UBSan errors in Interpreter's JSOP_LSH implementation. r=jandem
2017-09-19 16:37:12 +02:00
André Bargull
a112d80dde
Bug 1401191 - Initialize MoveOp::endCycleType_ to silence UBSan warning. r=nbp
2017-09-19 15:38:47 +02:00
André Bargull
35bde05dd4
Bug 1401515 - Avoid accessing members on null pointers. r=luke
2017-09-20 13:49:16 +02:00
Chris Peterson
98b2f2fcd6
Bug 870698 - Part 7: Replace Insert(NS_LITERAL_CSTRING("")) with InsertLiteral(""). r=erahm
...
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.
MozReview-Commit-ID: DbTW5Bhd9E1
--HG--
extra : rebase_source : b27f666e5ca832d814fb6846208474e1ec66e5f4
extra : source : 9ff4e11402a9a43ed90298a9c354b0164cf9414f
2017-09-07 18:15:42 -07:00
Chris Peterson
a0c8081df4
Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
...
MozReview-Commit-ID: G1GhyvD29WK
--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Chris Peterson
45aa2a8e8e
Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
...
MozReview-Commit-ID: CrkIP4iHP1U
--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Chris Peterson
9f4c1f5278
Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
...
MozReview-Commit-ID: A0u9PP49OW3
--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Philippe Normand
6e9c2ed9f4
Bug 1402824 - Ensure mutationCount in HashTable.h is only used inside an JS_DEBUG ifdef. r=luke
...
This member variable is declared only in debug builds. This fixes the build
when this header is imported into non-unified builds.
This header is included in the build when xpcom/threads is built.
MozReview-Commit-ID: AF3YUqvVqET
--HG--
extra : rebase_source : f0065f0d326af069dc6c8a255fefbc0d2e2e9fe9
2017-09-25 10:32:01 +01:00
Andrew McCreight
1a24cc1d71
Bug 958643, part 6 - Remove some unused forward decls. r=krizsa
...
MozReview-Commit-ID: yMpU0hDUXP
--HG--
extra : rebase_source : 154cab1e7673490c824525e46a36ebd359872021
2017-09-20 12:02:47 -07:00
Andrew McCreight
75bb849fa3
Bug 958643, part 5 - Eliminate XPCJSObjectHolder. r=krizsa
...
It is now unused.
MozReview-Commit-ID: AzXW6qHdSOW
--HG--
extra : rebase_source : f60697cff778843c36a1e75f3e4f8779bc356d40
2017-09-20 10:26:16 -07:00
Andrew McCreight
e61cf2cc18
Bug 958643, part 4 - Inline CreateHolderIfNeeded. r=krizsa
...
The last argument is always null, so we don't need this function any more.
MozReview-Commit-ID: 5YWMO9ywZK3
--HG--
extra : rebase_source : 56bce2611135bb1b30e7f8ad763e13f112d2395f
2017-09-20 10:21:59 -07:00
Andrew McCreight
13c3d91b7f
Bug 958643, part 3 - Remove always-null second second argument to XPCConvert::NativeInterface2JSObject. r=krizsa
...
MozReview-Commit-ID: CQvJ1bZBLyS
--HG--
extra : rebase_source : 0da1274aa8d6b3584ac0103ddf8884e993887574
2017-09-20 10:20:48 -07:00
Andrew McCreight
8ee8721f0d
Bug 958643, part 2 - Remove always-null last argument to NativeInterface2JSObject. r=krizsa
...
MozReview-Commit-ID: G9F6wlMWCl9
--HG--
extra : rebase_source : 313a40850965fc1a2488ef60deaf9d1cb2705806
2017-09-20 10:15:06 -07:00
Andrew McCreight
78601602bf
Bug 958643, part 1 - Remove the unused nsXPConnect::WrapNativeHolder. r=krizsa
...
MozReview-Commit-ID: AOQYLS8FFrf
--HG--
extra : rebase_source : ce8f98c71d43f12235ead8280ba4ee0c84cb0238
2017-09-20 10:12:35 -07:00
Wes Kocher
6e84ca9226
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 7rJ9fpLBazL
2017-09-22 15:06:12 -07:00
Wes Kocher
1443004d66
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2MDU9VGB9Pg
2017-09-22 14:56:05 -07:00
Ted Campbell
ead739886e
Bug 1402167 - Check JSScript::data integrity in XDR r=nbp
...
MozReview-Commit-ID: ADBCAUKpakY
2017-09-22 16:16:45 -04:00
Luke Wagner
c558894746
Bug 1329019 - Baldr: don't transport MacroAssemblers between helper and ModuleGenerator threads (r=lth)
...
MozReview-Commit-ID: 7OAc188WmzB
2017-09-22 11:05:38 -05:00
Luke Wagner
65f6c844dc
Bug 1329019 - Baldr: Split CallSiteAndTarget into CallSite and CallSiteTarget (r=lth)
...
MozReview-Commit-ID: 8pBMZHnHcIf
2017-09-22 11:05:25 -05:00
Luke Wagner
bbe32a26fd
Bug 1329019 - Baldr: Only compute bytecode hash in debug mode (r=yury)
...
MozReview-Commit-ID: GKxQzBznHJh
2017-09-22 11:05:05 -05:00
Luke Wagner
42179d2472
Bug 1329019 - Baldr: simplify InternalLink code (r=lth)
...
MozReview-Commit-ID: HGpmFpyKit8
2017-09-22 10:32:27 -05:00
Ted Campbell
0c0f65b002
Bug 1401568 - [Ion] Add ResumePoint to JSOP_SETPROP TypedObject case r=jandem
...
This adds the required IonBuilder::resumeAfter calls to this case. There
is also some refactoring so that this call is done where the MIR store
node is.
MozReview-Commit-ID: 94udSQzPmyh
--HG--
extra : rebase_source : a44555e21db924374d6516eaf638f56fbf2d970e
2017-09-20 15:44:59 -04:00
Nicholas Nethercote
e3c9cbb969
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Sean Stangl
e12cd767a3
Bug 1394146 - Avoid overflow on backwards iteration of IC entries. r=jandem
2017-09-21 15:37:00 -04:00
Wes Kocher
640a5d3c46
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Wes Kocher
a7fe048680
Merge inbound to central, a=merge
...
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Brian Hackett
c0bced7eee
Bug 1401985 - Purge frontend collection pool after off thread parsing, r=jonco.
2017-09-21 08:18:07 -07:00
Jon Coppeard
ac6b4e8831
Backed out changeset 29b2e8acf5f9 (bug 1400278) for local crashes
2017-09-21 15:50:36 +01:00
Nicholas Nethercote
1aef116268
Bug 1401100 - Remove nsIMemoryReporterCallback. r=erahm.
...
nsIHandleReportCallback, typedef of nsIMemoryReporterCallback, has been the
preferred name for a long time and is used in most places. This patch removes
nsIMemoryReporterCallback.
--HG--
extra : rebase_source : c675076b4f98d93d96235dad890e31e0b0e6c277
2017-09-22 08:09:29 +10:00
Christian Holler
5c886f1afd
Bug 1395240 - Implement stackTest function for JS stack OOM testing. r=jandem
...
MozReview-Commit-ID: LRFb0adTFR8
--HG--
extra : rebase_source : f36fff24683195d4239b4ae29f3e0f0d8a0535c7
2017-09-20 14:19:21 +02:00
sourav3
d86c9b8d16
Bug 1399777 Fprinter directing output to Windows debug console when it outputs to stderr. r=Yoric
...
MozReview-Commit-ID: 81ubXofHIlG
***
Using PodCopy instead of std::copy and fixing spaces
--HG--
extra : rebase_source : 4da76d1821734932a717c13df4e1e42f9d9b296e
2017-09-21 17:06:51 +08:00
Kris Maglione
f37317cad0
Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz
...
We don't have access to an appropriate context to create the dead wrapper in
when the callback is nuked, so instead, this patch creates a new dead wrapper
in the caller compartment each time the property is accessed. This is the same
behavior we'd get when trying to re-wrap a cross-compartment dead wrapper, so
it's consistent with the way we handle these situations elsewhere.
MozReview-Commit-ID: 3cMeR4z8EOe
--HG--
extra : rebase_source : 7e8cf4a195ef64deb7677ce4ac9818d342815667
2017-09-04 17:21:06 -07:00
Lars T Hansen
71a8cbdccf
Bug 1380033 - Tiering policy with space proxy. r=luke
...
--HG--
extra : rebase_source : df238cefe35aae6d90e1ad29c8768389a7bdf9a6
extra : amend_source : b7c5abf772eeab5a8f46491c0dc7748b1ad521f2
2017-08-31 12:24:13 +02:00
Jon Coppeard
ba64ef4717
Bug 1401804 - Fix IsMarkedBlack check used in gray marking asserts r=sfink
2017-09-22 13:09:44 +01:00
Sebastian Hengst
f2339cc31c
Backed out changeset be26c0a0a56f (bug 1380033) for build bustage on Windows at js/src/shell/js.cpp(1351). r=backout on a CLOSED TREE
2017-09-22 12:35:00 +02:00
Lars T Hansen
f875e0fd37
Bug 1380033 - Tiering policy with time estimation. r=luke
...
--HG--
extra : rebase_source : 614f93ad77e6583f313c502daf6f053e0bfdea1b
extra : amend_source : a0634599778e06ca6ff87289b430c9cc10f69fe2
2017-08-31 12:24:13 +02:00
Xidorn Quan
c5b7f94e1c
Bug 1400438
- Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
...
MozReview-Commit-ID: LPl1Rlg5gRn
--HG--
extra : rebase_source : c9df383e14523bb534cac5018333178b7c17167a
2017-09-18 13:38:39 +10:00
Wes Kocher
a6b8d9e91b
Merge inbound to central, a=merge
...
MozReview-Commit-ID: JpqY5uEi1nf
2017-09-20 17:18:21 -07:00
Andrew McCreight
767b21fb24
Bug 1176342, part 2 - De-COM the flags for InitClassesWithNewWrappedGlobal. r=mrbkap
...
MozReview-Commit-ID: 4QFtHPIzUd0
--HG--
extra : rebase_source : e7b8c4156be165c44ddb2e7be557e52438c63d42
2017-09-19 13:12:50 -07:00
Andrew McCreight
36eb42025b
Bug 1176342, part 1 - De-COM InitClassesWithNewWrappedGlobal. r=mrbkap
...
MozReview-Commit-ID: EfRQW3QUXCG
--HG--
extra : rebase_source : 895694d28cc228cfb095639880738c84767e08a8
2017-09-18 16:35:39 -07:00
André Bargull
eb7eab5675
Bug 1398928 - Pass correct argument to SpeciesConstructor call. r=till
2017-09-20 13:29:11 +02:00
André Bargull
25f8cf31a9
Bug 1401148 - Don't count duplicate extension sequence values as variants in BCP49 language tags. r=gandalf
2017-09-19 13:38:17 +02:00
Jon Coppeard
fdaa9799f9
Bug 1399866 - Dump more info on gray marking failure r=sfink
2017-09-20 18:23:47 +01:00
Jon Coppeard
93ba37ecef
Bug 1399866 - Add gray marking assertions when setting proxy target r=sfink
2017-09-20 18:23:47 +01:00
Sebastian Hengst
df20a52132
Backed out changeset 699842251977 (bug 1401319) for spidermonkey arm bustage. r=backout
2017-09-20 19:06:19 +02:00
Jan de Mooij
810244a62c
Bug 1401577 - Optimize object flag accessors on native objects. r=anba
2017-09-20 18:56:08 +02:00
Sebastian Hengst
b130673ff9
Backed out changeset 3c7dfc3cc0c0 (bug 1401243) on request from sfink (issue with hazard build). r=backout on a CLOSED TREE
2017-09-20 18:15:48 +02:00
Sebastian Hengst
073de4c005
Backed out changeset f668fa4b566d (bug 1401243)
2017-09-20 18:14:24 +02:00
Steve Fink
7bd376db9b
Bug 1401243 followup - fix explicit constructor warning on a CLOSED TREE
...
--HG--
extra : rebase_source : 8fb16c0b2d1a3e280e441edc80edc33f74b74af8
2017-09-20 08:53:50 -07:00
Steve Fink
adefce326a
Bug 1401319 - Implement xulRuntime.is64Bit for manifest tests, r=jonco
...
--HG--
extra : rebase_source : c1defa63b4da806ff171cd7ae3b54e4bf0a06011
extra : amend_source : 897792dc8f7467204c6be9855e4033f45c0f31f5
2017-09-19 15:43:21 -07:00
Steve Fink
9880e2f905
Bug 1401243 - Remove AutoGCRooter for Parser, r=jonco
...
--HG--
extra : rebase_source : 1b9a95e8290b38c2dd2d6875427c61c8c818756a
2017-09-19 09:55:33 -07:00
Jon Coppeard
2b16b7ec4c
Bug 1400278 - Now fix style check bustage r=me
2017-09-20 14:00:56 +01:00
Jon Coppeard
6816847891
Bug 1400278 - Fix non-unified build bustage r=me
2017-09-20 13:35:52 +01:00
Jon Coppeard
056acc6fae
Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem
2017-09-20 13:19:32 +01:00
Jon Coppeard
d37d34fd39
Bug 1400278 - Replace use of RuntimeAllocPolicy with ZoneAllocPolicy r=sfink
2017-09-20 13:19:32 +01:00
Jon Coppeard
0d5497bfb5
Bug 1400278 - Fix compilation errors to do with unreachable return statements r=jandem
2017-09-20 13:19:32 +01:00
Jon Coppeard
2934befd2a
Bug 1400278 - Move definition of ZoneAllocPolicy to jsalloc.h r=sfink
2017-09-20 13:19:31 +01:00
Sebastian Hengst
cbf485433e
Backed out changeset 61a277705d59 (bug 1400438
) for heap write hazard. r=backout
2017-09-20 16:52:02 +02:00
Xidorn Quan
4599882448
Bug 1400438
- Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
...
MozReview-Commit-ID: LPl1Rlg5gRn
--HG--
extra : source : 418288301c994faded0993a1cd3d73fc3b6521be
extra : amend_source : 7cba1fc0ca13b86782aa05ab4dae4cdc7eb9fbf6
2017-09-20 22:52:20 +10:00
David Teller
0f4729ce0f
Bug 1401299 - Removing leftover putc(stderr, ...) from ParseNode;r=nbp
...
MozReview-Commit-ID: 5F78rFhxWYE
--HG--
extra : rebase_source : cad1a315428da0923822d9c829bdce4f26020598
2017-09-19 20:48:35 +02:00
Ted Campbell
63b0ef8f64
Bug 1401014 - Fix resume point in IonBuilder::setPropTryInlineAccess r=jandem
...
MozReview-Commit-ID: L5VpnS41tiH
--HG--
extra : rebase_source : d7eef0358a28a652b7038af8cf609d038c27ee6f
2017-09-20 00:50:20 -04:00
Jan de Mooij
e240cf665f
Bug 1384121 part 2 - Add asserts to catch similar bugs and fix some false positives. r=nbp
2017-09-20 12:13:54 +02:00
Nicolas B. Pierron
dbb5850a90
Bug 1385842 - Clean-up InWorklist flags in case of OOM. r=tcampbell
2017-09-20 09:57:18 +00:00
Sebastian Hengst
79bca6297c
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-20 11:50:40 +02:00
Tooru Fujisawa
5739efc7bc
Bug 1394682 - Use template object for iterator result object. r=djvj
2017-09-20 18:43:01 +09:00
Jon Coppeard
d2239c88fa
Bug 1400478 - Dump object class info if we find a compartment mismatch during marking r=sfink
2017-09-20 10:27:18 +01:00
Jon Coppeard
1865b9d851
Bug 1401141 - Fix ZonesIter to return helper thread zones that are not yet being used r=sfink
2017-09-20 10:25:08 +01:00
Bobby Holley
4d49b6baed
Bug 1400435 - Remove special case from analysis. r=sfink
...
MozReview-Commit-ID: LdX4k3hDysU
2017-09-19 22:53:25 -07:00
Cameron McCormack
402b6433ed
Bug 1368922 - Set mIsDirty atomically. r=hiro
...
MozReview-Commit-ID: Ei3zCECVRFf
--HG--
extra : rebase_source : 0429db876e33329a250dced6e8bfcd965a5dfbc8
2017-09-20 11:30:08 +08:00
Blake Kaplan
d5d500f633
Bug 1398396 - Initialize the locale stuff on runtimes instead of contexts. r=billm
...
MozReview-Commit-ID: Il9HAqYdTzK
--HG--
extra : rebase_source : 29a294c02bc2be1534766f33192854f51984883e
2017-09-11 15:46:14 -07:00
Blake Kaplan
9b6798ea6f
Bug 1398396 - Make locale functions take a runtime instead of a context. r=janv,jorendorff
...
Most of these functions already solely operate on the runtime even though they
take a context. That leads to confusion at the API user level since it looks
like they're stored on the context. JS_GetDefaultLocale still takes a context
because it actually does use the passed-in context.
MozReview-Commit-ID: 4d0LQIBExvg
--HG--
extra : rebase_source : 79370897a9dca839a6760411ea95d97c5e92cb06
2017-09-11 15:25:40 -07:00
Steve Fink
8ae1a159b8
Bug 1386344 - JS shell: implement help(/pattern/), r=tcampbell
...
--HG--
extra : rebase_source : b3b6ab2109f6af9e474ea164f0c520f02233dd45
2017-07-30 15:51:57 -07:00
Steve Fink
7997149dd2
Bug 1400442 - Trim down whitelists to only what is required, and mark all known issues with bug numbers, r=jonco
...
I also snuck in some last-minute assertions and minor fixes into this patch:
- don't stop reporting for a callee if we've seen it already (or rather, make the reachable set local to a root rather than global to all roots). This slows down runs with hundreds of hazards, but results in every problematic root being reported, for a more accurate count.
- annotate away some thread assertions
- special-case annotation for bug 1400435 since it's a whole family of hazards
--HG--
extra : rebase_source : ac7335d45e3e0772d34cb42cc6a3f628564fd3d1
2017-09-15 17:18:13 -07:00