Commit Graph

44117 Commits

Author SHA1 Message Date
Eric Faust
14c8099671 Bug 1254190 - Propagate failure of matchAllDebuggeeGlobals() in Debugger. (r=shu) 2016-05-03 03:28:31 -07:00
Eric Faust
9503ea36fe Bug 1254123 - Handle OOM more gracefully in js::ErrorToException. (r=Waldo) 2016-05-03 03:28:28 -07:00
Eric Faust
47c1886357 No bug - Update the new.target syntax error to something more understandable. (rs=Waldo) 2016-05-03 03:28:26 -07:00
Eric Faust
fb3dc950bb Bug 1254172 - Make UnboxedLayout::makeNativeGroup robust to unknownProperties on unboxed type. (r=jandem) 2016-05-03 03:28:23 -07:00
Lars T Hansen
02fb1ff8b5 Bug 1262062 - remove old futex names. r=bbouvier
--HG--
extra : rebase_source : f8919c6b4280fb49c3292eb299997e2fe52f4659
2016-05-02 10:18:20 +02:00
Jan de Mooij
962cdbb2b0 Bug 1266695 - Port typed object getprop stub to CacheIR. r=efaust 2016-05-03 09:04:16 +02:00
Wes Kocher
f1c56548d5 Backed out 2 changesets (bug 1268725) for build bustage
Backed out changeset 1eb0e0154d5c (bug 1268725)
Backed out changeset d3ada16ac63d (bug 1268725)

MozReview-Commit-ID: IXVmFSZYGzc
2016-05-02 18:30:04 -07:00
Dan Gohman
c9fd413eaf Bug 1268725 - BaldrMonkey: Convert default arguments into explicit arguments. r=luke 2016-05-02 17:26:33 -07:00
Dan Gohman
5eb9c14aca Bug 1268725 - BaldrMonkey: Refactor away the internal storage from ExprIter. r=luke 2016-05-02 17:26:30 -07:00
Luke Wagner
3e12a2d62c Bug 1268863 - Follow-up to appease rooting hazard analysis (rs=sfink)
MozReview-Commit-ID: 8GBEgy3wMMq
2016-05-02 18:12:00 -05:00
Luke Wagner
628e81151f Bug 1268863 - Report ScriptSources that are only reachable via AsmJSModule (r=njn)
MozReview-Commit-ID: ByGKq7bUi0l

