André Bargull
7a263d8818
Bug 1438618: Remove unused using declarations. r=Waldo
2018-02-19 05:08:09 -08:00
André Bargull
625222bdc4
Bug 1438303: Update steps and step comments in Intl files. r=gandalf
2018-02-14 12:29:36 -08:00
André Bargull
04c864d3c5
Bug 1437530: Cache template literal objects per call site again. r=arai
2018-02-19 05:07:29 -08:00
Cosmin Sabou
768831260e
Backed out 2 changesets (bug 1437428) for frequent xpcfailures on marAppApplyUpdateStageOldVersionFailure.js a=backout
...
Backed out changeset b915e160a690 (bug 1437428)
Backed out changeset 0fcad4eaabb6 (bug 1437428)
--HG--
rename : tools/profiler/core/RegisteredThread.cpp => tools/profiler/core/ThreadInfo.cpp
2018-02-18 23:57:55 +02:00
Sebastian Hengst
a7c6902c98
Backed out 6 changesets (bug 1434717) due to issues determined during fuzzing
...
Backed out changeset 52f1dfd75ff7 (bug 1434717)
Backed out changeset 286c42a171d8 (bug 1434717)
Backed out changeset bf1d9d0ebbe7 (bug 1434717)
Backed out changeset 5c5ec856f0a6 (bug 1434717)
Backed out changeset 43a875bf1c8a (bug 1434717)
Backed out changeset 7fd6eaf7fc97 (bug 1434717)
2018-02-18 11:29:05 +02:00
Chris Peterson
fe5cd3d5d9
Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
...
MozReview-Commit-ID: 8pjYjEvQF42
--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson
0129d900f3
Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: 70gt5SUu4Dv
--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Chris Peterson
d09123f248
Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: DE5HkIhsZ6D
--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
Andreea Pavel
2e506ce663
Merge mozilla-inbound to mozilla-central. a=merge
2018-02-17 23:44:10 +02:00
Steve Fink
056f86b89a
Bug 1439003 followup - avoid asm(), ignore hazards
...
Nuisance fixes on a CLOSED TREE.
--HG--
extra : amend_source : e12639d401d3a07de3714d3d6d8497459a703157
2018-02-16 16:56:44 -08:00
Steve Fink
aa3ff70d92
Bug 1439003 - gdb prettyprinter develoment aids (better stack traces), r=jimb
...
Previously, all errors would be reported in <module> and you would only know the name of the whole failing test. This patch adds in the filename and line number to the stack traces, as well as the C++ "fragment" that was executing (very helpful when manually running gdb on the gdb-tests binary.)
--HG--
extra : rebase_source : cc1c5cdb7a2737d925ca3dbd2030833845d3f922
2018-02-13 20:32:21 -08:00
Steve Fink
73a9893f52
Bug 1439003 - gdb prettyprinter: update for spidermonkey changes and gdb's switch to Python 3, and resolve breakage due to unwanted optimizations enabled by unified compilation, r=jimb
...
--HG--
extra : rebase_source : 43bac3527c5cbbe43fecc0d35e8971f4534a1ae7
2018-02-16 13:49:08 -08:00
Gurzau Raul
3daf5ac131
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-02-17 00:13:16 +02:00
Gurzau Raul
0fbbd0fd8e
Merge inbound to mozilla-central. a=merge
2018-02-17 00:09:28 +02:00
Gurzau Raul
641a1a335b
Merge autoland to mozilla-central. a=merge
2018-02-17 00:07:28 +02:00
Jason Orendorff
2c249430be
Bug 1438278 - Part 6: Remove unnecessary #ifdef XP_WIN guards around #include "util/Windows.h". r=jandem.
...
--HG--
extra : rebase_source : 71367461beeda42c4e68b066b3ef9a919bcc9059
2018-02-16 11:34:46 -06:00
Jason Orendorff
d928a7f5ea
Bug 1438278 - Part 5: Rename some files into js/src/vm. r=jandem.
...
jsiter* -> vm/Iteration*
jsopcode* -> vm/BytecodeUtil*
--HG--
rename : js/src/jsopcodeinlines.h => js/src/vm/BytecodeUtil-inl.h
rename : js/src/jsopcode.cpp => js/src/vm/BytecodeUtil.cpp
rename : js/src/jsopcode.h => js/src/vm/BytecodeUtil.h
rename : js/src/jsiter.cpp => js/src/vm/Iteration.cpp
rename : js/src/jsiter.h => js/src/vm/Iteration.h
extra : rebase_source : 0e1ca938ad4d0143ddd0139f557578f8199b127f
extra : amend_source : fc0f8886d045d24a49472b0311e4a5e3f9e7ead9
extra : source : 61d959cb5208c4f5a448ef06058d92c66da906ce
2018-02-14 16:45:07 -06:00
Jason Orendorff
c1d0be7190
Bug 1438278 - Part 4: Rename some files into js/src/util. r=jandem.
...
jsdtoa.* -> util/DoubleToString.*
jswin.h -> util/Windows.h
jsnativestack.cpp -> util/NativeStack.cpp
jsnativestack.h -> util/NativeStack.h
jsnspr.h -> util/NSPR.h
--HG--
rename : js/src/jsdtoa.cpp => js/src/util/DoubleToString.cpp
rename : js/src/jsdtoa.h => js/src/util/DoubleToString.h
rename : js/src/jsnspr.h => js/src/util/NSPR.h
rename : js/src/jsnativestack.cpp => js/src/util/NativeStack.cpp
rename : js/src/jsnativestack.h => js/src/util/NativeStack.h
rename : js/src/jswin.h => js/src/util/Windows.h
extra : rebase_source : 189adff9f7cb74dfbd101b6b39986d63b0274096
extra : amend_source : 34efb7c0a7dd23bb797940558616e0657b20ef20
extra : intermediate-source : 16fc0963cac52ccb1ed2de9c174855e8a3cb2b52
extra : source : 7b8377e2efd5994b37b65bebd1fdd4367a849b93
2018-02-14 16:04:42 -06:00
Jason Orendorff
50d9e51a7d
Bug 1438278 - Part 3: Rename some files into js/src/gc. r=jonco.
...
jsgc.* -> gc/GC.*
jshashutil.h -> gc/HashUtil.h
jsweakmap.* -> gc/WeakMap.*
vm/WeakMapPtr.cpp -> gc/WeakMapPtr.cpp
--HG--
rename : js/src/jsgcinlines.h => js/src/gc/GC-inl.h
rename : js/src/jsgc.cpp => js/src/gc/GC.cpp
rename : js/src/jsgc.h => js/src/gc/GC.h
rename : js/src/jshashutil.h => js/src/gc/HashUtil.h
rename : js/src/jsweakmap.cpp => js/src/gc/WeakMap.cpp
rename : js/src/jsweakmap.h => js/src/gc/WeakMap.h
rename : js/src/vm/WeakMapPtr.cpp => js/src/gc/WeakMapPtr.cpp
extra : rebase_source : 8435ece63e11545a633ae0cdf6ed4a46cb017457
extra : amend_source : cfb63d098bf2fb27d63221a24457d8aaf8884137
extra : intermediate-source : 2d498c561ba67baf3ad09b6c29f4a8985997928c
extra : source : c1df7b31137da2bbea5ae1169cc07dd0f4974376
2018-02-14 16:00:46 -06:00
Jason Orendorff
7ff58bb5a7
Bug 1438278 - Part 2: Rename a template because there is another global template with the same name in jsgc.cpp. r=jonco.
...
--HG--
extra : rebase_source : 7bc4943739195acbfe1b52a543f32b1ecc99736a
extra : amend_source : 21dbeda4baa38db78756b31472f854994e3236e6
2018-02-16 10:54:58 -06:00
Jason Orendorff
2001443c7d
Bug 1438278 - Part 1: Rename json.* -> builtin/JSON.*. r=jandem.
...
--HG--
rename : js/src/json.cpp => js/src/builtin/JSON.cpp
rename : js/src/json.h => js/src/builtin/JSON.h
extra : rebase_source : 1fc30184bc2b920b04fd395e301d999b1b690297
extra : amend_source : 578a7f74cf073f584ede82ed37cb70ecb1f3aacc
2018-02-14 13:35:54 -06:00
Jason Orendorff
49b816a2e2
Bug 1438278 - Part 0: Fix places where bug 1429206 left old filenames in comments. r=jandem.
...
--HG--
extra : rebase_source : 96ed5c3b7b4cf201675fa86ebc0e327a49d6ad2e
2018-02-14 15:56:41 -06:00
Jason Orendorff
6554ba1e9a
Bug 1438670 - Tweak gc/GCIteration filenames one more time. r=jonco.
...
--HG--
rename : js/src/gc/GCIteration-inl.h => js/src/gc/PrivateIterators-inl.h
rename : js/src/gc/Iteration.cpp => js/src/gc/PublicIterators.cpp
rename : js/src/gc/Iteration.h => js/src/gc/PublicIterators.h
extra : rebase_source : 0beaeb757792b82c7d4a0f2b8f112e6b9840dbf5
2018-02-16 09:41:12 -06:00
Matthew Gaudet
93acbef591
Bug 1435569: Give the "NotAttached" case a name r=evilpie
2018-02-14 09:48:02 -05:00
Matthew Gaudet
aeb5d551d3
Bug 1435569: Change CacheIRSpewer to allow less redundency in spewing. r=tcampbell
...
This patch adds an inner class to CacheIRSpewer that manages access to the
CacheIRSpewer and dramatically simplifies the consuming code.
Note: this changes the CacheIRSpewer to no longer use LockGuard; instead
the raw mutex is managed by CacheIRSpewer. This is because the RAII nature
of CacheIRSpewer::Guard prevents constructing the LockGuard if-and-only-if
the spewer is enabled.
2018-02-13 18:28:20 -05:00
Jon Coppeard
b188b2d674
Bug 1399866 - Add gray marking asserts to proxy write functions r=sfink
2018-02-16 11:40:04 +00:00
Benjamin Bouvier
b0f479ae07
Bug 1422043: Don't use LookupCode for the interpreter entry in wasm profiling iteration; r=luke
...
MozReview-Commit-ID: 5Jb0rio2gMi
--HG--
extra : rebase_source : cfa51e62a854c11b9b7dc3fa156e569ed2aace48
2018-02-15 19:26:34 +01:00
Benjamin Bouvier
e40ac0f512
Bug 1422043: Repurpose Code::lookupRange to only target function code ranges; r=luke
...
MozReview-Commit-ID: 8RSXBzKjzQu
--HG--
extra : rebase_source : 0e86bd7776b64f774436d5493b418187d1d2adc9
2018-02-15 17:12:07 +01:00
Benjamin Bouvier
31d6d007e9
Bug 1422043: Put all tiered data into one new data structure wasm::CodeTier; r=luke
...
MozReview-Commit-ID: 6V4xkEHTXW4
--HG--
extra : rebase_source : 65c035eb6734a02c3fb91628b71b93d286324b43
2018-02-15 12:41:55 +01:00
Benjamin Bouvier
a08d83185d
Bug 1422043: Use pointer arithmetic to determine a wasm function index; r=luke
...
MozReview-Commit-ID: 8Dn0zqqmIdD
--HG--
extra : rebase_source : 4d16c590a28e01bdb9eb932e5e7574cec97f376f
2018-02-13 12:46:28 +01:00
Markus Stange
e50b258807
Bug 1385998 - Fix a typo in a comment.
...
MozReview-Commit-ID: AiHDDUKGHhi
2018-02-15 22:29:32 -05:00
Luke Wagner
57d972ed6a
Bug 1428453 - Baldr: use new traps for indirect call to null trap (r=bbouvier)
2018-02-15 20:42:43 -06:00
Luke Wagner
3f567b26ea
Bug 1428453 - Baldr: use new traps for the already-reported trap (r=bbouvier)
2018-02-15 20:41:50 -06:00
Luke Wagner
004a93c6fa
Bug 1428453 - Baldr: use new traps for SIMD conversion trap (r=bbouvier)
2018-02-15 20:40:56 -06:00
Jeff Walden
0f14979435
Bug 1437970
- Use mozilla::Abs in js::powi rather than unary negation, to avoid signed-integer-overflow issues with INT32_MIN. r=anba
...
--HG--
extra : rebase_source : 7f6051fd53e856057aba807e93e11fbf5d56efbe
2018-02-15 17:15:24 -08:00
Jeff Walden
abf8ff7bfe
Bug 1437731 - Convert a |uint16_t * uint16_t| to |1U * uint16_t * uint16_t| to avoid integer promotion of the original two operands resulting in signed integer overflow given the right runtime inputs. r=froydnj
...
--HG--
extra : rebase_source : acbc3eb181e8a044f0ffd8c5b0a7c96b59f57ffe
2018-02-13 08:59:54 -08:00
Dorel Luca
e6b2438e24
Merge mozilla-central to autoland
2018-02-17 11:59:56 +02:00
Jan de Mooij
74263e01cf
Bug 1438232 - Handle lazy scripts in CanReuseScriptForClone without forcing a delazify/clone. r=shu
2018-02-16 01:06:12 +01:00
Margareta Eliza Balazs
55aa0e75d6
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-02-15 22:43:18 +02:00
Noemi Erli
656ee92d98
Merge inbound to mozilla-central. a=merge
2018-02-15 21:29:11 +02:00
Jon Coppeard
ff04133c08
Bug 1437602 - Fix bustage due to missing explicit keyword r=me on a CLOSED TREE
2018-02-15 15:07:57 +00:00
Jon Coppeard
bef85160ad
Bug 1437602 - Move all scheduling related data structures to a new gc/Scheduling.h r=pbone
2018-02-15 14:47:16 +00:00
Jon Coppeard
55cf1eae38
Bug 1437602 - Split out zone and compartment iterators from gc/Zone.h r=pbone
...
--HG--
rename : js/src/gc/Iteration-inl.h => js/src/gc/GCIteration-inl.h
2018-02-15 14:47:16 +00:00
Nicolas B. Pierron
46fe4a3a72
Bug 1438502 - Add error reports to CacheEntry internal methods. r=anba
2018-02-15 18:53:02 +00:00
Dan Gohman
6acb7a6555
Bug 1438251: IonMonkey - Avoid dereferencing an end iterator. r=nbp
...
--HG--
extra : rebase_source : 51ad99a1f240772623ee7b668f1999d83657833f
2018-02-14 15:04:00 +02:00
Dan Gohman
11841187e3
Bug 1435369: Implement non-trapping float-to-int conversions for WebAssembly r=luke
...
--HG--
extra : rebase_source : 1ee1ad84be22a723f6d22a12e0cf258ad0c3c687
2018-02-15 09:56:00 +02:00
Andreea Pavel
36b417f2c2
Backed out changeset cfd98003fc0f (bug 1438502) for spidermonkey build bustages at /builds/worker/workspace/sm-package/mozjs-60.0a1.0/js/src/jit-test/tests/self-test/cacheEntry.js:9 on a CLOSED TREE
2018-02-15 18:43:26 +02:00
Andreea Pavel
a34fddcaf2
Backed out 2 changesets (bug 1435569) for build bustage at /builds/worker/workspace/build/src/js/src/jit/CacheIR.cpp:1906 on a CLOSED TREE
...
Backed out changeset fa3a63240665 (bug 1435569)
Backed out changeset 7cff9cca3774 (bug 1435569)
2018-02-15 18:38:36 +02:00
Jon Coppeard
3fb78c2a71
Bug 1342416 - Add JS API to associate scripts with DOM elements after compilation r=nbp
2018-02-15 13:18:59 +00:00
Jan de Mooij
41232bec4e
Bug 1438126 part 3 - Don't release small ExecutablePools when they're still in use elsewhere. r=tcampbell
2018-02-15 12:37:09 +01:00