Commit Graph

44117 Commits

Author SHA1 Message Date
Mike Shal
8689f72e8b Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Tooru Fujisawa
aa8be126c7 Bug 1268574 - Check the outparam JSFunction* value after GetGetterPure. r=lth 2016-04-29 02:46:22 +09:00
Luke Wagner
66afe9c89d Bug 1263205 - BaldrMonkey: add temporary Wasm.experimentalVersion (r=bbouvier)
MozReview-Commit-ID: 1jeMA9tSDoy

--HG--
extra : rebase_source : 17f988ef5a3b3ca0ad08c4c1346e9b9c0c589874
2016-04-28 10:36:28 -05:00
Luke Wagner
7a877400c4 Bug 1263202 - BaldrMonkey: switch to arities on branches, calls and return (r=bbouvier)
MozReview-Commit-ID: 34S6kQQvLTA

--HG--
extra : rebase_source : bd1a94c99656e70b185ac256769c4d870f222122
2016-04-28 10:36:28 -05:00
Benjamin Bouvier
bc8b7f7886 Bug 1254142: BaldrMonkey: make br_table yield (r=luke)
MozReview-Commit-ID: EVWmcq1cQPc

--HG--
extra : rebase_source : 9badf93692330e3c171bd7b88eee8293f0d8701f
2016-04-22 12:55:55 +02:00
Luke Wagner
9609c25c44 Bug 1263205 - BaldrMonkey: Add 'form' field to types section (r=bbouvier)
MozReview-Commit-ID: DfrBZHekoIe

--HG--
extra : rebase_source : 32e31807ff753f324d00f06e37bb2ed569167265
2016-04-28 10:36:28 -05:00
Dan Gohman
ceb3025461 Bug 1263205 - BaldrMonkey: Update for proposed new section names (r=luke)
* * *
Bug 1263205 - BaldrMonkey: Add 'form' field to types section (r=bbouvier)

MozReview-Commit-ID: fC8KB7ez76

--HG--
extra : rebase_source : 60d7724567c5f58c30f44f6f583f5015389bcd22
2016-04-28 10:36:28 -05:00
Dan Gohman
145f61731e Bug 1263205 - BaldrMonkey: Update section headers for proposed spec changes (r=luke)
MozReview-Commit-ID: CvFI2JUmM6l

--HG--
extra : rebase_source : 1fd8a56279d13ccd178e0eb2b7e8e5fab7238823
2016-04-28 10:36:28 -05:00
Dan Gohman
4a962a9584 Bug 1259295 - BaldrMonkey: Postorder (r=luke)
MozReview-Commit-ID: ImqMOvb2B4o