--HG--
extra : rebase_source : c44aed77e4f984a8c26aaec5cceef946d4bef108
2016-04-29 12:46:07 -05:00
Sebastian Hengst
2e205e8993 Backed out changeset 3b77d0263a15 (bug 1268725) for build bustage. r=backout on a CLOSED TREE 2016-05-02 21:26:11 +02:00
Sebastian Hengst
da17eb195b Backed out changeset d33dcbacb46d (bug 1268725) 2016-05-02 21:26:04 +02:00
Dan Gohman
af49ce2f52 Bug 1268725 - BaldrMonkey: Convert default arguments into explicit arguments. r=luke 2016-05-02 11:52:27 -07:00
Dan Gohman
5c9eaa0ed2 Bug 1268725 - BaldrMonkey: Refactor away the internal storage from ExprIter. r=luke 2016-05-02 11:52:17 -07:00
Hannes Verschore
5f07d24f21 Bug 1255008: IonMonkey - Don't alias when intersection of categories is empty and typo, r=jandem 2016-05-02 16:07:38 +02:00
Jan de Mooij
6e76c672f2 Bug 1266180 - Port unboxed object getprop stub to CacheIR. r=efaust 2016-05-02 10:22:53 +02:00
Jonathan Watt
9f2ce06d3b Bug 1162772, part 1 - Allow CompartmentCreationOptions to store Secure Context state. r=jorendorff
MozReview-Commit-ID: 4edUIF2rcBR
2016-04-28 11:13:09 +01:00
Nicholas Nethercote
42f9c7021b Bug 1268771 - Remove OldJitAllocPolicy. r=jandem.
It's unused.
2016-04-29 16:22:35 +10:00
Sebastian Hengst
6efdd0a095 Backed out changeset d07106878066 (bug 1162772) for many tests failing with Assertion failure: principal->GetIsCodebasePrincipal(), at dom/base/nsGlobalWindow.cpp:2412. r=backout on a CLOSED TREE 2016-04-30 09:54:16 +02:00
Shu-yu Guo
d1f542f8c9 Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 18:10:07 -07:00
Jonathan Watt
25b4d58e2a Bug 1162772, part 1 - Allow CompartmentCreationOptions to store Secure Context state. r=jorendorff
MozReview-Commit-ID: 4edUIF2rcBR
2016-04-28 11:13:09 +01:00
Sebastian Hengst
670924b38b Backed out 2 changesets (bug 1268805) for build bustage. r=backout on a CLOSED TREE
Backed out changeset b8a517eb7c6b (bug 1268805)
Backed out changeset 31075a760b2e (bug 1268805)
2016-04-30 00:52:59 +02:00
Shu-yu Guo
e841ff15ad Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 15:12:13 -07:00
Tooru Fujisawa
60b595b137 Bug 1268740 - Change AllocateArrayBuffer to receive byteLength with |count * unit| format. r=lth 2016-04-30 03:01:11 +09:00
Terrence Cole
7691790f4d Bug 1267412 - Use MutableHandleValue instead of pointer-to-AutoValueVector; r=sfink 2016-04-25 15:42:19 -07:00
Tooru Fujisawa
f0d20c1538 Bug 1268056 - Check if |this| value is a RegExp object in the optimized path in RegExpSplit. r=h4writer 2016-04-30 02:22:38 +09:00
Terrence Cole
8e2294b2b6 Bug 1267699 - Move some public types to the right namespace; r=sfink
--HG--
extra : rebase_source : f79f7d86aab708b86a65e6f2426baeb8488f47e5
2016-04-26 09:18:48 -07:00
Benjamin Bouvier
42fbe89249 Bug 1268518: Update basic-integer tests for rotations + clean up; r=sunfish
MozReview-Commit-ID: 3N70Wutqojm

--HG--
extra : rebase_source : 71f2323804778a6ff2406cb90146dfb1a095ecd9
2016-04-29 11:33:48 +02:00
Benjamin Bouvier
3ee4342f87 Bug 1268518: Baldr: implement int32/int64 rotations; r=luke
MozReview-Commit-ID: 3YQDbFxlXl7

--HG--
extra : rebase_source : f1d007dded6818eb8cabb66ef5385eba0a06456a
2016-04-29 14:38:57 +02:00
Benjamin Bouvier
367476ec00 Bug 1268024: A few cleanups related to loads/stores; r=luke
MozReview-Commit-ID: G2XhqDTHM7x

--HG--
extra : rebase_source : d43ed132f5aa004ed574a617b087b8548ff9db19
2016-04-29 11:27:12 +02:00
Benjamin Bouvier
1f046d685b Bug 1268024: Pass the atomic attribute down to EmitHeapAccess; r=luke
MozReview-Commit-ID: LjHXD8Kuk2M

--HG--
extra : rebase_source : f3697106ce91eda0e7c2a6ba90fb318b7ad29575
2016-04-29 11:25:09 +02:00
Benjamin Bouvier
0c7d6c75c8 Bug 1266781: Rename MTruncateToInt64 into MWasmTruncateInt64; r=sunfish
MozReview-Commit-ID: 4uRKKAFAcnW

--HG--
extra : rebase_source : b624ea4263508d9ca86ffe13d1695495671556fc
2016-04-27 12:08:46 +02:00
Benjamin Bouvier
f92d63fa75 Bug 1266781: Baldr: implement proper checked truncations to integer types; r=sunfish
MozReview-Commit-ID: 8gi7zFq7V8T

