Sebastian Hengst
5f2fdfb80c
Backed out changeset 724b17184279 (bug 867815) for letting web-platform-test /editing/run/formatblock.html fail. r=backout
2017-04-19 18:30:22 +02:00
Jan de Mooij
a3cb362804
Bug 1357711 - Remove unnecessary function delazification in JSObject::makeLazyGroup. r=bhackett
2017-04-19 16:42:58 +02:00
Jon Coppeard
6d78354ad7
Bug 867815 - Add post barrier for visitIteratorStart r=jandem
2017-04-19 15:19:50 +01:00
Luke Wagner
193112a244
Bug 1357053 - Baldr: include initial offset in thunk address (r=bbouvier)
...
MozReview-Commit-ID: LljBXmR7UXj
--HG--
extra : rebase_source : f0034bd782ec02fce00489dd3e2bee5e205a2ba4
2017-04-19 08:55:40 -05:00
Boris Zbarsky
b8ee513485
Bug 1306200 part 2. When a promise is rejected with an object that cannot be securely unwrapped, report the underlying object as an error to its global before replacing the rejection value with a security error placeholder. r=waldo
2017-04-18 20:56:48 -04:00
Boris Zbarsky
d8b203fe04
Bug 1306200 part 1. Move the "report this error now" machinery from Debugger.cpp to ErrorReporting. r=waldo
...
This allows other consumers to share this machinery.
2017-04-18 20:56:48 -04:00
Tom Schuster
bba03fb46a
Bug 1357468 - More Object.hasOwnProperty optimizations for Speedometer. r=jandem
...
- IC support dense elements, like [0].hasOwnProperty("0")
- IC support unboxed objects
- IC support proxies, i.e. NodeList or other DOM proxies mostly
2017-04-18 18:56:25 +02:00
André Bargull
0129caa07f
Bug 1351913 - Reduce calls to FindReservedWord when checking for forbidden identifiers during parsing. r=shu
...
--HG--
extra : rebase_source : 70a24f7c32f062f195167504722891c6df51ee4c
2017-04-18 05:48:51 -07:00
Lars T Hansen
92a16eae93
Bug 1352681: Test cases for serialize/deserialize SAB, fix busted build. r=me
...
--HG--
extra : rebase_source : 2a95e9cbc1aa30d68f1bd5174d09ea7da83ec5e7
2017-04-19 12:44:51 +02:00
Carsten "Tomcat" Book
e2b810f97e
Merge mozilla-central to mozilla-inbound
2017-04-19 10:49:57 +02:00
Carsten "Tomcat" Book
44e9c21039
merge mozilla-inbound to mozilla-central a=merge
2017-04-19 10:32:48 +02:00
Wes Kocher
61ed56921b
Merge m-c to inbound, a=merge
2017-04-18 14:38:53 -07:00
Wes Kocher
bcaa07a677
Merge inbound to central, a=merge
2017-04-18 14:35:25 -07:00
Lars T Hansen
8d68f08ca5
Bug 1356697 - Throw TypeError for unable-to-wait Atomics.wait, as per spec. r=shu
...
--HG--
extra : rebase_source : 9c0de125717af3929fae28e4f26b7d8a042fe867
extra : amend_source : 62aaa57a99e40c8332ae5155ae8ffc9be2fc9dca
2017-04-18 16:03:07 +02:00
Jan de Mooij
b7b3c5b8f7
Bug 1356822 - Fix IonBuilder::jsop_bindname to pass the global lexical to the IC in the BINDGNAME case. r=evilpie
2017-04-18 14:58:55 +02:00
Carsten "Tomcat" Book
bb87f43c09
merge mozilla-inbound to mozilla-central a=merge
2017-04-18 10:21:31 +02:00
Lars T Hansen
00a92530e0
Bug 1352681: Test cases for serialize/deserialize SAB. r=sfink, r=waldo
...
--HG--
extra : rebase_source : f6afd919114de8e95cfc071db17726e6a16cc7a0
2017-04-10 13:21:57 +02:00
Carsten "Tomcat" Book
5c4aa724fa
Backed out changeset c14bbafbc6a6 (bug 1306200) for linux debug sm-arm bustage
2017-04-19 09:22:26 +02:00
Carsten "Tomcat" Book
21c2e1b3fc
Backed out changeset fae4abdb3d86 (bug 1306200)
2017-04-19 09:22:01 +02:00
Iris Hsiao
37eb3d6689
Backed out changeset 428f1770d076 (bug 1357012) for Assertion failure: missing call to js::ReportOutOfMemory()
2017-04-19 14:58:22 +08:00
Iris Hsiao
981bde9d05
Backed out changeset 2eca4618f579 (bug 1357012) for spidermonkey bustage
2017-04-19 14:57:26 +08:00
Shu-yu Guo
dcc910ef79
Bug 1357012 - Followup: add missing ReportOutOfMemory.
2017-04-18 23:34:13 -07:00
Shu-yu Guo
f4bcbd619a
Bug 1356691 - Preserve DeadObjectProxy's IsCallable and IsConstructor values statically with templates. (r=billm)
2017-04-18 18:23:18 -07:00
Shu-yu Guo
8eacb418e2
Bug 1357012 - Use fallible append for compression tasks and use UniquePtrs. (r=jonco)
2017-04-18 18:23:18 -07:00
Boris Zbarsky
c947157599
Bug 1306200 part 2. When a promise is rejected with an object that cannot be securely unwrapped, report the underlying object as an error to its global before replacing the rejection value with a security error placeholder. r=waldo
2017-04-18 20:56:48 -04:00
Boris Zbarsky
0feef7f2d9
Bug 1306200 part 1. Move the "report this error now" machinery from Debugger.cpp to ErrorReporting. r=waldo
...
This allows other consumers to share this machinery.
2017-04-18 20:56:48 -04:00
Shu-yu Guo
cd3756c697
Bug 1216630 - Unskip test262 class toString tests. (r=Yoric)
2017-04-17 19:51:35 -07:00
Shu-yu Guo
1df7352485
Bug 1216630 - Rename preludeStart and postludeEnd to toStringStart and toStringEnd and misc fixes. (r=Yoric)
2017-04-17 19:51:35 -07:00
Shu-yu Guo
159df826fb
Bug 1216630 - Print class source when calling toString on the constructor. (r=Yoric)
...
This is accomplished in the following ways.
LazyScripts and JSScripts now have 4 offsets:
- Source begin and end for the actual source. This is used for lazy
parsing.
- toString begin and end for toString. Some kinds of functions, like
async, only have a different begin offset. Class constructors have
different offsets for both begin and end.
For syntactically present (i.e. non-default) constructors, the class
source span is remembered directly on the LazyScript or JSScript. The
toString implementation then splices out the substring directly.
For default constructors, a new SRC_CLASS SrcNote type is added. It's
binary and has as its arguments the begin and end offsets of the class
expression or statement. MakeDefaultConstructor reads the note and
overrides the cloned self-hosted function's source object. This is
probably the least intrusive way to accomplish this.
2017-04-17 19:51:34 -07:00
Luke Wagner
c39bb259da
Bug 1356631 - Change LargeAllocationCallback to be process-wide (r=mccr8)
...
This is necessary to allow helper threads to attempt large allocations and recover from fragmentation situations with the LargeAllocationFailureCallback.
MozReview-Commit-ID: AyA3pbXcaYy
--HG--
extra : rebase_source : 7a5feb779b690ec7f123481e76f2390c850dac91
2017-04-17 21:19:54 -05:00
Jan Beich
0422dfb12d
Bug 1353558 - Restore "dtrace -G" support after bug 1353259 for Solaris and FreeBSD. r=glandium
...
MozReview-Commit-ID: JKg5sCbfuzm
--HG--
extra : rebase_source : fb3a320fd79137a63d8fa48196d186111d5bb991
2017-04-05 21:51:26 +00:00
Sebastian Hengst
4b1c4edae2
Backed out changeset d505fbfbd4e2 (bug 1357468) for asserting an e.g. failing js/src/jit-test/tests/arrays/sort-getter-only.js. r=backout
2017-04-18 19:32:49 +02:00
Tom Tromey
f8b4c97867
Bug 1348419 - Use thread_local on XP_WIN and XP_MACOSX; r=froydnj
...
MozReview-Commit-ID: 75dTUk27p94
--HG--
extra : rebase_source : f93d5b063a6ff14d8eb6f5236828450f3f784b8c
2017-03-22 12:04:21 -06:00
Zibi Braniecki
abdb6cbf08
Bug 1356066 - JS_SetDefaultLocale should be updated on intl:app-locales-changed. r=shu,smaug
...
MozReview-Commit-ID: wDftiQLfax
--HG--
extra : rebase_source : 6080b5aa72bac7712e0a62275c260731aee7db00
2017-04-17 17:41:52 -07:00
Tom Tromey
bcbdcb14bb
Bug 1334278 - change JS_smprintf to return UniqueChars; r=froydnj
...
This changes JS_smprintf to return UniqueChars, rather than relying on
manual memory management.
MozReview-Commit-ID: ENjQJODYdD1
--HG--
extra : rebase_source : 4c8ad4719dce205a7ef25e41eca25c5af793bb47
2017-03-03 15:10:11 -07:00
Tom Tromey
99f4608655
Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj
...
Change mozilla::Smprintf and friends to return a UniquePtr, rather than
relying on manual memory management. (Though after this patch there are
still a handful of spots needing SmprintfFree.)
MozReview-Commit-ID: COa4nzIX5qa
--HG--
extra : rebase_source : ab4a11b4d2e758099bd0794d5c25d799a7e42680
2017-03-03 08:17:27 -07:00
Boris Chiou
afec853085
Bug 1357357 - Part 1: Add one FFI to set unsupported transition property. r=emilio
...
We need an FFI, Gecko_StyleTransition_SetUnsupportedProperty, to set the
mProperty and mUnknownProperty of StyleTransition. In Servo, we put
non-animatable, custom, and unrecognized property together, so this FFI
should look up the nsCSSPropertyID of the input string, and then store the
value and the unknown property string (if any) back to StyleTransition.
MozReview-Commit-ID: 4iZNKXNSrzj
--HG--
extra : rebase_source : 088daa620133418afdc6b1c97b6e90ceb7cf3b75
2017-04-26 17:41:45 +08:00
Mike Hommey
9adb1c6754
Bug 1356931 - Remove gcc-b2g.manifest. r=sfink
...
The code that could make use of it was removed in bug 1239082.
--HG--
extra : rebase_source : 25f3aaf11ddbab333a60efe6236dc1458f181f10
2017-04-17 08:25:23 +09:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Florian Queze
4c6a68d1c9
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Jan de Mooij
4ee57dc445
Bug 1355058 part 2 - Avoid creating unnecessary type constraints in IonBuilder::typedObjectPrediction. r=h4writer
2017-04-15 10:25:47 +02:00
Jan de Mooij
2d6c825d58
Bug 1355058 part 1 - Try the TypedObject optimizations last as typed objects are disabled by default. r=h4writer
2017-04-15 10:24:54 +02:00
Andrew McCreight
39d3aedd82
Bug 1356666, part 4 - Use handles as arguments in mozJSSubscriptLoader. r=mrbkap
...
MozReview-Commit-ID: 9fClU6BIWfT
--HG--
extra : rebase_source : 0f255542a13fd1fdad3a950892694bc8684c0ac0
2017-04-14 14:38:51 -07:00
Andrew McCreight
f5c9d2bf30
Bug 1356666, part 3 - Mark some functions in mozJSSubscriptLoader static. r=mrbkap
...
MozReview-Commit-ID: 7JsyR6B84Gz
--HG--
extra : rebase_source : 05aecd963e0d5e997613306cfc0ea158b68a0902
2017-04-14 14:33:17 -07:00
Andrew McCreight
adaea5fbec
Bug 1356666, part 2 - Fix some style issues in mozJSSubScriptLoader. r=mrbkap
...
mSystemPrincipal is an nsCOMPtr so it does not need to be explicitly
initialized.
Fields don't have to be lined up.
Empty function bodies don't need to be commented as such.
The blank line at the start of mozJSComponentLoader.cpp prevents Emacs
from using the mode line.
MozReview-Commit-ID: 7Az1x8jmxTI
--HG--
extra : rebase_source : 2d818074d82f9a6b1041983efd7a81bde9870619
2017-04-14 14:13:19 -07:00
Andrew McCreight
ec4172c47a
Bug 1356666, part 1 - Rename target_obj to targetObj in mozJSSubscriptLoader. r=mrbkap
...
MozReview-Commit-ID: 89WugjhzPLk
--HG--
extra : rebase_source : 0cdfc9702bed43e5712096082ca9daba755834b3
2017-04-14 14:10:40 -07:00
Jan de Mooij
082b553b4c
Bug 1353359
part 4 - Use BindName IC in Ion and remove the old IonCache infrastructure. r=evilpie
...
--HG--
extra : rebase_source : e2c081588b4658b5098f937a97a3897fe6eb622f
2017-04-14 12:29:15 +02:00
Jan de Mooij
5191a73fa3
Bug 1353359
part 3 - Add BindName stub for non-global (BINDNAME) lookups. r=evilpie
...
--HG--
extra : rebase_source : 543330c6037b30dddd61754d76d5fb9203ac162c
2017-04-14 12:28:35 +02:00
Jan de Mooij
8cbcd04704
Bug 1353359
part 2 - Add BindName stub for global (BINDGNAME) lookups. r=evilpie
...
--HG--
extra : rebase_source : 9390a21792ada55e086147eca9ea66743c292cbd
2017-04-14 12:28:14 +02:00
Jan de Mooij
8051ffb670
Bug 1353359
part 1 - Add BindNameIRGenerator and use it in Baseline. r=evilpie
...
--HG--
extra : rebase_source : 613d7b790cc840f9ef20c4f99d98be79a60c9f8b
2017-04-14 12:26:28 +02:00
Iris Hsiao
93edef392b
merge autoland to mozilla-central a=merge
2017-04-14 17:09:58 +08:00
Brian Hackett
9c666746f6
Bug 1353922 - Check all zone groups when adding edges for debugger cross compartment wrappers, r=jandem.
2017-04-13 14:43:32 -10:00
Brian Hackett
2fc979139a
Bug 1347539 - Keep track of the Ion lazy link list at the zone group level, r=h4writer.
...
--HG--
extra : rebase_source : fe9f55908e9bd6e4daecd4802a4229ca18919b04
2017-04-12 13:10:46 -10:00
Wes Kocher
c8a2033f35
Merge m-c to inbound, a=merge
2017-04-13 17:33:39 -07:00
Wes Kocher
514e230373
Merge inbound to central, a=merge
2017-04-13 17:24:01 -07:00
Steve Fink
3eab9fd2e5
Bug 1294915 - Handle templatized C1/C4 constructors, r=bhackett
...
MozReview-Commit-ID: 2qvI8AHCtHN
--HG--
extra : rebase_source : 997d0777206527f9de0b243553035526de58d720
2017-04-13 16:41:02 -07:00
Wes Kocher
4fab232444
Merge autoland to central, a=merge
2017-04-13 13:03:43 -07:00
Till Schneidereit
3896d887c0
Bug 1346012 - Handle dead object wrappers in more places in Promise code. r=shu
...
MozReview-Commit-ID: HlmKwoMub9D
2017-04-13 17:15:54 +02:00
Jan de Mooij
24c0897fb2
Bug 1336580 - Attach AddSlot stubs before we run the new-script analysis. r=bhackett
2017-04-13 16:21:16 +02:00
Tom Schuster
f560973ff4
Bug 1355943 - Constant fold ion type-barrier. r=h4writer
2017-04-13 12:57:43 +02:00
Steve Fink
68235ceb4a
Bug 1294915 - Safe UniquePtr content can be considered safe, r=bhackett
...
MozReview-Commit-ID: 1opi1QW4oJz
--HG--
extra : rebase_source : 35091fd1429990f862552c2903e83c0873a14fb5
2017-04-13 09:17:02 -07:00
Shu-yu Guo
d4eaa9c2fa
Bug 1354294 - Preserve IsCallable and IsConstructor when nuking wrappers. r=evilpie, a=me
...
--HG--
extra : amend_source : a91257b419dee811e111c07605e9b3712e66a75f
2017-04-12 17:55:00 -04:00
Wes Kocher
2986c817dc
Merge autoland to central, a=merge CLOSED TREE
2017-04-12 15:13:30 -07:00
Wes Kocher
25d50f2c30
Merge inbound to central, a=merge
2017-04-12 14:39:09 -07:00
Steve Fink
a7aad66a58
Bug 1294915 - Allow AsAString to propagate safety, r=bhackett
...
MozReview-Commit-ID: 9Cko2Azc41u
--HG--
extra : rebase_source : f4a2052303594264b49b65532fa18dd89580ef72
2017-04-12 14:35:44 -07:00
Steve Fink
87abd26b59
Bug 1294915 - trivial changes to the analysis code. r=woof!
...
MozReview-Commit-ID: KV26IxJNrRW
--HG--
extra : rebase_source : da2ddaf0913c06d7d76b653339ab293b5c1b281d
2017-04-12 14:35:18 -07:00
Steve Fink
4bc841bcc2
Bug 1294915 - Rewrite locations to URLs, r=jonco
...
MozReview-Commit-ID: ag7GgVmpxE
--HG--
extra : rebase_source : 15594fe7d6e7e5eaf849c5f54c9410b3ae864ab7
2017-04-13 15:51:25 -07:00
Steve Fink
9fcb90d900
Bug 1294915 - Straightforward heap write annotations, r=bholley
...
MozReview-Commit-ID: 9xvurr7s9EB
--HG--
extra : rebase_source : a14b184a6f16ca87367de9868ba8f853a71e20c1
2017-04-13 10:57:35 -07:00
Sebastian Hengst
1bec3d34e4
Backed out changeset 8417a09fdec3 (bug 1343158) for failing own test in Windows plain shell. r=backout
2017-04-12 18:36:38 +02:00
Emanuel Hoogeveen
262bf8b5a6
Bug 1355133 - Check temporary buffer to detect instances of faulty hardware. r=jandem
2017-04-10 09:37:00 -04:00
Avikalpa Kundu
418fdb835b
Bug 1338841 - Change ascii to latin1 in irregexp where it's actually checking latin1. r=arai
...
--HG--
extra : amend_source : f405e5bb9020ad6233e3ed9f95e029a8658993c1
2017-04-10 08:43:00 -04:00
Steve Fink
59e43b78be
Bug 1294915 - Use parameter names when reporting heap write hazards, when available, r=me
...
MozReview-Commit-ID: G2A2GLoyWDq
--HG--
extra : rebase_source : 9ada8d1f03fda31f8da1505f2a6df8bbe8ab244a
2017-04-04 12:20:41 -07:00
Steve Fink
23d649aecd
Bug 1294915 - Add analyzeHeapWrites.js to the hazard jobs, r=jonco
...
MozReview-Commit-ID: 7TIiGQmoZVx
--HG--
extra : rebase_source : f8bf72f43a77a1932cba25e9cf50f4d002f2cf28
2017-03-26 16:15:25 -07:00
Steve Fink
a507b83009
Bug 1294915 - Annotate away some false positives, r=jonco
...
MozReview-Commit-ID: Db9eWAYGtgG
--HG--
extra : rebase_source : d4836c14c72870833d4eeeb9ac4017991e2a8137
2017-03-27 14:00:39 -07:00
Steve Fink
0a501e8bd1
Bug 1294915 - Switch analyzeHeapWrites to callgraph.js, r=jonco
...
MozReview-Commit-ID: 2gGIlJJwK5n
--HG--
extra : rebase_source : e13d0787cba6509198d360e530839a9a1978cb0a
2017-03-25 15:38:34 -07:00
Steve Fink
241bc26e04
Bug 1294915 - Move code that analyzes bodies to generate info about the callgraph into callgraph.js, r=jonco
...
MozReview-Commit-ID: CTt89rGg44U
--HG--
extra : rebase_source : ffb22ff83b30fb8de1a7fedefea56fb853def909
2017-03-25 16:41:41 -07:00
Steve Fink
05a5a7aa57
Bug 1294915 - Import untouched version of heap write analysis, r=sfink
...
MozReview-Commit-ID: 6VPMEdLkGyj
--HG--
extra : rebase_source : 46916df463c3eec63407b0f69d51366cf23ace04
2017-03-25 15:13:39 -07:00
Steve Fink
b700eb8e4d
Bug 1294915 - Record whether a call is a virtual function call vs some other field call, r=jonco
...
MozReview-Commit-ID: K22wk5HIy0a
--HG--
extra : rebase_source : ccb104c53ef62e408e5d2aa0497af510e1660c8e
2017-03-24 16:33:21 -07:00
Steve Fink
04e5070cd5
Bug 1294915 - Refactor getCallees to reduce indent level, r=jonco
...
MozReview-Commit-ID: JUxX1bY2ky3
--HG--
extra : rebase_source : 4deee90780ac6e34dae44aa60f589b366328bddf
2017-03-24 16:32:56 -07:00
Steve Fink
7bb3feb9be
Bug 1294915 - Tag fields containing functions with arg count, r=jonco
...
MozReview-Commit-ID: LDL9mR0xAzy
--HG--
extra : rebase_source : 4fa97f232ced117423fe7b3b7b07e190123c4543
2017-03-24 16:31:51 -07:00
Steve Fink
4f3142a674
Bug 1294915 - Rename addEntry, r=jonco
...
MozReview-Commit-ID: L6m3AoMiUNT
--HG--
extra : rebase_source : b218637a31215ba2a11db3b526c5f2b01351a802
2017-03-24 16:23:19 -07:00
Benjamin Bouvier
554d9003df
Bug 1340219: Add precise descriptions of wasm calls to native in the profiler; r=luke
...
MozReview-Commit-ID: 1Z93Kf1G8ET
--HG--
extra : rebase_source : 6c7ccbd7cd4ac1c7ed2cd4eba99ed1e99c57cca4
2017-04-10 17:47:21 +02:00
Benjamin Bouvier
935a7a7a92
Bug 1340219: Give a builtin stub for all the builtin calls; r=luke
...
MozReview-Commit-ID: 7QUo5prAaih
--HG--
extra : rebase_source : d483ef02626c352e669e51a9b5f8a13ffee07ee8
2017-04-05 19:47:45 +02:00
Tom Schuster
3982a0db41
Bug 1344469 - Part 6 - Port not defined property optimzation to HasOwn. r=jandem
2017-04-14 00:47:31 +02:00
Benjamin Bouvier
3f872681e7
Bug 1356068: Process code labels when generating code stubs; r=luke
...
--HG--
extra : rebase_source : de855280173846de3e86c4a401186279f1bea673
extra : amend_source : e475de396e4e556e7b76b0fd99ecfea198ade420
2017-04-13 13:18:45 +02:00
Nick Fitzgerald
dad1ada009
Bug 1277338 - Part 8: Tell cargo to tell rustc to link nspr when building SpiderMonkey; r=sfink
...
I'm not entirely sure why this wasn't failing loudly before (weak symbols?) but
once we add the Rust FFI calls that actually use JS stuff, the linker starts
complaining about missing symbols from nspr if we don't have this.
2017-04-13 13:22:20 -07:00
Nick Fitzgerald
f4ff20cfd0
Bug 1277338 - Part 6: Turn various macro definitions into proper constants; r=sfink
2017-04-13 13:22:20 -07:00
Nick Fitzgerald
5fdd5d7236
Bug 1277338 - Part 5: Stop doing the old `typedef struct` C thing in jsapi.h; r=sfink
2017-04-13 13:22:20 -07:00
Nick Fitzgerald
78e0a46831
Bug 1277338 - Part 4: Tell autospider.py to use as many parallel jobs as we have logical cores; r=sfink
...
This is not a new external Rust crate dependency for m-c since Servo already
depends on `num_cpus`.
2017-04-13 13:22:20 -07:00
Nick Fitzgerald
4fa7679d42
Bug 1277338 - Part 3: Make JS::Rooted and JS::PersistentRooted share the same MaybeWrapped<T> definition; r=sfink
...
They were previously using duplicate definitions and this DRYs them up. This is
needed because bindgen can't understand `mozilla::Conditional`, and so we want
to replace `MaybeWrapped` with something a little simpler when doing bindings
generation, and its easier if we don't have to repeat our desired replacement as
well.
2017-04-13 13:22:20 -07:00
Nick Fitzgerald
34f4a8d184
Bug 1277338 - Part 2: Refactor CallArgs to avoid zero-sized base classes; r=sfink
...
Zero-sized base classes are a particular pain point for bindgen. When used as a
base class they can be truly zero sized, but when used directly they have to
have a byte inserted to enable C++'s distinct-objects-have-distinct-addresses
rule. Bindgen could generate two different struct definitions for such cases,
but then users need to know which to use at which time and its simpler to just
avoid zero sized base classes.
2017-04-13 13:22:20 -07:00
Tom Schuster
e394e3fa03
Bug 1344469 - Test. r=jandem
2017-04-13 22:17:57 +02:00
Tom Schuster
366ed88444
Bug 1344469 - Part 5 - CacheIR HasOwn in Ion. r=jandem
2017-04-13 22:17:57 +02:00
Tom Schuster
402984f863
Bug 1344469 - Part 4 - Megamorphic stub. r=jandem
2017-04-13 22:17:57 +02:00
Tom Schuster
f86e200a7b
Bug 1344469 - Part 3 - CacheIR for HasOwn with baseline support. r=jandem
2017-04-13 22:17:57 +02:00
Tom Schuster
db989e29b9
Bug 1344469 - Part 2 - Baseline fallback support for HasOwn. r=jandem
2017-04-13 22:17:56 +02:00
Tom Schuster
dbbf1e0502
Bug 1344469 - Part 1 - Add JSOP_HASOWN to Interpreter and BytecodeEmitter. r=jandem
2017-04-13 22:17:56 +02:00
Wes Kocher
20dd5f52c2
Merge m-c to autoland, a=merge
2017-04-13 17:35:34 -07:00
Tooru Fujisawa
50b68cf001
Bug 1343158 - Restore stack trace for async function after await. r=jimb
2017-04-12 23:33:25 +09:00
Jon Coppeard
3b3c2d1336
Bug 1354480
- Sweep compartment's template literal map r=sfink
2017-04-12 10:02:32 +01:00
Jon Coppeard
93196961b0
Bug 1337578 - Mark atoms when cloning functions r=bhackett
2017-04-12 10:00:45 +01:00
Jon Coppeard
1797b2399a
Bug 1355065 - Remove unused read barrier API r=jandem
2017-04-12 09:58:47 +01:00
Phil Ringnalda
b35f2c4c2b
Backed out 3 changesets (bug 1348134) for ASan leaks
...
CLOSED TREE
Backed out changeset 1dc3aef24017 (bug 1348134)
Backed out changeset 536a322e2985 (bug 1348134)
Backed out changeset 5f6017c9156d (bug 1348134)
2017-04-11 19:13:18 -07:00
Shu-yu Guo
ac16579fb9
Bug 1348134 - Pin chars returned from ScriptSource as an analog to Rooted. (r=jonco)
2017-04-11 15:27:23 -07:00
Shu-yu Guo
0af3fba385
Bug 1348134 - Handle compression tasks with major GCs instead of eagerly. (r=sfink,jonco)
2017-04-11 15:27:23 -07:00
Shu-yu Guo
b30239713c
Bug 1348134 - Stop eagerly compressing ScriptSources. (r=jonco)
2017-04-11 15:27:23 -07:00
Sebastian Hengst
4760939ddc
Backed out changeset c30eae661333 (bug 1352449) for failing non-unified spidermonkey build. r=backout
2017-04-11 20:10:40 +02:00
Petr Sumbera
f8cc0820ce
Bug 1352449 - JSErrorReport::initBorrowedLinebuf should be called with aligned pointer for char16_t. r=arai
2017-03-31 08:15:47 -07:00
Petr Sumbera
981771259d
Bug 1353050 - WasmSignalHandlers.cpp should use __sun instead of SOLARIS. r=luke
2017-04-03 08:48:27 -07:00
André Bargull
5a40a50d0e
Bug 1355399 - Switch property retrieval in Async-from-Sync Iterator prototype methods. r=arai
...
--HG--
extra : rebase_source : 34f909d7399fa36dbd6add65d9c650c72501a696
2017-04-11 15:08:47 +02:00
André Bargull
38c4aba29d
Bug 1355400 - Check for-await loop uses for-of loop syntax. r=arai
...
--HG--
extra : rebase_source : 1598f3e6e012333073278f23e67aeb00a46e2782
2017-04-11 14:56:09 +02:00
Tooru Fujisawa
df77d281bb
Bug 1354554 - Remove iterator result object from the stack and place IteratorNext at the top of the loop to avoid having unnecessary values at the backedge. r=shu
2017-04-12 00:43:42 +09:00
Benjamin Bouvier
f5ec5d74c8
Bug 1340219: Move AddressOf and dependencies to WasmRuntime.cpp; r=luke
...
MozReview-Commit-ID: 4CdccAcmXSJ
--HG--
extra : rebase_source : 05c2c75155c106603651a2860d6e76552c6e60aa
2017-03-29 19:49:03 +02:00
Benjamin Bouvier
3d88cb8e52
Bug 1340219: Baldr: Make calls to builtin imports fast in wasm; r=luke
...
MozReview-Commit-ID: KgPyAcdSlRj
--HG--
extra : rebase_source : de7a21b5cb0ab9e5ec3a1db96e317f3d0ce1f622
2017-04-10 13:43:59 +02:00
Sebastian Hengst
449a337e7b
Backed out changeset 1bd354390f12 (bug 1329923) for timing out in devtools' browser_markers-cycle-collection.js and browser_perf-button-states.js and xpcshell's test_profiler_activation-02.js. r=backout on a CLOSED TREE
2017-04-11 14:56:12 +02:00
Benjamin Bouvier
680f9a05c8
Bug 1353352: Always flush constant pools at the end of stubs; r=luke
...
MozReview-Commit-ID: 8t597CFnKUz
--HG--
extra : rebase_source : 47ab1689381f026f4f4f955afc6bc5a724becf91
2017-04-04 16:11:44 +02:00
Hannes Verschore
66c91dc003
Bug 1329923: IonMonkey - Emit profiler markers for finishing ion compilation and discarding code, r=jandem
2017-04-11 12:06:41 +02:00
Hannes Verschore
392eebe5d8
Bug 1348777: IonMonkey - Only trim out JSFunctions from the inline property table, r=jandem
2017-04-11 12:06:39 +02:00
Carsten "Tomcat" Book
ee9da45454
merge mozilla-inbound to mozilla-central a=merge
2017-04-11 10:17:24 +02:00
Phil Ringnalda
d25edd4d4f
Bug 1351188 - Disable test262 String.prototype.normalize tests when normalize isn't available, r=shu
2017-04-10 18:53:24 -07:00
Wes Kocher
5eabc03c18
Merge m-c to autoland a=merge
2017-04-10 16:55:21 -07:00
Sebastian Hengst
1828ea89ca
Backed out changeset 7fdcabdbb675 (bug 1024669) for failing mda, GTest and talos jobs. r=backout on a CLOSED TREE
2017-04-10 19:05:44 +02:00
André Bargull
a39805a74b
Bug 1353774 - Module namespace objects now call OrdinaryDelete when deleting a symbol-valued property key. r=jonco
...
--HG--
extra : rebase_source : f378044565b9174853f29266e7e37b7620111e57
extra : histedit_source : 9606f7b3f79714b971b44183ef753faf77a04661
2017-04-10 13:30:00 +02:00
André Bargull
4bd07de113
Bug 1345868 - Don't assert when calling getModuleLoadPath in workers. r=jonco
...
--HG--
extra : rebase_source : ac29f323d2f83ca3319f5225068693bb57cdc575
extra : histedit_source : d31b170b9d2f0356d52a953cb470ef0816fdf524
2017-04-10 13:29:50 +02:00
André Bargull
ca99b3847e
Bug 1355025 - Directly return result instead of using out-param in BytecodeEmitter::isRestParameter. r=arai
...
--HG--
extra : rebase_source : d548ae7f8f0c608016eff779336850b5c4319051
extra : histedit_source : be38081050d1fe36902b1ac09d878b0410a5a24a
2017-04-10 13:17:03 +02:00
André Bargull
8d6ae750b4
Bug 1325696 - Remove unused function exports to self-hosted global. r=till
...
--HG--
extra : rebase_source : 955a5a9e1bbf82c9e16e58239f8930eae93eecb4
extra : histedit_source : 644ce5389dc42d1f7d18a2ae35633c8103b4996b
2017-04-10 13:17:00 +02:00
André Bargull
e177aa78c9
Bug 1353797 - Remove unused DataViewObject::notifyBufferDetached(JSObject*). r=evilpie
...
--HG--
extra : rebase_source : ff975f2dd4ef1aefc9cd0ba0ce93434912d8d156
extra : histedit_source : 821cdef7e9dd0da0821ef6a2c1b5ba3d41dd6a07
2017-04-10 13:16:58 +02:00
André Bargull
1810ed04d8
Bug 1338126 - Rename compound HasProperty+GetProperty from GetElement to HasAndGetElement. r=evilpie
...
--HG--
extra : rebase_source : 9ac51201b6798ed4c22feed0d2e67c768e841e43
extra : histedit_source : 18cb79a5b7cc4fdfd5a69d91442fd7a8ed152c25
2017-04-10 13:16:55 +02:00
André Bargull
006bef6c2d
Bug 1341684 - Remove unused local variable in BytecodeEmitter::setOrEmitSetFunName. r=arai
...
--HG--
extra : rebase_source : c19eaaeb1cd1b0429baf3d72bfffb1b7970166c5
extra : histedit_source : ad30728faf09ffab9b521c1022905bb53d825e1b
2017-04-10 11:11:42 +02:00
Jon Coppeard
938a5a98b1
Bug 1355050 - Root the RegExpShared in RegExpMacroAssembler r=sfink
2017-04-13 10:19:10 +01:00
Jon Coppeard
964b3e4c25
Bug 1341026 - Always initialise nursery data structures even if size is under one chunk r=jandem
2017-04-13 10:19:10 +01:00
Chris Peterson
1734c58fc1
Bug 1355699 - Suppress -Wunused-private-field warning-as-error in js/src/wasm/WasmTypes.h. r=luke
...
This clang warning-as-error (from bug 1334504) breaks the SpiderMonkey ARM Simulator Build on macOS. By changing member variable `padding_` from private to protected, clang will no longer warn because it doesn't know whether some derived class might actually use `padding_`.
js/src/wasm/WasmTypes.h:1522:11: warning: private field 'padding_' is not used [-Wunused-private-field]
MozReview-Commit-ID: LB3yoYQCFj5
--HG--
extra : rebase_source : 948daaa2e3bb0b708670596240effa9a0730f443
extra : amend_source : c500f7d27dcb438ec928fa0b908cef7967dacfc0
2017-04-10 23:29:54 -07:00
Jeff Walden
a7e3398ab6
Bug 1351107 - Remove the ParserBase constructor's unused Parser<SyntaxParseHandler>* argument. r=arai
2017-03-31 15:37:41 -07:00
Jeff Walden
5ccc883452
Bug 1351107 - Require various ParseHandler function that create a Node implicitly using the current position, to instead use a caller-provided position. r=arai
2017-04-05 13:30:46 -07:00
Jeff Walden
e197d49634
Bug 1351107 - Add a ParseHandler function for the body in functions with expression bodies, that determines its position from the expression node. r=arai
2017-03-30 16:59:12 -07:00
Jeff Walden
e5836e2541
Bug 1351107 - Move a few handler-agnostic functions out of Parser into ParserBase. r=arai
2017-03-27 15:44:57 -07:00
Jeff Walden
472e9f0dd8
Bug 1351107 - Move the core elements of error/warning reporting out of TokenStream into a new ErrorReporting.{cpp,h} API. r=arai
2017-03-27 15:44:46 -07:00
Jeff Walden
c8b32926b9
Bug 1351107 - Move a few functions out of TokenStream, into TokenStreamBase, as they don't depend on the type of character TokenStream processes. r=arai
2017-03-27 13:13:19 -07:00
Johannes Schulte
ff5d389a1d
Bug 1325358 - Reuse stack-slots, that we couldn't pop, for spilling in CacheIR. r=jandem
2017-03-19 22:02:51 +01:00
Wes Kocher
dd8c316d53
Merge m-c to inbound, a=merge
2017-04-12 18:24:24 -07:00
Tooru Fujisawa
6550d549d5
Bug 1343158 - Restore stack trace for async function after await. r=jimb
2017-04-12 23:33:25 +09:00
Shu-yu Guo
1565fca250
Bug 1348134 - Pin chars returned from ScriptSource as an analog to Rooted. (r=jonco)
2017-04-12 14:13:21 -07:00
Shu-yu Guo
9ca2bfcb81
Bug 1348134 - Handle compression tasks with major GCs instead of eagerly. (r=sfink,jonco)
2017-04-12 14:13:21 -07:00
Shu-yu Guo
8f1a38f1dd
Bug 1348134 - Stop eagerly compressing ScriptSources. (r=jonco)
2017-04-12 14:13:20 -07:00
Iris Hsiao
05ad633169
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Andrew McCreight
fe0bcc3a40
Bug 1338272 - Require that the return value of MaybeSetPendingException is used. r=bz
...
Most of the time, the return value of this method should be checked,
because behavior should depend on whether or not an exception is
thrown. However, if it is called immediately after a throw it doesn't
need to be checked because it will always return true. bz said there
is no public API that lets you assume there is an exception because it
would be "too easy to misuse".
MozReview-Commit-ID: CqyicBbcNjW
--HG--
extra : rebase_source : a5b74ba88a927a90d491ceb8f0b750a67f62b0f4
2017-02-14 16:17:02 -08:00
Mike Hommey
b1220370d9
Bug 1354395 - Always bind symbols at load time for ctypes libraries. r=bsmedberg
...
When symbols are not bound at load time, missing symbols can lead to
NULL derefs or jumps to 0x0 at runtime, crashing the process running
the corresponding JS code, which is rather undesirable. So, prevent
libraries that have missing symbols to load at all through ctypes.
--HG--
extra : rebase_source : e6a8162621dd9c5df410d9eec4224c7e79ea9819
2017-04-07 12:07:32 +09:00
Mike Hommey
5fc0411975
Bug 1354395 - Update sixgill to a rebuild that links against GMP statically. r=sfink
...
The mercurial revision of sixgill listed in the manifest doesn't exist,
so I took what looks like corresponds to the last change to the tooltool
manifests, in order to avoid any other difference than GMP linkage.
This was built manually on a one-click-loaner.
--HG--
extra : rebase_source : 5ea830e48a6424a6ded9beab0628d0e562251c47
2017-04-11 17:28:10 +09:00
Andrew McCreight
7125a27450
Bug 1356799, part 4 - Remove unused argument to ReadScript. r=mrbkap
...
MozReview-Commit-ID: I5Jf0Fan7VN
--HG--
extra : rebase_source : d0818725171c7d020dc4226282d053ac43565abe
2017-04-14 16:43:08 -07:00
Andrew McCreight
fcd6a8a00e
Bug 1356799, part 3 - Handlify the target argument to ReadScript{,Async}. r=mrbkap
...
MozReview-Commit-ID: GOodGQ647qI
--HG--
extra : rebase_source : ab53decffb8193837223e01b205bae9d94cc17bb
2017-04-14 16:35:34 -07:00
Andrew McCreight
ad47781af1
Bug 1356799, part 2 - Don't use JS:: for handle types in subscript loader. r=mrbkap
...
Also, be consistent with the rest of the code and use a handle
typedef in one place.
MozReview-Commit-ID: KY3cnLemoUl
--HG--
extra : rebase_source : 4c3ae2750c868b5401a686dd164adbd04b45a0b5
2017-04-15 06:47:07 -07:00
Andrew McCreight
b38f79c2ac
Bug 1356799, part 1 - Use one line per arg for methods with many args in subscript loader. r=mrbkap
...
MozReview-Commit-ID: BPZp6I0LSBH
--HG--
extra : rebase_source : 635c21fdb76a6fc78f41348a01c95d4428262e9d
2017-04-15 06:44:35 -07:00
Sebastian Hengst
d3357a0457
Backed out changeset 391306755ce6 (bug 1339395) for failing Linux cgc's wasm-12.js. r=backout on a CLOSED TREE
2017-04-28 20:31:35 +02:00
Sebastian Hengst
badebfc93f
Backed out changeset c842e4b4dcb6 (bug 1339395)
2017-04-28 20:30:34 +02:00
Sebastian Hengst
312a73344f
Backed out changeset b6b106f6bbb5 (bug 1339395)
2017-04-28 20:30:29 +02:00
Sebastian Hengst
e2512bfdb0
Backed out changeset 69c6bbd9a508 (bug 1339395)
2017-04-28 20:30:25 +02:00
Sebastian Hengst
368003fcb4
Backed out changeset 11af11887bad (bug 1339395)
2017-04-28 20:30:20 +02:00
Sebastian Hengst
1bee09a437
Backed out changeset 09433b48aded (bug 1339395)
2017-04-28 20:30:15 +02:00
Sebastian Hengst
cd3661aeb1
Backed out changeset 410ac5a97d5e (bug 1339395)
2017-04-28 20:30:11 +02:00
Steve Fink
26e9c465db
Backed out changeset 3ed8f64c76a5 (bug 1322560) on a CLOSED TREE for rebase bustage.
...
--HG--
extra : rebase_source : 3a9db78341e2729d37d40cdd49f9264decf20cc2
2017-04-28 11:13:17 -07:00
Steve Fink
f180421ce0
Backed out changeset 86277c75f5f7 (bug 1322560)
...
--HG--
extra : rebase_source : 7c0cc4b70ec105a50d73099d29626d73d98fdb05
2017-04-28 11:13:15 -07:00
Steve Fink
84742375b0
Backed out changeset 4dee851a0d45 (bug 1322560)
...
--HG--
extra : rebase_source : ef09906aaa98d4cb8a005d831ac887b6b24f11c1
2017-04-28 11:13:14 -07:00
Steve Fink
f4f321aea0
Backed out changeset 3b458dc06af4 (bug 1322560)
...
--HG--
extra : rebase_source : d669373965fefb87266c44759b8714297d6b3960
2017-04-28 11:13:11 -07:00
Steve Fink
2d8b4d0111
Backed out changeset 9c91d92a0215 (bug 1322560)
...
--HG--
rename : js/src/vm/JSONPrinter.cpp => js/src/jit/JSONPrinter.cpp
rename : js/src/vm/JSONPrinter.h => js/src/jit/JSONPrinter.h
extra : rebase_source : 6ea4cd041d6333c8c04264ae3946c41c089874a5
2017-04-28 11:13:09 -07:00
Steve Fink
9a76c49432
Backed out changeset a8668eecdab4 (bug 1322560)
...
--HG--
extra : rebase_source : bf8ece4f5c567c035fac48bed39f2013288d9384
2017-04-28 11:13:08 -07:00
Steve Fink
e60a602838
Backed out changeset 2cd1662bcc5b (bug 1322560)
...
--HG--
extra : rebase_source : 02c2b7d8f2f907afd22c2fe9516933f9c2678e4f
2017-04-28 11:13:06 -07:00
Steve Fink
3574873023
Bug 1322560 - Convert GC statistics over to JSONPrinter
...
--HG--
extra : rebase_source : 4d9c567f138c6c45d6e0437460bbf56394acec2e
2017-04-25 20:40:52 -07:00
Steve Fink
31f7ee1be7
Bug 1322560 - Implement TimeDuration property in JSONPrinter
...
--HG--
extra : rebase_source : 15bfe9c8e9545f72520fa66d17d6e51d947e87e4
2017-04-25 13:38:43 -07:00
Steve Fink
180b583688
Bug 1322560 - Refactor js::jit::JSONPrinter -> js::JSONPrinter, r=jonco
...
--HG--
rename : js/src/jit/JSONPrinter.cpp => js/src/vm/JSONPrinter.cpp
rename : js/src/jit/JSONPrinter.h => js/src/vm/JSONPrinter.h
extra : rebase_source : 3763a20af65b64b6d51d48ef7d662c6cf9a6af56
2017-04-25 13:46:04 -07:00
Steve Fink
fb3b503029
Bug 1322560 - Report GC major/minor numbers in JSON, r=jonco
...
--HG--
extra : rebase_source : 914da4d5cb8b47f553d079c77b5ba6815fb6d0d7
2017-04-25 13:24:19 -07:00
Steve Fink
29642b93be
Bug 1322560 - Add APIs for retrieving major GC timing info
...
--HG--
extra : rebase_source : ca6176bc7af4a71521f416aa4a70230aeee90ec0
2017-04-26 13:48:09 -07:00
Steve Fink
58e00febab
Bug 1322560 - const-ify gc::Statistics API
...
--HG--
extra : rebase_source : 9934b1a814dcac52d544e8e3c3cc1bd6f01c52c9
2017-04-24 12:01:10 -07:00
Steve Fink
8fc8550db2
No bug - Add comment, change comment format. DONTBUILD
...
--HG--
extra : rebase_source : c3383baf2c8b64a7c290b9f75860edd9ad45c8c6
2017-04-24 10:43:07 -07:00
André Bargull
2d4494a028
Bug 1358246: Report syntax error for stray "async" keyword in object literal property name. r=shu
2017-04-28 16:34:16 +02:00
André Bargull
a398717582
Bug 1354974: Handle array indices greater than 2^31-1 when collecting indices for Array.prototype.slice. r=jandem
2017-04-28 16:34:12 +02:00
Sebastian Hengst
b88f3ed19d
Backed out changeset 884baa5893d6 (bug 1317383) for failing web-platform-test _mozilla/wasm/jsapi.js.html and tests in other suites. r=backout on a CLOSED TREE
2017-04-28 16:26:46 +02:00
Sebastian Hengst
040ef730d2
Backed out changeset eeb52543a6c6 (bug 1317383)
2017-04-28 16:24:24 +02:00
Sebastian Hengst
be430cc499
Backed out changeset 4bec9b3fa558 (bug 1317383)
2017-04-28 16:24:19 +02:00
Sebastian Hengst
26ff26cefb
Backed out changeset a7a5552662b2 (bug 1317383)
2017-04-28 16:24:15 +02:00
Sebastian Hengst
41bd3a8820
Backed out changeset 270383723cd0 (bug 1354974)
2017-04-28 16:24:10 +02:00
Sebastian Hengst
fc231089c0
Backed out changeset 999318b53733 (bug 1358246)
2017-04-28 16:24:05 +02:00
André Bargull
7d957d79e2
Bug 1339395 - Part 7: Remove no longer needed check for jsid strings which are indices from frontend. r=shu
2017-04-27 09:54:03 -07:00
André Bargull
9898505928
Bug 1339395 - Part 6: Update jit-tests now that object rest/spread properties are a thing. r=shu
2017-04-24 09:07:53 -07:00
André Bargull
d2e0006a26
Bug 1339395 - Part 5: Add Reflect.parse tests for object rest and spread properties. r=shu
2017-04-24 07:30:41 -07:00
André Bargull
8d13cd5c30
Bug 1339395 - Part 4: Enable test262 for object rest and spread properties. r=shu
2017-04-24 04:37:18 -07:00
André Bargull
87c05a0e2e
Bug 1339395 - Part 3: Add BytecodeEmitter support for object rest and spread properties. r=shu
2017-04-27 09:53:00 -07:00
André Bargull
e5e9704242
Bug 1339395 - Part 2: Add parser support for rest and spread object properties. r=shu
2017-04-28 00:41:31 -07:00
André Bargull
fb3e675bcb
Bug 1339395 - Part 1: Align parse method for object literals to match array literals. r=shu
2017-04-24 04:33:45 -07:00
André Bargull
63ce5b51a0
Bug 1358246: Report syntax error for stray "async" keyword in object literal property name. r=shu
...
--HG--
extra : rebase_source : 67f5dbdefb41a7c67029b5736455143f77436e41
2017-04-22 03:27:05 -07:00
André Bargull
64ab7a5b1c
Bug 1354974: Handle array indices greater than 2^31-1 when collecting indices for Array.prototype.slice. r=jandem
...
--HG--
extra : rebase_source : 833f4df43a4f67cb925511546414ff0b6e5a128a
2017-04-26 09:25:34 -07:00
André Bargull
5b08afc0d4
Bug 1317383 - Part 4: Add step references to TypedArray constructor methods. r=evilpie
...
--HG--
extra : rebase_source : 37f5c325018f47ceb1416ab73bdff478537633b1
2017-04-26 05:31:21 -07:00
André Bargull
a039b90d30
Bug 1317383 - Part 3: Use ToIndex when TypedArray constructor is called with ArrayBuffer (ES2017). r=evilpie
...
--HG--
extra : rebase_source : 787207bef06d541fb8d553de5f95be8c00346912
2017-04-25 09:36:00 -07:00
André Bargull
520937839b
Bug 1317383 - Part 2: Use ToIndex when constructing TypedArray with length argument (ES2017). r=evilpie
...
--HG--
extra : rebase_source : d60ffa2f7677deec6269a0df245d6a574966f0a7
2017-04-25 09:35:46 -07:00
André Bargull
543745e3f3
Bug 1317383 - Part 1: Move NonStandardToIndex to SIMD.cpp. r=evilpie
...
--HG--
extra : rebase_source : 937ca12cddea58843b4c3976047359fdbc3abbac
2017-04-25 09:28:45 -07:00
Tom Schuster
bc40ee641e
Bug 1354527 - Recover the iterator object when closing during exception handling. r=jandem
2017-04-28 14:21:06 +02:00
Jan de Mooij
f480e9ecdf
Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco
...
The patch makes the following proxy changes:
* The number of slots in ProxyValueArray is now dynamic and depends on the number of reserved slots we get from the Class.
* "Extra slots" was renamed to "Reserved slots" to make this clearer.
* All proxy Classes now have 2 reserved slots, but it should be easy to change that for proxy Classes that need more than 2 slots.
* Proxies now store a pointer to these slots and this means GetReservedSlot and SetReservedSlot can be used on proxies as well. We no longer need GetReservedOrProxyPrivateSlot and SetReservedOrProxyPrivateSlot.
And some changes to make DOM Proxies work with this:
* We now store the C++ object in the first reserved slot (DOM_OBJECT_SLOT) instead of in the proxy's private slot. This is pretty nice because it matches what we do for non-proxy DOM objects.
* We now store the expando in the proxy's private slot so I removed GetDOMProxyExpandoSlot and changed the IC code to get the expando from the private slot instead.
2017-04-28 14:12:28 +02:00
Ted Campbell
e98f34553b
Bug 1354560 - Fix IONFLAGS=help message r=h4writer
...
MozReview-Commit-ID: 8O5vDfuxpaa
--HG--
extra : rebase_source : 1df0b9acae9eb6391398511f1b3f226f2e6288f3
2017-04-07 10:51:28 -04:00
André Bargull
32138a6ea3
Bug 1318403 - Part 9: Suppress rooting analysis when calling u_hasBinaryProperty. r=sfink
2017-04-09 17:00:29 +02:00
André Bargull
f4761e33e6
Bug 1318403 - Part 8: Generate Unicode resources to include code point names. r=Waldo
2017-03-13 12:30:39 +01:00
André Bargull
ee5f1c8842
Bug 1318403 - Part 7: Add code point names in generated Unicode sources. r=Waldo
2017-03-13 13:29:30 +01:00
André Bargull
1af7320d66
Bug 1318403 - Part 6: Update test262 exclusion list. r=Waldo
2017-04-06 10:22:45 +02:00
André Bargull
27f90592c2
Bug 1318403 - Part 5: Reimplement String.prototype.toLocale{Lower,Upper}Case per ECMAScript Intl specification. r=Waldo
2017-04-06 10:17:39 +02:00
André Bargull
7a7a2540ea
Bug 1318403 - Part 4.3: Move duplicate code in ToUpperCase to new helper method. r=Waldo
2017-04-06 10:16:33 +02:00
André Bargull
9b2c99ea6f
Bug 1318403 - Part 4.2: Use realloc instead of malloc when resizing a newly created string buffer. r=Waldo
2017-04-06 10:13:00 +02:00
André Bargull
f68188a9e5
Bug 1318403 - Part 4.1: Handle special casing characters in String.prototype.to(Lower|Upper)Case. r=Waldo
2017-04-06 10:11:05 +02:00
André Bargull
de7cc038aa
Bug 1318403 - Part 3: Recreate files created through make_unicode to include special casing info. r=Waldo
2017-03-08 09:26:00 -08:00
André Bargull
b0efec259f
Bug 1318403 - Part 2: Update make_unicode.py to process SpecialCasing.txt. r=Waldo
2017-03-08 11:33:21 -08:00
André Bargull
d60e6ebc46
Bug 1318403 - Part 1.2: Recreate files created through make_unicode. r=Waldo
2017-03-08 09:12:48 -08:00
André Bargull
6dd1142a0e
Bug 1318403 - Part 1.1: Reduce code duplication in make_unicode. r=Waldo
2017-03-08 09:10:50 -08:00
André Bargull
933c665eb2
Bug 1346079: Update length of function returned from DateTimeFormat.prototype.format to match latest spec. r=gandalf
2017-04-06 14:26:10 +02:00
André Bargull
f97c82453a
Bug 1354529: Don't set constructor-flag for generator functions created through GeneratorFunction intrinsic. r=arai
2017-04-07 15:21:45 +02:00
André Bargull
b719cb0993
Bug 1354212: Fix source representation for async generators created through AsyncGenerator intrinsic. r=arai
2017-04-07 16:02:11 +02:00
André Bargull
f2c723fa8a
Bug 1353693: Correct parsing of async generator methods. r=arai
2017-04-09 11:59:26 +02:00
Tooru Fujisawa
74eb2f2ba5
Bug 1352317 - Output the kind of string in gc edges log. r=jandem
2017-04-09 17:52:45 +09:00
Jan de Mooij
a548d4c9cf
Bug 1354582 - Support non-singleton functions in IonBuilder::getSingleCallTarget. r=evilpie
...
--HG--
extra : rebase_source : 6b34a33e93096a77bcf91b2df56a8070fe5b100a
2017-04-08 19:49:37 +02:00
Kris Maglione
d1ada5659d
Bug 1353150: Add tests for chrome Xray named element property access. r=bz
...
MozReview-Commit-ID: 3Wyr8mkgE2c
2017-04-06 21:32:47 -07:00
Lars T Hansen
823fdb1a4e
Bug 1353347 - wasm baseline, properly chop int32 constants to 32 bits. r=luke
...
--HG--
extra : rebase_source : 96072d01abbeba842a316b69bf014623adeb465f
2017-04-07 13:12:20 +02:00
Phil Ringnalda
a93a258e37
Backed out changeset 35e0a23e1c89 (bug 1346012) for mass crashes in js::IsDeadProxyObject
...
CLOSED TREE
2017-04-07 20:00:22 -07:00
Till Schneidereit
0fd18cce1a
Bug 1346012 - Handle dead object wrappers in more places in Promise code. r=shu
...
MozReview-Commit-ID: HlmKwoMub9D
2017-04-07 19:39:27 -04:00
Jeff Walden
655729cc71
Bug 1353690 - Properly exclude |await| from consideration as a |let| variable name in async functions, so that a newline between the two separates them into two distinct expressions. r=shu
...
--HG--
extra : rebase_source : f9531545a1c5d64b3363557eb1d027df38e4cb8b
2017-04-06 18:48:11 -07:00
Jeff Walden
a9a0340296
Bug 1351107 - Split reportCompileErrorNumberVA into separate functions for unconditionally reporting warnings and unconditionally reporting errors. r=arai
...
--HG--
extra : rebase_source : 55113d41ca779ae9627ac5e1fa3e0fb54b25e09a
2017-03-23 19:13:51 -07:00
Jeff Walden
f4e489883c
Bug 1351107 - Move TokenStream::reportAsmJSError into asmjs code and out of TokenStream. r=arai
...
--HG--
extra : rebase_source : 87827be9b9de9df59bda9b526b328f29cdb01fac
2017-03-27 12:28:22 -07:00
Jeff Walden
a30ff0f539
Bug 1351107 - Pass error metadata to the error-reporting function, rather than having that function do so itself. r=arai
...
--HG--
extra : rebase_source : a6586ba5ba5b8ce6e65bc551796dc4e665fdf3dd
2017-03-22 18:04:20 -07:00
Jeff Walden
306391e5fb
Bug 1351107 - Simplify some of the computation of offset/filename in TokenStream::reportCompileErrorNumberVA. r=arai
...
--HG--
extra : rebase_source : d0ef5d8e6725a8b3d76cecd56aec876c121799cf
2017-03-20 13:49:47 -07:00
Jeff Walden
5685b78ead
Bug 1351107 - Split out all source-text-character-type-agnostic functionality in TokenStream into a TokenStreamBase class. r=arai
...
--HG--
extra : rebase_source : fe30c5167ba446bb1c218ff99b67a0744cfd8dac
2017-03-20 13:35:07 -07:00
Jeff Walden
38f47eea8b
Bug 1351107 - Use UniquePtr-centric functions for creating objects in HelperThreads code, rather than using js_new and passing that raw pointer to the UniquePtr constructor. r=arai
...
--HG--
extra : rebase_source : 452200c511aa3a6bf5af49cccf7155ebac3ed827
2017-03-22 16:25:01 -07:00
Bill McCloskey
172e502215
Revert "Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)"
...
This reverts commit ff10f4faedd42f13ed2899cf4ea05c47411aba95.
2017-04-07 14:23:06 -07:00
Lars T Hansen
c86b9cb593
Bug 1352681 - Make SAB rawBuffer refcounting for structured clone more sophisticated. r=sfink
...
--HG--
extra : rebase_source : f5c97970013daab78075e2fe68c9704cda7064cd
2017-04-03 14:18:15 +02:00
Lars T Hansen
d4b0fe7948
Bug 1352681 - Overflow checking on SAB reference count. r=sfink
...
--HG--
extra : rebase_source : 86549600fd1fc755c490546052e1bbd40326331d
2017-04-05 14:07:10 +02:00
André Bargull
939f6a46e5
Bug 1353692 - Don't allow function expression closure syntax for async functions. r=arai
...
--HG--
extra : rebase_source : 483a4db9741369ac151269858b5558ee0e17fba0
extra : histedit_source : 25ec39b19c6602b58ecf951d2e8d7be356851fdc
2017-04-07 14:09:40 +02:00
André Bargull
b9aa65af8c
Bug 1353775 - Update TypedArray.prototype.fill to perform ToNumber(value) only once. r=evilpie
...
--HG--
extra : rebase_source : dad7aa0d7033553b07070e703ace0aa43bc66a45
extra : histedit_source : 3b7e953cfd976a5d53d3af1baa51b67ed772fa98
2017-04-07 14:09:00 +02:00
André Bargull
73d053f9c2
Bug 1333621 - Throw when calling Intl.PluralRules as a function. r=gandalf
...
--HG--
extra : rebase_source : abd883cd42f5bbe8d65bbc845d27ea6315a46a7d
extra : histedit_source : 4d92cc13aaaa3e2d0c88d8865a26536ae96ca4f7
2017-04-06 13:41:07 +02:00
André Bargull
5923180124
Bug 1353649 - Update tzdata in ICU data files to 2017b. r=Waldo
...
--HG--
extra : rebase_source : 48f6ab3a2bc6c91a1b6cc7429dd1ac0cb12d68ff
extra : histedit_source : 9687446c9877953592b99dd51a6a4d22af874a70
2017-04-05 10:49:53 +02:00
Jan de Mooij
abc4d2f389
Bug 1353758 followup - Also purge external string cache after compacting GC. r=orange
...
--HG--
extra : rebase_source : 1459afd15f56909ab90796a40e0dc4a1b6ed8247
2017-04-07 13:03:53 +02:00
Jan de Mooij
546f01e711
Bug 1353758 - Move the external string cache into the JS engine and improve it. r=arai,bz
...
--HG--
extra : rebase_source : 6d57d70a837bbb284a2db889df34b886ae398a3f
2017-04-07 10:40:29 +02:00
Sebastian Hengst
4d0a4ac184
Backed out changeset 9a91cb4b12e5 (bug 1318403)
2017-04-06 15:23:33 +02:00
Sebastian Hengst
49afb2638d
Backed out changeset 3a6ac8fe8434 (bug 1318403)
2017-04-06 15:23:28 +02:00
Sebastian Hengst
849b75a782
Backed out changeset e32eeab1e231 (bug 1318403)
2017-04-06 15:23:23 +02:00
Sebastian Hengst
134a7bfc35
Backed out changeset 0a8e8e545554 (bug 1318403)
2017-04-06 15:23:18 +02:00
Sebastian Hengst
312ab71575
Backed out changeset c34970cf36e9 (bug 1318403)
2017-04-06 15:23:13 +02:00
Sebastian Hengst
7efc9665ca
Backed out changeset 23da062eab54 (bug 1318403)
2017-04-06 15:23:09 +02:00
Sebastian Hengst
a8f466a40b
Backed out changeset 26c080929f59 (bug 1318403)
2017-04-06 15:23:04 +02:00
Sebastian Hengst
2da3a9cf8e
Backed out changeset a9b7a65ca73a (bug 1318403)
2017-04-06 15:23:00 +02:00
Sebastian Hengst
690d448f4f
Backed out changeset 5b06ed0f1b18 (bug 1318403)
2017-04-06 15:22:55 +02:00
Sebastian Hengst
2472c53b3d
Backed out changeset 3043922c81c7 (bug 1318403)
2017-04-06 15:22:50 +02:00
Sebastian Hengst
9d8094268d
Backed out changeset c008acb08872 (bug 1318403)
2017-04-06 15:22:46 +02:00
André Bargull
b7d2677cf3
Bug 1318403 - Part 8: Generate Unicode resources to include code point names. r=Waldo
...
--HG--
extra : rebase_source : 0639428e16e2dde8b9db546ddd275131cfd3a84a
2017-04-06 10:23:19 +02:00
André Bargull
5583ed1d9c
Bug 1318403 - Part 7: Add code point names in generated Unicode sources. r=Waldo
...
--HG--
extra : rebase_source : 04077a7e66396c9e91228ddc092e4d045f35e032
2017-04-06 10:23:13 +02:00
André Bargull
e10c34d243
Bug 1318403 - Part 6: Update test262 exclusion list. r=Waldo
...
--HG--
extra : rebase_source : 058712224cb226e021185f721a64974ba1c18555
2017-04-06 10:22:45 +02:00
André Bargull
22c3e89a25
Bug 1318403 - Part 5: Reimplement String.prototype.toLocale{Lower,Upper}Case per ECMAScript Intl specification. r=Waldo
...
--HG--
extra : rebase_source : 40d22b8998a153ffccc3659888ea13e0c224b959
2017-04-06 10:17:39 +02:00