--HG--
extra : rebase_source : b41c64be0480ea787fadedde98b2173a6aa0485c
2016-04-28 10:36:22 -05:00
Tooru Fujisawa
bddfd57b96 Bug 1268138 - Call StringSplitString directly for internal use. r=till 2016-04-28 23:47:07 +09:00
Jon Coppeard
0b3101572e Bug 1266457 - Simplify typed object trace hook r=terence 2016-04-28 14:25:05 +01:00
Jon Coppeard
80c86a55a9 Bug 1266457 - Update pointers in GC things in two phases when compacting r=terrence 2016-04-28 14:25:05 +01:00
Jon Coppeard
461e6dee16 Bug 1266406 - Use EnumSet<AllocKind> to simplify GC sweeping phase information r=terrence 2016-04-28 14:25:05 +01:00
Heiher
3c7beee229 Bug 1267557 part 3 - Define JS_SWEPT_CODE_PATTERN for mips. r=nbp 2016-04-28 13:38:14 +02:00
Jan de Mooij
065dcf35ec Bug 1267557 part 2 - Use different jitcode poison values. r=nbp 2016-04-28 13:38:12 +02:00
Jan de Mooij
bb1f9f8372 Bug 1267557 part 1 - Also poison bytes allocated before the actual jitcode. r=nbp 2016-04-28 13:38:10 +02:00
Jan de Mooij
88d16d7efa Bug 1267557 part 0 - Move JS poison constants to jsutil.h. r=jonco 2016-04-28 13:38:05 +02:00
Hannes Verschore
cbf2a01e87 Bug 1266095: IonMonkey - Add possibility to disable recover instructions, r=nbp 2016-04-28 12:59:22 +02:00
Hannes Verschore
e1af85c878 Bug 1266649: TraceLogger - Handle failing to add to pointermap gracefully, r=bbouvier 2016-04-25 06:51:00 +02:00
Carsten "Tomcat" Book
6935ac79a5 Backed out changeset 3c4b7e1de629 (bug 1263778) for assertion failures 2016-04-28 08:37:48 +02:00
Jeff Walden
61eb1f6b30 Bug 1263778 - Rename a bunch of low-level [[Prototype]] access methods to make their interactions with statically-known and dynamically-computed [[Prototype]]s clearer. r=efaust
--HG--
extra : rebase_source : 52cdd9abe79b46385c54f6b28047f24a0cd57aee
2016-03-18 16:45:31 -07:00
Jeff Walden
56d59777fd Bug 888969 - Make the getPrototypeOf/setPrototypeOf traps scriptable. r=efaust, r=bholley
--HG--
extra : rebase_source : 4a19f3a59e9a5935f8a41f2928b74c0af3947942
2016-02-23 13:42:30 -08:00
Jeff Walden
f750e31a90 CSE some multiply-repeated ToFloatRegister(...) and such in some of the JIT backends into local variables for readability. No bug, r=bbouvier
--HG--
extra : rebase_source : 4d272ca7882faa66e7c0786f50d9064893da4b30
2016-04-23 00:27:14 -07:00
Sebastian Hengst
ab327df0ab Backed out changeset fb1cada3c198 (bug 1267812) for Linux x64 opt xpcshell failure in devtools/server/tests/unit/test_memory_footprint.js. r=backout 2016-04-27 20:29:19 +02:00
Sebastian Hengst
b4020b78c0 Backed out changeset e786ecce31b2 (bug 1266875) for pgo build bustage in xpcshell/xpcom/tests/unit/nsIFileEnumerator. r=backout on a CLOSED TREE 2016-04-27 18:35:41 +02:00
Terrence Cole
20ad710d53 Bug 1267812 - Improve worst-case minor collection latency; r=jonco
--HG--
extra : rebase_source : 2d41754e5c9e5c576cf3872f4017dd8897844b81
2016-04-26 13:53:06 -07:00
Mike Shal
a204083dd1 Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Jon Coppeard
4f9ed10d72 Bug 1266434 - Make Debugger::findScripts delazify scipts in a separate phase now this can GC r=jimb a=abuillings 2016-04-27 10:44:40 +01:00
Jon Coppeard
e1c63550ed Bug 1264420 - Speed up test bug-1259306.js which sometimes times out r=terrence 2016-04-27 10:41:05 +01:00
Tooru Fujisawa
fe62fd9efa Bug 1265187 - Re-enable bug 1263857 testcase. r=h4writer 2016-04-27 14:57:45 +09:00
Tooru Fujisawa
e51fb2f18b Bug 1267565 - Re-enable JIT inlining for std_Array. r=efaust 2016-04-27 14:57:44 +09:00
Dan Gohman
592be23acb Bug 1265892 - Change Vector to use Impl::new_ consistently. r=Waldo 2016-04-26 16:26:17 -07:00
Nick Fitzgerald
57d2efad3e Bug 1267755 - Print objects' class names in JS::ubi::dumpPaths; r=jimb 2016-04-26 14:10:23 -07:00
Nick Fitzgerald
766455dd0a Bug 1267737 - Request edge names from JS::ubi::RootList before calling init; r=jimb
Setting the `wantNames` flag must happen before calling `init` or else it will
not have any effect.
2016-04-26 14:10:23 -07:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Nick Fitzgerald
03303bde0d Bug 1263270 - Sort census reports by smallest node ID counted, rather than number of nodes counted. r=jimb 2016-04-08 16:21:00 -04:00
Ryan VanderMeulen
445015283b Backed out changeset 7f1da255d058 (bug 1119537) for causing frequent SM(e) Memory-drainAllocationsLog-13.js timeouts. 2016-04-09 15:02:53 -04:00
Tooru Fujisawa
ef64174f6e Bug 1263341 - Check lastIndex in non-global replace. r=till 2016-04-09 23:22:53 +09:00
Tooru Fujisawa
f0791a344f Bug 1263139 followup: Mark String-match-flags.js shell only. r=bustage 2016-04-09 10:25:23 +09:00
Tooru Fujisawa
c1b2d5b90a Bug 1263139 - Apply ToString to non-standard flags argument of String.prototype.{match,search,replace}. r=till 2016-04-09 08:29:59 +09:00
Jonathan Watt
b4b32352f6 Bug 1263074 - Change the JavaScript syntax error message for the old octal literal notation to suggest the new notation. r=Waldo 2016-03-25 14:35:41 +00:00
Terrence Cole
ee336d6356 Bug 1119537 - Make decommit a proper GC phase; r=jonco
--HG--
extra : rebase_source : 0dc09a101b094ce9ccd5e39e3dd8a3f9aca08cea
2016-02-26 08:03:30 -08:00
Tom Schuster
4a02bfc0dc Bug 1204562 - GetMethod should not box the receiver argument. r=till 2016-04-08 17:11:11 +02:00
Heiher
a80468e17d Bug 1263094 - IonMonkey: MIPS: Change members to non-virtual in CodeGenerator. r=arai
---
 js/src/jit/mips32/CodeGenerator-mips32.h |  8 ++++----
 js/src/jit/mips64/CodeGenerator-mips64.h | 14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)