--HG--
extra : rebase_source : fe3f06c24987588d42edbb7cf5c5b09892f0ba11
2016-04-27 12:09:13 +02:00
Benjamin Bouvier
933f7f7289 Bug 1266781: Add new traps; r=luke
MozReview-Commit-ID: FixlUGoHUdR

--HG--
extra : rebase_source : 6e02eef4f97bf64b8b2d06e6a97ffe23bc6608ed
2016-04-26 18:04:09 +02:00
Jon Coppeard
274b0a7f77 Bug 1268501 - Release the GC lock periodically when releasing arenas on the backgound thread r=terrence
--HG--
extra : rebase_source : e9c82e659f14d42a343bb8bb3860ee6ce25de9df
2016-04-29 13:02:35 +01:00
Hannes Verschore
7f8f6ca509 Bug 1255008: IonMonkey - Add a by default disabled flow sensitive alias analysis pass, r=jandem 2016-04-29 13:36:16 +02:00
Benjamin Bouvier
cf34788191 Bug 1268415: Initialize members in UpdatePointerTasks; r=jonco
MozReview-Commit-ID: 2QthZlDcd76

--HG--
extra : rebase_source : 955bd39f5506b6ad2e4820592417e1b31e9b8d35
2016-04-22 17:01:05 +02:00
Jon Coppeard
33af1ea84b Bug 1268085 - Remove unused post barrier callbacks r=terrence 2016-04-29 10:44:22 +01:00
Jon Coppeard
f81dc4656c Bug 1268541 - Compact arenas containing base shapes r=terrence 2016-04-29 10:44:22 +01:00
Tooru Fujisawa
1ddcd311ac Bug 1268034 - Part 2: Call setConstructor and initBuiltinConstructor after defining properties in all init function. r=till 2016-04-29 18:24:21 +09:00
Tooru Fujisawa
8c67bcb434 Bug 1268034 - Part 1: Reset constructor slot of GlobalObject to undefined when it fails to initialize constructor. r=till 2016-04-29 18:24:20 +09:00
Nicholas Nethercote
3d3c69d038 Bug 1267551 (part 1) - Use MOZ_MUST_USE more in jsnum.h. r=jonco. 2016-04-27 17:09:21 +10:00
Luke Wagner
907033b7b6 Bug 1219098 - Reenable compression on large sources, but revert to uncompressed if decompression happens (r=jandem)
MozReview-Commit-ID: Isv12cO9VeL
* * *
[mq]: blah

MozReview-Commit-ID: CqyK7uELkdg
2016-04-28 20:04:57 -05:00
Luke Wagner
31b3420616 Bug 1219098 - Use UniquePtr in UncompressedSourceCache, for it is good (r=jandem)
MozReview-Commit-ID: 6xyTh43n54W

--HG--
extra : rebase_source : c44fcd424e2b79dda17c4e9a23f643bedc38f468
2016-04-28 20:04:20 -05:00
Luke Wagner
27df03e102 Bug 1219098 - Odin: Share JSFunction objects to make less garbage (r=bbouvier)
MozReview-Commit-ID: Sc4QOo3vnj

--HG--
extra : rebase_source : b83b8dd080b60f463ba5bb0c618a25912ef965c5
2016-04-28 20:03:51 -05:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Terrence Cole
e27fba9d56 Bug 1266887 - Store Rooted heads on the Zone; r=sfink
--HG--
extra : rebase_source : 1a9056f7d67eb118d55c789c18935799f871344f
2016-04-25 12:32:36 -07:00
Nick Fitzgerald
77877c51ae Bug 1244279 - Part 1: Take a bit in ObjectElements::Flags to indicate whether the object is in the whole cell store buffer. r=terrence 2016-04-28 10:35:00 -04:00
Nick Fitzgerald
d9edfd1af8 Bug 1244279 - Part 0: Add a GC ubench for large arrays with both elements and properties. r=terrence 2016-04-27 13:33:00 -04:00
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