Luke Wagner
9a575aa571
Bug 1267663 - Odin: report function name string contents to about:memory (r=bbouvier)
...
MozReview-Commit-ID: IdkbpyPVmFH
--HG--
extra : rebase_source : b5dfdb9344078a14544f8881e675d09a95fc5c32
2016-04-26 13:49:47 -05:00
Nick Fitzgerald
e91335c546
Bug 1267449 - Do not infinite loop in js_fputs; r=jimb
2016-04-26 11:15:32 -07:00
Tom Schuster
ee334b0f81
Bug 1255925 - Change JSFunction::name to return a JSAtom. r=efaust
2016-04-26 17:42:02 +02:00
Tom Schuster
fbab7ccae1
Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust
2016-04-13 13:43:43 +02:00
Jan de Mooij
7f9a1a1ca5
Bug 1267269 - Make MIRType an enum class. r=bbouvier
...
--HG--
extra : rebase_source : 803c40311e1c879dc55109bb79fb446bd62cb3f9
2016-04-26 16:42:24 +02:00
Ehsan Akhgari
d46718279a
Bug 1266804 - Un-inline js::Unbox(); r=jorendorff
2016-04-26 14:51:47 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Tooru Fujisawa
b376038809
Bug 1267364 - Check isNative every time in GetStringDataProperty. r=h4writer
2016-04-26 08:08:46 +09:00
Tooru Fujisawa
cee2cf665f
Bug 1263857 - (followup) Disable windows crash reporter on automated tests. r=sfink
2016-04-26 08:08:46 +09:00
Tooru Fujisawa
99d9be7b2c
Bug 1263525 - Add dedicated function for std_Array self-hosted intrinsic. r=efaust
2016-04-26 08:08:45 +09:00
Tooru Fujisawa
9485b623a3
Bug 1263490 - Part 4: Fold GetFirstDollarIndex into a integer constant. r=h4writer
2016-04-26 03:37:50 +09:00
Tooru Fujisawa
277f2f707b
Bug 1263490 - Part 3: Inline GetFirstDollarIndex intrinsic. r=h4writer
2016-04-26 03:37:50 +09:00
Tooru Fujisawa
43419eb79b
Bug 1263490 - Part 2: Add GetFirstDollarIndex intrinsic and use it in RegExpReplace. r=till
2016-04-26 03:37:50 +09:00
Tooru Fujisawa
cf1fd19f1e
Bug 1266579 - Use jsop_newarray in inlineConstantStringSplitString. r=h4writer
2016-04-26 03:37:50 +09:00
Jon Coppeard
9a7af842af
Bug 1259021 - Use in-place storage in AutoStableStringChars to avoid allocation for short strings r=jandem r=Waldo
2016-04-25 13:41:25 +01:00
Jon Coppeard
d5b6a661f0
Bug 1259021 - Rename Vector::extractRawBuffer to extractOrCopyRawBuffer r=Waldo
2016-04-25 13:41:25 +01:00
Jon Coppeard
812266f4e1
Bug 1263572 - Wait for background sweeping to finish before checking base shapes r=terrence
2016-04-25 13:41:25 +01:00
Jan de Mooij
c1d60e2f39
Bug 1265690 part 2 - Fix some more OOM issues in TypedObject code. r=jonco
2016-04-25 13:34:38 +02:00
Jan de Mooij
afaec26bdf
Bug 1265690 part 1 - Mark StringBuffer methods WARN_UNUSED_RESULT, fix OOM issues. r=jonco
2016-04-25 13:33:54 +02:00
Jan de Mooij
70be8c80dd
Bug 1267171 - Fix bug1263558.js jit-test failure with --without-intl-api. r=arai
2016-04-25 13:32:51 +02:00
Tooru Fujisawa
f8f2a0331d
Bug 1263811 - Do not attach optimized IC for arguments element access if any arguments element has been overridden. r=jandem
2016-04-25 17:01:07 +09:00
Nick Fitzgerald
ae9b80c955
Bug 1266869
- Print a message when no retaining paths are found in JS::ubi::dumpPaths. r=jimb
...
--HG--
extra : rebase_source : 6ce3ed6711cc259dd0c163440161768a927a690d
extra : histedit_source : 18d6305c414d2cb558962e902a33a6e1acbf68f7
2016-04-22 16:26:49 -07:00
Nick Fitzgerald
9a9dd6a4ac
Bug 1266835 - Request names from the rootlist in JS::ubi::dumpPaths and clean up formatting of dumped paths. r=jimb
...
--HG--
extra : rebase_source : a62abd02d17fe49eddbf02df4f177706927c208a
extra : histedit_source : 893ce3ac4ba191d89f706c67185bedb3779b8633
2016-04-22 16:26:49 -07:00
Kris Maglione
bd8adfebce
Bug 1254194: Add XPCOMUtils.defineLazyPreferenceGetter. r=billm
...
MozReview-Commit-ID: JBVelZ0Xg2H
--HG--
extra : rebase_source : 3909e75aa6b24ed2a1d2663c11be69c27f4de1e7
2016-04-14 16:37:30 -07:00
Jan de Mooij
28a65dfb2e
Bug 1261326 - Fix a bogus assert. r=bhackett
2016-04-23 23:11:13 +02:00
Jan de Mooij
ba736cee2d
Bug 1263868 - Properly recover from OOM in ShellAutoEntryMonitor. r=jonco
2016-04-23 20:10:21 +02:00
Jan de Mooij
8ab57ada1a
Bug 1264954 - Add missing OOM check in Parser::templateLiteral. r=jonco
2016-04-23 20:09:43 +02:00
Jan de Mooij
a9321853e4
Bug 1259925 - Port ModuleNamespace getprop stub to CacheIR. r=efaust
2016-04-23 20:09:35 +02:00
Mike Hommey
e720762c60
Bug 1266620 - Move MACOSX_DEPLOYMENT_TARGET to moz.configure. r=chmanchester
2016-04-23 08:13:26 +09:00
Gregory Szorc
d66e0376ba
Bug 1259782 - Build with Visual Studio 2015 Update 2; r=ted
...
Should be a drop-in replacement for VS2015u1.
MozReview-Commit-ID: HSmdikYPR0j
--HG--
extra : rebase_source : 30a63dd245cbab99de849004f975b9104272dbfc
2016-04-22 12:51:23 -07:00
Tooru Fujisawa
c86eb7e8da
Bug 1264264 - Part 2: Enable optimization for packers again in RegExp.prototype[@@replace]. r=h4writer
2016-04-23 03:09:41 +09:00
Tooru Fujisawa
b7c59a8daf
Bug 1263340 - Part 3: Use internal slot for sticky flag in RegExp native functions. r=h4writer
2016-04-23 03:09:37 +09:00
Gregory Szorc
eed0d17b12
Bug 1266809 - Suppress MSVC warning C4595; r=ted
...
C4595 is "'operator new': non-member operator new or delete functions
may not be declared inline". This warning is already suppressed for newer
versions of clang and is already suppressed in old-configure.in (see
542411a64ac4 and bug 1261719).
MozReview-Commit-ID: 32kFKht8edU
--HG--
extra : rebase_source : f2e0a51a56f4af3923179330f2d479c023e6f6ba
2016-04-22 10:43:20 -07:00
Sebastian Hengst
1d4ec2ac91
Backed out changeset c23b44faa969 (bug 1266676) for failing jsreftest regress-476427.js. r=backout
2016-04-22 19:18:04 +02:00
Xidorn Quan
5fcf95430d
Bug 1266614 - Fix C4334 in OrderedHashTable.h. r=jandem
...
MozReview-Commit-ID: 17vReIOrA9k
--HG--
extra : rebase_source : 8c75b79eae6a1e5bba63773b965cdf59b2d7d640
2016-04-22 11:19:24 +10:00
Hannes Verschore
d7174e052f
Bug 1265159 - IonMonkey: Throw error when popping from an empty array in MArrayPopShift, r=jandem
2016-04-22 11:34:04 -04:00
Hannes Verschore
7e35e0201f
Bug 1266676 - IonMonkey: Compile smaller functions faster, r=jandem
2016-04-22 11:34:00 -04:00
Tooru Fujisawa
91929ffd64
Bug 1264264 - Add optimized path for RegExp.prototype[@@replace] with functional replace and substitution. r=till
2016-04-22 21:30:41 +09:00
Nicholas Nethercote
d3a0dd609f
Bug 1266630 - Make fallible the orphan node table used during memory reporting. r=mccr8.
...
This fixes some OOM crashes.
MozReview-Commit-ID: LqWlpIzYTGM
--HG--
extra : rebase_source : aab0e9a2a59d5a914d46766f40d557bbd1da7291
2016-04-22 14:03:54 +10:00
Nick Fitzgerald
6aeb7e7595
Bug 1266573 - Add the JS::ubi::dumpPaths
debug utility; r=jimb
...
MozReview-Commit-ID: Gx37kFnasVl
--HG--
extra : rebase_source : b5ba6bf7853a4ab1753b168c0c304eace5739d5d
2016-04-21 19:23:22 -07:00
Tooru Fujisawa
097ebf2d33
Bug 1263865 - Check the return value of GetSelfHostedFunction in ArraySpeciesCreate. r=efaust
2016-04-22 10:35:50 +09:00
Tooru Fujisawa
5669fe7805
Bug 1263340 - Part 2: Use internal slot for sticky flag in @@replace and @@search optimized path. r=h4writer
2016-04-22 10:35:41 +09:00
Tooru Fujisawa
818ce9857c
Bug 1263340 - Part 1: Use internal slot for global and sticky flags in RegExpBuiltinExec. r=h4writer
2016-04-22 10:35:41 +09:00
Kit Cambridge
3dc35814a4
Bug 1247685 - WebIDL and DOM implementation changes for app server keys. r=mt,baku
...
MozReview-Commit-ID: 1xYjSuLMnV4
--HG--
extra : rebase_source : 6bcb2e662cfa9a0d942731e8914a9df2e3dee197
2016-03-22 13:38:03 -07:00
Kit Cambridge
033ba99b0d
Bug 1256488 - Add explicit casts to fix MSVC warning C4365. r=fitzgen
...
MozReview-Commit-ID: HuVL7COgcX7
--HG--
extra : rebase_source : 0d087f0ab115a701c3562d33082c9319d72d65bf
2016-04-18 17:29:43 -07:00
Terrence Cole
da3a863a84
Bug 1265483
- Use WeakCache to automate sweeping of ObjectGroupCompartment::NewTable; r=jonco
2016-04-20 15:17:25 -07:00
Tooru Fujisawa
73b9fb90aa
Bug 1264823 - Add pre-barrier to the elements of mapIterationResultPair. r=jandem
2016-04-22 00:29:23 +09:00
Tooru Fujisawa
c39c2847cd
Bug 1263558 - Part 4: Call initBuiltinConstructor after defining properties in InitStringClass. r=till
2016-04-15 12:32:37 +09:00
Tooru Fujisawa
5e859b28a5
Bug 1263558 - Part 3: Remove JSFUN_GENERIC_NATIVE. r=till
2016-04-15 12:32:37 +09:00
Tooru Fujisawa
7c0e354278
Bug 1263558 - Part 2: Self-host String generics. r=till
2016-04-15 12:32:37 +09:00
Tooru Fujisawa
ce425d9132
Bug 1263558 - Part 1: Self-host Array generics. r=till,bholley
2016-04-15 12:32:36 +09:00
Tooru Fujisawa
6c449b60a7
Bug 1263558 - Part 0.2: Handle OOM inside SplitCriticalEdges and EliminatePhis at AnalyzeNewScriptDefiniteProperties and AnalyzeArgumentsUsage. r=jandem
2016-04-22 00:29:22 +09:00
Tooru Fujisawa
43ccf1248c
Bug 1263558 - Part 0.1: Handle OOM inside BuildDominatorTree at AnalyzeNewScriptDefiniteProperties and AnalyzeArgumentsUsage. r=jandem
2016-04-22 00:29:22 +09:00
Jon Coppeard
97354de045
Bug 1266107 - Simplify typed object tracing now type descriptors are traced first r=terrence
2016-04-21 11:06:29 +01:00
Jon Coppeard
bf79b44dd7
Bug 1266107 - Update type descriptors first when compacting r=terrence
2016-04-21 11:06:29 +01:00
Jon Coppeard
1ad037d76c
Bug 1266107 - Track all existing typed object descriptor objects r=terrence
2016-04-21 11:06:29 +01:00
Jon Coppeard
bf6c2c67d1
Bug 1266105 - Only purge runtime tables once per slice when compacting r=terrence
2016-04-21 11:06:29 +01:00
Zibi Braniecki
1f4b5f436c
Bug 1263040 - Add Intl.getCanonicalLocales. r=jwalden
...
--HG--
extra : rebase_source : a6bdf137aa4ca4f2aa35c24be8f1dcd60ba353e9
2016-04-12 10:36:43 -07:00
Jeff Walden
5bbd1981c7
Remove browser-based jstests' requirement that tests must be nested *at least* two levels deep, i.e. js/src/tests/suite/subsuite/foo.js. jstests.py enforces no such restriction, and this just ends up meaning silent failures when someone forgets about this. :-( No bug (but a prerequisite to bug 1263040 landing), rs=efaust
...
--HG--
extra : rebase_source : 818409fb86980730b139d5e4164e0d0616e7d6aa
2016-04-20 19:04:44 -07:00
Tooru Fujisawa
eb00c5e886
Bug 1263490 - Part 1: Do not search for dollar if the length of replaceValue is 0 or 1. r=till
2016-04-21 08:45:40 +09:00
Tooru Fujisawa
a36c428e12
Bug 1265748 - Enable non-Object path in IonBuilder::inlineIsCallable. r=shu
2016-04-21 08:45:40 +09:00
Tooru Fujisawa
915f00e192
Bug 1264941 - Use byteLength of source typedArray in CloneArrayBuffer. r=lth
2016-04-21 08:45:40 +09:00
Shu-yu Guo
59edda43b7
Bug 1264961 - Fix OOM case in Debugger::replaceFrameGuts. (r=jimb)
2016-04-20 14:52:12 -07:00
Shu-yu Guo
a58fd08178
Bug 1265956
- Assert that no entry is found in HashTable::putNew. (r=terrence)
2016-04-20 14:52:12 -07:00
Shu-yu Guo
c2689173e6
Bug 1265313 - Fix Annex B.3.5 handling with body-level lexicals. (r=jorendorff)
2016-04-20 14:52:12 -07:00
Shu-yu Guo
bd8c5aa0a5
Bug 1264975 - Fix assertion in DebugScope wrapping non-syntactic scopes. (r=jimb)
2016-04-20 14:52:12 -07:00
Shu-yu Guo
acb4c8ebc6
Bug 1263899 - Fix readFrameArgsAndLocals to always use maybeRead since it can't recover instructions. (r=nbp)
2016-04-20 14:52:12 -07:00
Benjamin Bouvier
b58b91c974
Bug 1265449: Remove static assumption about SIMD objects; r=jonco
...
MozReview-Commit-ID: GcowJIjVRto
--HG--
extra : rebase_source : f189ced03fbf05e180a2e59cbd13ae2aaf7d6861
2016-04-07 14:19:07 +02:00
Jon Coppeard
c4d791f43f
Bug 1261329 - Fix OOM handling in shell dissrc function r=efaust
2016-04-20 16:14:11 +01:00
Jon Coppeard
026c282e35
Bug 1265679 - Always call the object moved hook in generational GC r=terrence
2016-04-20 16:14:11 +01:00
Heiher
419dd51f60
Bug 1265601 - OdinMonkey: MIPS: Fix i64 testing infrastructure in Baldr. r=bbouvier
...
---
js/src/jit/mips32/Assembler-mips32.h | 1 +
js/src/jit/mips32/MacroAssembler-mips32.h | 5 -----
js/src/jit/mips64/Assembler-mips64.h | 1 +
3 files changed, 2 insertions(+), 5 deletions(-)
2016-04-20 21:40:58 +08:00
Hannes Verschore
b6951abde0
Bug 1263609: SharedStubs - Allow JSOP_POW in ion codegen ON CLOSED TREE, r=bbouvier
2016-04-20 08:13:49 -04:00
Hannes Verschore
a86c730a63
Bug 1264920
: IonMonkey - DoTypeUpdateFallback is not allowed to gc, r=jandem
2016-04-20 06:40:16 -04:00
Hannes Verschore
a8f6511a30
Bug 1241088: SharedStubs - part 2: port NewArray and NewObject shared stubs to work in ion, r=efaust
2016-04-20 06:40:16 -04:00
Hannes Verschore
857fc4f916
Bug 1241088: SharedStubs - part 1: move NewArray and NewObject baseline stubs to shared stubs, r=efaust
2016-04-20 06:40:15 -04:00
Hannes Verschore
efbd16bc9c
Bug 1263609: SharedStubs - Port JSOP_POW to shared stubs, r=efaust
2016-04-20 06:40:15 -04:00
Tom Schuster
36a9cce5df
Bug 1041586 - Prevent jit compilation for one expression-autopsy test. r=jandem
2016-04-20 11:06:09 +02:00
Tom Schuster
52e517738d
Bug 1041586 - Tests. r=arai
2016-04-16 12:22:18 +02:00
Tom Schuster
7b43d6c81d
Bug 1041586 - Use IsConcatSpreadable in Array.prototype.concat. r=arai
2016-04-16 12:22:12 +02:00
Tom Schuster
b838285c59
Bug 1041586 - Implement Symbol.isConcatSpreadable. r=arai
2016-04-16 12:21:48 +02:00
Nicholas Nethercote
d84e6264da
Bug 1265035 - Make ~WorkerJSRuntime() handle Initialize() failure better. r=khuey.
...
--HG--
extra : rebase_source : 4b2cb2ef8192f314a28556826044f010a52b90b4
2016-04-19 14:04:32 +10:00
Ehsan Akhgari
e116c45203
Bug 1265594 - Expose FromPropertyDescriptor() as a public JS API; r=jorendorff
2016-04-19 20:24:56 -04:00
Olli Pettay
cc6d1d9827
Bug 1257096, don't try to report about unusual unhandled rejected Promises, r=bz,waldo
...
--HG--
extra : rebase_source : a53d6853feeae3c54f307cef71edcdba4f771803
2016-04-20 02:29:21 +03:00
Mike Hommey
3b7f3b9e75
Bug 1265627 - Prettify the MSVC version. r=ted
2016-04-20 07:51:55 +09:00
Mike Hommey
b80757a0cb
Bug 1265627 - Remove now useless version-related assignments from old-configure. r=ted
...
Also simplify things around some remaining compiler version checks.
2016-04-20 07:51:55 +09:00
Mike Hommey
dda4822d6f
Bug 1265627 - Remove the CXX_VERSION AC_SUBST. r=ted
...
Its only use is in buildconfig.html, and configure guarantees it's
always the same version as CC_VERSION, so just use that.
2016-04-20 07:51:55 +09:00
Mike Hommey
5192eab0d6
Bug 1265627 - Move compiler version checks to moz.configure. r=ted
2016-04-20 07:51:55 +09:00
Mike Hommey
2a7304078d
Bug 1265627 - Remove leftovers from bug 1167005. r=ted
2016-04-20 07:51:55 +09:00
Mike Hommey
6b36b3304e
Bug 1265627 - Don't disable strict aliasing for GCC < 4.5, we don't support those versions anyways. r=ted
2016-04-20 07:51:55 +09:00
Wes Kocher
8afe0d0510
Backed out changeset d59204040050 (bug 1265594) for SM bustage in rest-debugger.js
...
MozReview-Commit-ID: G4EHXnHM1E2
2016-04-19 14:32:36 -07:00
Ehsan Akhgari
8560e8e9d4
Bug 1265594 - Expose FromPropertyDescriptor() as a public JS API; r=jorendorff
2016-04-19 16:33:06 -04:00
Jeff Gilbert
8728cc55d6
Bug 1264499 - s/mozconfig.vs2013/mozconfig.vs2015/ where not yet updated. - r=gps,sfink
2016-04-19 11:51:24 -07:00
Nicolas B. Pierron
41e52d7ff0
Bug 1264998 - CodeGeneratorShared::assignBailoutId: Properly handle allocation errors. r=h4writer
2016-04-19 17:26:39 +00:00
Benjamin Bouvier
68070b0a47
Bug 1265741: Fix unified build for fuzzers; r=nbp
...
MozReview-Commit-ID: 7yBDjPKv77g
--HG--
extra : rebase_source : 484f098ff3d27ef734010a7b41755b5315e7e798
extra : amend_source : c6799f01860c7fa6fcf12efc28254e825aabcf5a
2016-04-19 16:12:20 +02:00
Yury Delendik
84bc1d6b23
Bug 1265133 - Adds s-expr comments support for wasmTextToBinary. r=sunfish
2016-04-15 23:18:57 -05:00
Lars T Hansen
a64e1e3847
Bug 1263902 - check return value from JS_smprintf. r=bbouvier, r=shu
...
--HG--
extra : rebase_source : c212beece2b24dfdf9888546289ed1649aa1af77
extra : amend_source : 65592b062fd6e97896f141feb67bdd6f29362f91
2016-04-18 15:28:40 +02:00
Nicholas Nethercote
5bb2e1ae86
Bug 1132502 (part 2) - Don't call AddClassInfo() for BaseShapes. r=jandem.
...
It appears to cause crashes, and the effects of not calling on memory reporting
accuracy are minor. The code should be able to be re-enabled once
heap-allocated js::Class instances no longer occur.
--HG--
extra : rebase_source : 6dcf36aa21ade45b0397b3df531aaaa8f754af49
2016-04-19 10:21:00 +10:00
Mike Hommey
8990bb15dd
Bug 1264482 - Move adding -std=gnu99 and -std=gnu++11 to moz.configure. r=ted
...
We were unconditionally adding them, now actually check what the
compilers default to and add the flags if they are necessary.
This will, in the future, allow finer grained policy changes, where
we can decide that C++11 and C++14 are fine, downgrading compilers
that do C++17, etc.
2016-04-19 15:09:37 +09:00
Terrence Cole
5c75dc87d3
Backout ab87b53b3140 (Bug 1263771) for breaking the MSVC2013 build 2 days before uplift.
...
--HG--
extra : rebase_source : 7a2e41bf68aba3b536355de937e4eb7f42e00bb7
2016-04-18 15:50:28 -07:00
Benjamin Bouvier
3273b07efd
Bug 1263870: Check allocation in WasmAstModule::declare; r=luke
...
MozReview-Commit-ID: bRq5jNR6uJ
--HG--
extra : rebase_source : e94a48b621c949a9dbf197afc6c21bdd61168d32
extra : histedit_source : 127c1de2fd8d8bcb19042d1a6c14e8cf16fa8633
2016-04-18 16:13:01 +02:00
Benjamin Bouvier
a2c569fa0f
Bug 1263882: Set a default value in DescribeScriptedCaller if the filename is null; r=luke
...
MozReview-Commit-ID: KTJGoH8KEAc
--HG--
extra : rebase_source : a001c14890d68a76aa8cc6c2141d95391c297efe
extra : histedit_source : a9d79f96cffd2002b6b961a18faae0b42e853138
2016-04-18 16:47:25 +02:00
Jon Coppeard
99bbb3221b
Bug 1263966 - Compact arenas containing lazy scripts r=terrence
2016-04-18 16:27:54 +01:00
Benjamin Bouvier
fd0feca4f6
Bug 1262402: Use the new int64 testing features; r=luke
...
MozReview-Commit-ID: 4sfNzBxqt13
--HG--
extra : rebase_source : 7938cb8bbd5e7ec3394d24fa8c31ddac81e054ce
2016-04-06 12:18:32 +02:00
Benjamin Bouvier
942a983108
Bug 1262402: Add i64 testing infrastructure in Baldr; r=luke
...
MozReview-Commit-ID: EtcTTnhiuNY
--HG--
extra : rebase_source : 636097c90258db0bcda86e9bcf9fa5e55112ccba
2016-04-11 13:03:39 +02:00
Jon Coppeard
e4c801fe24
Bug 1263884 - Don't report OOM when speculative shape table shrink fails r=jandem
2016-04-18 15:31:33 +01:00
Jan de Mooij
3b4f24a914
Bug 1124397 - More crash diagnostics. r=nbp
...
--HG--
extra : rebase_source : 77a6b4c0d179ca7dde85e3094f1754b3703a7d3d
2016-04-18 13:14:22 +02:00
Benjamin Bouvier
81900ec394
Bug 1263203: Ensure we don't have Phi values in wasm; r=luke
...
MozReview-Commit-ID: 5XKeBIJbpN0
--HG--
extra : rebase_source : 98e19813b27a7b274f772d2edbd045941eb5667e
extra : amend_source : 1ce91499cddedac649a113152ce2103ed4c5e0ae
2016-04-08 19:29:22 +02:00
Carsten "Tomcat" Book
fbeb4ca1bd
Merge mozilla-central to mozilla-inbound
2016-04-18 08:51:38 +02:00
Tooru Fujisawa
5a3b8095ed
Bug 1265187 - Backout bug 1263857 testcase due to frequent timeout on Windows xp debug jittest. r=Tomcat, a=Tomcat
2016-04-18 15:44:43 +09:00
Carsten "Tomcat" Book
558930f4e9
Backed out changeset e673dbc9848f (bug 1232686) for breaking VS2013 Builds
2016-04-16 10:57:53 +02:00
Wes Kocher
656b901828
Merge inbound to central, a=merge
...
MozReview-Commit-ID: BpCN8N6VSVt
2016-04-15 14:31:31 -07:00
Wes Kocher
59d9a1b8ae
Backed out 4 changesets (bug 1263558) for jit OOM crashes a=backout
...
Backed out changeset 7fcc62dda4e3 (bug 1263558)
Backed out changeset faa055e3ace8 (bug 1263558)
Backed out changeset 94805cd19c15 (bug 1263558)
Backed out changeset ad22cb06de5d (bug 1263558)
MozReview-Commit-ID: JkWyfHDBf1E
2016-04-15 10:21:35 -07:00
Carsten "Tomcat" Book
c4445ccd33
merge mozilla-inbound to mozilla-central a=merge
2016-04-15 11:41:41 +02:00
Carsten "Tomcat" Book
f893a5d6de
Backed out changeset 0a5cf306560d (bug 1255925) on request from evilpie
2016-04-14 16:20:02 +02:00
Jeff Walden
7757c74ac0
Declare and define ExecutableAllocator::reprotectRegion only #ifdef NON_WRITABLE_JIT_CODE, to eliminate MOZ_ASSERT of a constant condition that makes some compilers warn. No bug, r=efaust over IRC
2016-04-13 19:19:03 -07:00
Tooru Fujisawa
e13b5ceea4
Bug 1263803 - Change AllocateArrayBuffer to receive byteLength instead of nelements. r=lth
2016-04-16 01:53:03 +09:00
Jeff Walden
e97969a976
Bug 1257164 - Check for interrupts in a few loops in JSON.stringify to eliminate feedback-less hangs. r=evilpie
...
--HG--
extra : rebase_source : 6a0b76c8e7dd423246a9cd716cb6d80f3a23fde7
2016-04-13 14:39:58 -07:00
Jeff Walden
7a694921d3
Bug 888969 - Make XPCJSID instanceof comparisons work correctly when [[GetPrototypeOf]] on the [[Prototype]] chain of the instance being tested throws an exception. r=bz
...
--HG--
extra : rebase_source : 20bcd4f23114762afa4ad708085c3accbbbe5d64
2016-04-13 14:30:16 -07:00
Carsten "Tomcat" Book
6d10ec2ab9
Backed out changeset db1b027cbeb1 (bug 1041586) for assertion failures in expression-autopsy.js
2016-04-17 05:46:02 +02:00
Carsten "Tomcat" Book
50c708e702
Backed out changeset 2021fd52a8c9 (bug 1041586)
2016-04-17 05:45:44 +02:00
Carsten "Tomcat" Book
b96ed92209
Backed out changeset 35b1a010cb9f (bug 1041586)
2016-04-17 05:45:42 +02:00
Tom Schuster
cbe6451568
Bug 1041586 - Tests. r=arai
2016-04-16 12:22:18 +02:00
Tom Schuster
3aff2303e6
Bug 1041586 - Use IsConcatSpreadable in Array.prototype.concat. r=arai
2016-04-16 12:22:12 +02:00
Tom Schuster
2587e419ad
Bug 1041586 - Implement Symbol.isConcatSpreadable. r=arai
2016-04-16 12:21:48 +02:00
Carsten "Tomcat" Book
63dd433e61
Merge mozilla-central to mozilla-inbound
2016-04-16 11:23:40 +02:00
Nicholas Nethercote
5eb5cc7d6c
Bug 1132502 (part 1) - Abort if compartmentStats is null during memory reporting. r=jandem.
...
We have inconclusive evidence that compartmentStats is sometimes nullptr during
memory reporting, which would be bad. This patch makes us abort in that case.
It also changes some pointers to references to make the expected non-nullness
clearer.
--HG--
extra : rebase_source : c49f727450ce065d0e84d7728057c93d35353e91
2016-04-15 12:03:39 +10:00
Nicholas Nethercote
6dd45df6bb
Bug 1264778 - Merge some XPConnect js::Class instances. r=mrbkap.
...
XPC_WN_WithCall_ObjectOps and XPC_WN_NoCall_ObjectOps are both equal to
JS_NULL_OBJECT_OPS.
As a result, XPC_WN_ModsAllowed_{With,No}Call_Proto_JSClass are identical, as
are XPC_WN_NoMods_{With,No}Call_Proto_JSClass. (In both cases, modulo the class
name.)
This patch merges those identical-except-for-their-name pairs, resulting in
XPC_WN_ModsAllowed_Proto_JSClass and XPC_WN_NoMods_Proto_JSClass.
--HG--
extra : rebase_source : 64c5990fa5dd09418466ee25a24300bb9cfd3596
2016-04-04 16:25:21 +10:00
Jeff Walden
370120f9b8
Bug 1259877 - Adjust Promise code to use Call instead of Invoke. r=till
...
--HG--
extra : rebase_source : 991fbfe3fcc01a0b13768a68f8a490860b6ad68b
2016-03-25 22:19:09 -07:00
Jeff Walden
577281e2d7
Bug 1259877 - Rename FastInvokeGuard to FastCallGuard and make it not depend on CallArgs::set{Callee,This}, and remove js::Invoke. r=shu
...
--HG--
extra : rebase_source : 5c57a037a469a9e9a0df7d1a46c77b1845316d55
2016-03-22 13:40:21 -07:00
Jeff Walden
32071a25f8
Bug 1259877 - Update various builtins to use js::Call, not js::Invoke. r=efaust
...
--HG--
extra : rebase_source : 48a39d68dfbda641fbf1ace43864d70716bf145b
2016-03-22 13:40:20 -07:00
Jeff Walden
0fe8132890
Bug 1259877 - Update miscellaneous code to use js::Call instead of js::Invoke. r=till
...
--HG--
extra : rebase_source : 7881073ec02d63777da5275a64885823e3ba8ebf
2016-03-21 16:18:33 -07:00
Jeff Walden
40e4bb1dbb
Bug 1259877 - Update ScriptedDirectProxyHandler code to use js::Call and FixedInvokeArgs. r=evilpie
...
--HG--
extra : rebase_source : 6616569ab392eb01524b0dc4abc9818e5ea0fb20
2016-03-21 16:17:28 -07:00
Jeff Walden
5df03c8ef4
Bug 1259877 - Update Reflect.parse callback code to work with InvokeArgs and js::Call. r=arai
...
--HG--
extra : rebase_source : 0d1b24ea2d4e821f419bab753db2471b1a827341
2016-03-21 16:13:36 -07:00
Jeff Walden
03498fc0e9
Bug 1259877 - Update function-calling JSAPI methods to use js::Call. r=sfink
...
--HG--
extra : rebase_source : 1f4ff1b389007b39ebdd6fd23a8d11c045f00d66
2016-03-21 16:12:54 -07:00
Jeff Walden
3be1890b85
Bug 1259877 - Update DoCallFallback to use js::CallFromStack. r=jandem
...
--HG--
extra : rebase_source : c6729d6dcb8005d361e9e782ecad1331d90403b8
2016-03-29 08:48:28 -07:00
Jeff Walden
6593c6a8fd
Bug 1259877 - Update various miscellaneous function-calling code to js::Call. r=jandem
...
--HG--
extra : rebase_source : c01dadfba56df387e4cd5eb71c658e46fef8c7ab
2016-03-21 16:05:36 -07:00
Jeff Walden
8687a40f93
Bug 1259877 - Update Debugger code to use js::Call rather than Invoke. r=jorendorff
...
--HG--
extra : rebase_source : 2422976d3e6139413d20e0bc27f2a2f162160c21
2016-03-21 16:01:18 -07:00
Jeff Walden
8960d5f7bb
Bug 1259877 - Add a bunch of Call overloads for 0/1/2 arguments with this as (HandleValue | JSObject*). r=jorendorff
...
--HG--
extra : rebase_source : 79b8e4b1cf54921417be31b17187ba4f8a72c8d5
2016-04-05 14:06:09 -07:00
Jeff Walden
20b04cbd46
Bug 1259877 - Add CallFromStack for certain internal users, js::Call for general use, and mark js::Invoke as deprecated. r=efaust
...
--HG--
extra : rebase_source : 4e2d82e18da373cc7ab7ba30e86af2f777665794
2016-03-21 15:51:13 -07:00
Jeff Walden
525e0715b0
Bug 1259877 - Eliminate Invoke(JSContext*, const CallArgs&, MaybeConstruct = NO_CONSTRUCT) by 1) renaming it to a more-internal name, 2) adding an Invoke overload for existing InvokeArgs providers only, and 3) adding an InternalInvoke function to temporarily mark non-InvokeArgs places using the existing signature that will later be changed not to. r=efaust
...
--HG--
extra : rebase_source : a5807c1c0c1685b6cfb8306fa82e1e430ce8e2b4
2016-03-21 14:32:26 -07:00
Jeff Walden
f5360f52f0
Bug 1259877 - Change js::DirectEval to take v/vp rather than a CallArgs to operate on directly. r=efaust
...
--HG--
extra : rebase_source : 8508fb793576454565ab316e515e77938f266317
2016-03-21 14:28:59 -07:00
Hannes Verschore
e0b8ab8aeb
Bug 1262453: IonMonkey - Don't add resume point for constants, r=nbp
2016-04-13 10:04:04 -04:00
Hannes Verschore
4020f87091
Bug 1263895 - IonMonkey: Check return value of all functions in GVN, r=jandem
2016-04-13 10:04:02 -04:00
Hannes Verschore
e337970222
Bug 1263794 - IonMonkey: Crash when iterating graph and finding a nullptr MDefinition, r=jandem
2016-04-13 10:04:01 -04:00
Jon Coppeard
da4bbe510f
Bug 1263881 - Check the the number of body level lexicals doesn't exceed that which we can store in Bindings r=shu
...
--HG--
extra : rebase_source : 639ae9e661e6605709ad2dcc09918391dd6b61c1
2016-04-13 14:06:21 +01:00
Jon Coppeard
c6b5b97275
Bug 1263871 - Fix OOM handling in while resolving function name r=shu
...
--HG--
extra : rebase_source : 8c4e2537c6661748036e267c855806c80aed1f7c
2016-04-13 14:06:21 +01:00
Tom Schuster
e5356af969
Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust
2016-04-13 13:43:43 +02:00
Tom Schuster
c5870592c8
Bug 1041586 - Autogenerate symbol names. r=jorendorff
2016-04-13 13:43:43 +02:00
Greg Weng
775e4ae3c1
Bug 1198701 - ArrayIterator gets length property after iteration has finished. r=till
2016-04-12 18:29:00 +02:00
Jon Coppeard
a49aa74ce1
Bug 1259180 - Compact arenas containing scripts r=terrence
2016-04-13 10:03:44 +01:00
Mike Hommey
19f78b2dd2
Bug 1259382 - Remove support for Intel C/C++ compiler. r=ted
2016-04-13 17:11:36 +09:00
Jan de Mooij
3fd0587905
Bug 1262936 - Add missing OOM check to RegExpStack::reset. r=bhackett
2016-04-13 09:31:06 +02:00
Jan de Mooij
0ffeacf985
Bug 1263886 - Don't call makeConstructorCode if the group has unknown properties. r=bhackett
2016-04-13 09:29:57 +02:00
Jan de Mooij
f2d88a73fb
Bug 1124397 - Add more crash diagnostics. r=efaust
2016-04-13 09:28:16 +02:00
Chris Peterson
13ac2212dd
Bug 1103588 - Part 5: Remove deprecated String#contains function; use String#includes instead. r=till
2016-04-09 16:01:03 -07:00
Chris Peterson
3aeba200ca
Bug 1103588 - Part 4: Replace deprecated String#contains in js tests. r=till
...
- Remove sudoku.js test's unnecessary String#contains and Array#contains polyfill functions.
- Replace warning.js test's String#contains warning with an expression closure warning.
2016-04-09 16:03:00 -07:00
Mike Hommey
eb64e3f2f7
Followup for bug 1264129 - Give the executable bit to configure. r=me
...
Also touch old-configure.in and js/src/old-configure.in to force
configure and js/src/configure to be updated.
2016-04-13 10:43:06 +09:00
Nicholas Nethercote
60dcde7875
Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
...
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2
--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Nicholas Nethercote
754dc0bd49
Bug 1261723 (part 1) - Rename js::Class::ops as oOps. r=efaust.
...
|oOps| is short for "objectOps", which will contrast with the |cOps| "classOps"
field that the next patch will introduce.
--HG--
extra : rebase_source : 920662674e1f672d923cb9060de23c85dfc903bf
2016-04-01 10:59:59 +11:00
Tooru Fujisawa
6ffa2e7e92
Bug 1263851 - Check lastIndex after loop in RegExp.prototype[@@split]. r=till
2016-04-13 08:48:49 +09:00
Tooru Fujisawa
639c0b6ab2
Bug 1263532 - Do not make RegExpPrototypeOptimizable and RegExpInstanceOptimizable movable. r=h4writer
2016-04-13 08:48:49 +09:00
Tooru Fujisawa
6dfcfa5d46
Bug 1263549 - Fix inlined RegExpPrototypeOptimizable and RegExpInstanceOptimizable. r=h4writer
2016-04-13 08:48:49 +09:00
Wes Kocher
49a18c7639
Backed out changeset 716d75c8abc2 (bug 1263040) for jsreftest failures
...
MozReview-Commit-ID: 56VXkA9zl5p
2016-04-12 12:31:41 -07:00
Zibi Braniecki
a60474e645
Bug 1263040 - Add Intl.getCanonicalLocales. r=waldo
2016-04-12 10:36:43 -07:00
Shu-yu Guo
ead3b0f847
Bug 1261324 - Fix bogus return address for star generators' .throw being observed by the profiler in Debugger's onExceptionUnwind in Baseline. (r=jandem)
2016-04-12 10:21:25 -07:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Jon Coppeard
c20538fdb8
Bug 1263218 - Fix possbile race under oomTest involving background threads r=terrence
...
--HG--
extra : rebase_source : 89e57d0d85029caf301f63e8409bffbbd9fd9073
2016-04-12 09:44:11 +01:00
Jon Coppeard
1ab12b024b
Bug 1262203 - Skip shape table tracing where possible r=terrence
...
--HG--
extra : rebase_source : 75b2a9bc58f83bf3c59f93cb7d2e1d1cf932d813
2016-04-12 09:44:11 +01:00
Tooru Fujisawa
1fd48d7c01
Bug 1263558 - Part 4: Call initBuiltinConstructor after defining properties in InitStringClass. r=till
2016-04-15 12:32:37 +09:00
Tooru Fujisawa
52722e54e7
Bug 1263558 - Part 3: Remove JSFUN_GENERIC_NATIVE. r=till
2016-04-15 12:32:37 +09:00
Tooru Fujisawa
8a3276cbb8
Bug 1263558 - Part 2: Self-host String generics. r=till
2016-04-15 12:32:37 +09:00
Tooru Fujisawa
8d58721548
Bug 1263558 - Part 1: Self-host Array generics. r=till,bholley
2016-04-15 12:32:36 +09:00
Steve Fink
0ed02abbd7
No bug. Helper tool to partially autogenerate portions of the release notes.
...
DONTBUILD
MozReview-Commit-ID: JjKuNqmhBLY
--HG--
extra : rebase_source : 6642218ee3dcc6bd00e11b75a47063705def84f5
2016-04-14 16:04:28 -07:00
Mike Hommey
cb8bf91611
Bug 1257448 - Move MOZ_MEMORY_* defines to moz.configure. r=nalexander
2016-04-15 08:14:05 +09:00
Mike Hommey
d685556de0
Bug 1257448 - Move --enable-jemalloc and MOZ_JEMALLOC4 to moz.configure. r=nalexander
...
At the same time, allow to enable jemalloc 4 with --enable-jemalloc=4.
MOZ_JEMALLOC4 will be deprecated later.
This also changes the semantics for freebsd, where the system jemalloc
is used, relying on MOZ_MEMORY being unset (default on freebsd) and
MOZ_JEMALLOC4 to be set. In this new setup, MOZ_JEMALLOC4 implies
--enable-jemalloc=4, which still works because of the corresponding
changes to old-configure.
2016-04-15 08:14:05 +09:00
Jeff Gilbert
0b554f96bd
Bug 982928 - Remove mozconfig.vs2010. - r=gps,sfink sr=ted.mielczarek
2016-04-14 13:37:27 -07:00
Terrence Cole
6512b60963
Bug 1263777 - Use WeakCache to sweep the InitialShapeTable; r=jonco
...
--HG--
extra : rebase_source : fc5c69abc683e09cf57ffa1ddb61d63d62e74e89
2016-04-12 17:06:57 -07:00
Terrence Cole
321ad1873e
Bug 1263772 - Use WeakCache wrapper to sweep BaseShape table; r=jonco
...
--HG--
extra : rebase_source : a698230ef1f38bfd549417ed2256603ab94bd49e
2016-04-12 17:05:15 -07:00
Terrence Cole
a00f81eba6
Bug 1263771 - Sweep the InnerViewTable with WeakCache; r=sfink
...
--HG--
extra : rebase_source : 8e592dd88662d97a1901ffdc2aec4f9b0668c021
2015-12-21 16:20:42 -08:00
Terrence Cole
4e3ff61f39
Bug 1263769 - Sweep WeakCaches in parallel; r=sfink
...
--HG--
extra : rebase_source : 2aa5b5a256a5428f2b7aa5d2e10f84592bb3f9ab
2016-04-12 11:02:48 -07:00
Terrence Cole
b7c56d9cba
Bug 1233862 - Add a WeakCache builtin to automatically manage sweeping; r=sfink
...
--HG--
extra : rebase_source : 5731194b652a17fdcbc666d965690949f28b3ada
2015-12-18 14:50:20 -08:00
Boris Zbarsky
911713a99f
Bug 1264377. Get rid of some unnecessary custom JSClass hook functions in xpconnect sandboxes and DOM simple globals. r=bholley
2016-04-14 14:54:01 -04:00
Tom Schuster
c10d9494c7
Bug 1041586 - Fold away property accesses to not-defined properties. r=jandem
2016-04-14 18:09:56 +02:00
Jan de Mooij
67e655e4bf
Bug 1261361 - Make Vector::infallibleGrowByUninitialized check mReserved instead of mCapacity. r=Waldo
...
--HG--
extra : rebase_source : 2b6cdfae61946505b83748c016ef0b112ecf4780
2016-04-14 17:32:48 +02:00
Tooru Fujisawa
12599436b1
Bug 1264561 - Fix ClassOps::call and ClassOps::construct address calculation in visitIsCallable and visitIsConstructor. r=efaust
...
--HG--
extra : amend_source : ccd8d65ee7622b071fb90c46d53c6ffcfaf2613a
2016-04-14 19:00:17 +09:00
Tooru Fujisawa
251a87be0b
Bug 1264085 - Use not-non-release-only warning in js/src/tests/shell/warning.js. r=shu
2016-04-14 16:41:37 +09:00
Tooru Fujisawa
c3fd8d9ace
Bug 1263857 - Initialize the slots of the match result object before creating properties in generateRegExpMatcherStub. r=h4writer
2016-04-14 16:41:37 +09:00
Tooru Fujisawa
1cef247687
Bug 1263879 - Check the return value of AtomizeString in str_replace_string_raw. r=h4writer
2016-04-14 16:41:37 +09:00
Tooru Fujisawa
b3b67413d6
Bug 1263888 - Push TypeBarrier after ArraySlice. r=jandem
2016-04-14 16:41:36 +09:00
Mike Hommey
341ebd8679
Bug 1259382 - Move CC/CXX/HOST_CC/HOST_CXX to moz.configure. r=ted
...
At the same time, we improve things slightly by deriving HOST_CC from CC
in a smarter way, as well as CXX from CC, which we weren't doing
previously.
Many related things are not moved at the same time to keep the patch
somehow "small".
2016-04-14 13:21:29 +09:00
Terrence Cole
2177cca5cd
Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen
2015-12-15 07:45:22 -08:00
Brad Lassey
41992def18
bug 1264651 - remove dom.max_child_script_run_time pref r=billm
2016-04-14 11:23:03 -04:00
Carsten "Tomcat" Book
036485d4d3
Merge mozilla-central to mozilla-inbound
2016-04-15 13:59:07 +02:00
Carsten "Tomcat" Book
8801f025b6
Backed out changeset 889ea0524ad2 (bug 1264420) for turning into a perma fail testfailure
2016-04-15 13:56:50 +02:00
Jon Coppeard
2e96d42cf8
Bug 1264420 - Speed up bug-1259306.js test so it doesn't time out r=terrence
2016-04-15 10:04:06 +01:00
Jon Coppeard
126492d6cf
Bug 1264429 - Trace script pointers in IonCache r=terrence
2016-04-15 10:03:40 +01:00
Benjamin Bouvier
d9d48e8f8b
Bug 1263618
: Adapt assertions in RegExp*Raw functions for int32_t; r=arai
...
MozReview-Commit-ID: ItCAUIEmR9r
--HG--
extra : rebase_source : 7fdfe283511f8f3623063094a2402a661c5f7619
extra : amend_source : c07faffd297115ae74abe003812058fe653bb2fe
2016-04-11 16:38:03 +02:00
Terrence Cole
64b12b1c09
Bug 1257810 - ReleaseAcquire should be adequate for a counter; r=sfink
...
--HG--
extra : rebase_source : d7a5e7be5a85144573a43970848c1f2337a8c470
2016-04-07 11:28:34 -07:00
Benjamin Bouvier
cd2b8610c4
Bug 1262208: update test case; r=me
2016-04-11 12:44:46 +02:00
Benjamin Bouvier
9126d25abe
Bug 1262208: Generalize the disabled compilation mode message for asm.js; r=luke
...
MozReview-Commit-ID: ERdr7xy6DeO
--HG--
extra : rebase_source : f893716bbf21b9026e893cc3c70e51d52aa91996
2016-04-07 13:56:24 +02:00