2016-04-08 22:32:16 +08:00
Heiher
a1f74d2efd Bug 1263090 - OdinMonkey: MIPS: Implement AsmReinterpretFromI64/ToI64. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 16 ++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  2 ++
 2 files changed, 18 insertions(+)
2016-04-08 22:32:12 +08:00
Heiher
0bdc79ef7f Bug 1263090 - OdinMonkey: MIPS: Implement AsmReinterpret. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 28 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 2 files changed, 29 insertions(+)
2016-04-08 22:32:08 +08:00
Tooru Fujisawa
41d71a39c9 Bug 1263118 - Fix replace substitution without any capture. r=till 2016-04-08 21:38:46 +09:00
Hannes Verschore
3c242b4de7 Bug 977966: Fix flags of testcase, r=me 2016-04-08 05:47:34 -04:00
Hannes Verschore
0e4e221a50 Bug 1262453 - IonMonkey: Remove Nops which try to decrease liveness of instructions, but fail, r=bhackett 2016-04-08 05:47:32 -04:00
Hannes Verschore
36c320bfc2 Bug 1259403 - Tracelogger: Always make sure there are 3 free slots for events, r=bbouvier 2016-04-08 05:47:30 -04:00
Hannes Verschore
d46e65855f Bug 1259403 - Tracelogger: Only increase capacity by multiples of 2, r=bbouvier 2016-04-08 05:47:28 -04:00
Hannes Verschore
3813a2138f Bug 1246552 - IonMonkey: Don't eliminate toString on objects and symbols, r=jandem 2016-04-08 05:47:26 -04:00
Hannes Verschore
99dfa87ea8 Bug 1254106 - IonMonkey: Disable assertion of incorrect labels on OOM on ARM, like on x86 and x64, r=jandem 2016-04-08 05:47:24 -04:00
Boris Zbarsky
1998448029 Bug 1256376. Fix forEach on typed arrays to work over Xrays from web extension sandboxes. r=till 2016-03-22 13:49:58 -04:00
Nicholas Nethercote
dbc9af380e Bug 1262731 - Add JS_InitWithFailureDiagnostic(). r=sfink.
This will help identify the cause of some Firefox start-up crashes when JS
initialization fails.

--HG--
extra : rebase_source : 3ed3c5e60f487e0ca11dc13bab93aa820ca8273f
2016-04-08 09:08:49 +10:00
Steve Fink
5d4511e5b1 Bug 1259848 - Various fixes for finding gcc in the correct location for spidermonkey TC builds and hazard shell builds, r=terrence
MozReview-Commit-ID: CIMSylw6JDr

--HG--
extra : rebase_source : 55eef7df6161f73e7dc903950766e9f0141aa79d
2016-03-22 14:04:45 -07:00
Steve Fink
a3c9c8db0c Bug 1259843 - Upgrade sixgill to fix destructor handling, r=terrence
MozReview-Commit-ID: I4hv33aVpBs

--HG--
extra : rebase_source : ac707808d41be363c05ef1869b1c75499eb09ff1
2016-04-07 11:33:16 -07:00
Nick Fitzgerald
4b153b389a Bug 1258535 - Check for the existence of a global before checking if its standard classes are resolved; r=jandem
MozReview-Commit-ID: K2YgqJvwF7j
2016-04-07 14:15:42 -07:00
Nicolas B. Pierron
5272f4ef64 Bug 1261426 - GDB Scripts: Prevent gdb Memory.error when dereferencing null pointers. r=tromey 2016-04-07 13:31:57 +00:00
Tooru Fujisawa
ae7d2914fe Bug 887016 - Part 17: Mark sunspider/check-string-unpack-code.js timeout on cgc jittest. r=till 2016-01-15 14:50:14 +09:00
Tooru Fujisawa
1e9b2aa06a Bug 887016 - Part 16: Use RegExpSearcher in RegExp.prototype[@@search] optimized path. r=till 2016-01-28 18:56:12 +09:00
Tooru Fujisawa
23739dcaa6 Bug 887016 - Part 15: Use RegExpSearcher in RegExp.prototype[@@replace] optimized path. r=till 2016-01-28 18:56:09 +09:00
Tooru Fujisawa
dc39863d18 Bug 887016 - Part 14: Add RegExpSearcher. r=h4writer 2016-01-28 18:56:02 +09:00
Tooru Fujisawa
dd2692b0e2 Bug 887016 - Part 13: Implement RegExp.prototype[@@split] and call it from String.prototype.split. r=h4writer,till 2015-09-05 22:01:43 +09:00
Tooru Fujisawa
c06f3481c2 Bug 887016 - Part 12: Implement RegExp[@@species] getter. r=evilpie,bholley 2015-10-25 02:19:03 +09:00
Tooru Fujisawa
7d12904dfe Bug 887016 - Part 11: Implement RegExp.prototype[@@replace] and call it from String.prototype.replace. r=h4writer,till 2015-09-05 22:01:41 +09:00
Tooru Fujisawa
78e5236cee Bug 887016 - Part 10: Implement RegExp.prototype[@@search] and call it from String.prototype.search. r=till 2015-09-05 22:01:40 +09:00
Tooru Fujisawa
4d74d76aa9 Bug 887016 - Part 9: Implement RegExp.prototype[@@match] and call it from String.prototype.match. r=till 2015-09-05 21:55:06 +09:00
Tooru Fujisawa
630208ba15 Bug 887016 - Part 8: Add ObjectHasPrototype. r=nbp 2016-01-27 23:43:04 +09:00
Tooru Fujisawa
ed2c803aeb Bug 887016 - Part 7: Add RegExpInstanceOptimizable. r=nbp 2016-01-28 18:55:24 +09:00
Tooru Fujisawa
6d7ce2b913 Bug 887016 - Part 6: Add RegExpPrototypeOptimizable. r=nbp 2015-11-22 03:07:36 +09:00
Tooru Fujisawa
e7ca3ed9eb Bug 887016 - Part 5: Add HasOwnDataPropertyPure. r=jandem 2015-11-22 03:01:42 +09:00
Tooru Fujisawa
0574e426ad Bug 887016 - Part 4: Add GetOwnNativeGetterPure. r=jandem 2015-11-22 03:01:02 +09:00
Tooru Fujisawa
17acc7cb94 Bug 887016 - Part 3: Add LookupOwnPropertyPure. r=jandem 2015-11-22 02:55:46 +09:00
Tooru Fujisawa
6e8ddee9e1 Bug 887016 - Part 2: Add self-hosting RegExpCreate intrinsic. r=till 2015-11-22 02:55:45 +09:00
Tooru Fujisawa
c4d9af3906 Bug 887016 - Part 1: Add native RegExpCreate. r=h4writer 2015-09-05 21:55:01 +09:00
Tooru Fujisawa
f13aacf9a1 Bug 1165052 - Part 13: Add tests for ArraySpeciesCreate. r=efaust 2015-08-07 08:02:32 +09:00
Tooru Fujisawa
f04b3eedc6 Bug 1165052 - Part 12: Use ArraySpeciesCreate in Array.prototype.splice. r=efaust,evilpie 2015-12-23 13:30:58 +09:00
Tooru Fujisawa
3ddda6989d Bug 1165052 - Part 11: Use ArraySpeciesCreate in Array.prototype.slice. r=efaust 2016-03-05 18:57:53 +09:00
Tooru Fujisawa
b97a67e1ec Bug 1165052 - Part 10: Use ArraySpeciesCreate in Array.prototype.map. r=efaust 2015-08-07 08:02:18 +09:00
Tooru Fujisawa
bbeebf0ef0 Bug 1165052 - Part 9: Use ArraySpeciesCreate in Array.prototype.filter. r=efaust 2015-08-07 08:02:14 +09:00
Tooru Fujisawa
669fbd01d7 Bug 1165052 - Part 8: Use ArraySpeciesCreate in Array.prototype.concat. r=efaust 2015-12-23 13:30:47 +09:00
Tooru Fujisawa
6e4195e031 Bug 1165052 - Part 7: Implement native ArraySpeciesCreate wrapper. r=efaust 2015-12-23 13:30:12 +09:00
Tooru Fujisawa
4c8c81fd44 Bug 1165052 - Part 6: Implement self-hosted ArraySpeciesCreate. r=efaust 2015-12-23 13:28:38 +09:00
Tooru Fujisawa
66b8e38b83 Bug 1165052 - Part 5: Inline IsWrappedArrayConstructor intrinsic. r=jandem 2015-11-16 09:01:56 +09:00
Tooru Fujisawa
35b8a2fd92 Bug 1165052 - Part 4: Inline IsConstructor intrinsic. r=jandem 2015-11-16 09:01:37 +09:00
Tooru Fujisawa
e80037c86b Bug 1165052 - Part 3: Add IsWrappedArrayConstructor intrinsic. r=efaust 2015-12-23 12:46:35 +09:00
Tooru Fujisawa
2bdebb8857 Bug 1165052 - Part 2: Add IsArraySpecies. r=efaust 2015-12-23 12:43:15 +09:00
Tooru Fujisawa
886ad96018 Bug 1165052 - Part 1: Implement Array[@@species] getter. r=efaust,bholley 2015-08-07 07:53:32 +09:00
Tooru Fujisawa
28cf450f2c Bug 1233642 - Part 2: Self-host Array.prototype.concat. r=efaust,bholley 2015-12-18 17:02:27 +09:00
Tooru Fujisawa
6a959de223 Bug 1233642 - Part 1: Add IsArray intrinsic. r=efaust 2015-12-19 19:51:32 +09:00
Tooru Fujisawa
5efb474b91 Bug 1165052 - Part 0: Add throwOutOfMemory testing function and use it instead of Array.prototype.splice in test_oom_reporting.html. r=efaust 2016-04-07 19:20:22 +09:00
Tooru Fujisawa
b8e4858daa Bug 1165053 - Part 9: Add IsArrayBufferSpecies and avoid calling SpeciesConstructor on normal case. r=lth 2016-01-14 19:37:04 +09:00
Tooru Fujisawa
da93f3ea4f Bug 1165053 - Part 8: Add GetGetterPure. r=lth 2015-12-23 12:42:13 +09:00
Tooru Fujisawa
671b135804 Bug 1165053 - Part 7: Call SpeciesConstructor in TypedArray ctors. r=lth 2016-03-05 18:57:51 +09:00
Tooru Fujisawa
b97c87c62f Bug 1165053 - Part 6: Refactor TypedArrayObjectTemplate::fromArray. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa
894fd72d42 Bug 1165053 - Part 5: Add native SpeciesConstructor wrapper. r=lth 2015-12-20 19:15:09 +09:00
Tooru Fujisawa
705c8d59d3 Bug 1165053 - Part 4: Add SpeciesConstructor tests for ArrayBuffer.prototype.slice. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa
3a0b5095ae Bug 1165053 - Part 3: Add SpeciesConstructor tests for TypedArray.prototype.{filter,map,slice,subarray}. r=evilpie 2015-12-20 19:14:50 +09:00
Tooru Fujisawa
1d61393303 Bug 1165053 - Part 2: Implement %TypedArray%[@@species] getter and ArrayBuffer[@@species] getter. r=evilpie 2015-12-20 19:14:44 +09:00
Tooru Fujisawa
f28ae392ef Bug 1165053 - Part 1: Handle when ArrayBuffer species constructor returns wrapped ArrayBuffer. r=jwalden 2016-01-14 15:11:26 +09:00
Tooru Fujisawa
6e95072f22 Bug 1165053 - Part 0.3: Inline ArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:37 +09:00
Tooru Fujisawa
62d38868c7 Bug 1165053 - Part 0.2: Inline PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Tooru Fujisawa
5bcc718783 Bug 1165053 - Part 0.1: Add PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Nicolas B. Pierron
d4650a7b28 Bug 1261426 - GDB Scripts: Use the ExecutableAllocator as a fallback solution for finding JIT pages. r=tromey 2016-04-07 10:04:10 +00:00
Nicolas B. Pierron
8837ca1deb Bug 1261426 - GDB Scripts: Add pretty printers for js::jit::ExecutableAllocator. r=jandem 2016-04-07 10:04:09 +00:00
Benjamin Bouvier
ad6e9687bd Bug 1262367: Baldr: Rename "trap" to "unreachable"; r=luke
MozReview-Commit-ID: B8Lgj4mF5aq

--HG--
extra : rebase_source : 8b024a6daa420eeca5fafe180ae58ba222a720e8
extra : amend_source : bce7ecb1dcbcf8e0001e461577da9e4eccfd048f
2016-04-06 10:36:42 +02:00
Morgan Phillips
3232bedaff Bug 1261904 - Refactor Debugger.Object.getErrorMessageName; r=jimb
There is no reason for this method to take an argument.

--HG--
extra : rebase_source : d9c33cd66396a1abb4f85f04331d10469b964fd6
2016-04-05 23:30:44 -07:00
Terrence Cole
39a7ed7f26 Bug 1262203 - Do GC relocation writes in order; r=sfink
--HG--
extra : rebase_source : 81957086c3ed7574a91ff429e385e6ac3d164244
2016-04-06 14:44:10 -07:00
Nick Fitzgerald
01cfd1d6c6 Bug 1248948 - Don't pass non-SavedFrame objects to SavedFrame JSAPI functions; r=tromey r=evilpie 2016-04-05 13:51:00 +02:00
Tooru Fujisawa
9569ed5e0a Bug 933257 - Part 9: Use fdlibm in asm.js. r=luke 2016-03-05 05:18:09 +09:00
Tooru Fujisawa
48f2d46a6a Bug 933257 - Part 7: Remove or reduce sloppy_tolerance in Math function tests. r=jorendorff 2016-01-07 14:21:26 +09:00
Tooru Fujisawa
ed83ebe4b8 Bug 933257 - Part 6: Remove unused math polyfill. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa
3aedc7a677 Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden 2016-01-07 12:30:29 +09:00