Carsten "Tomcat" Book
e64cd11ad7
merge fx-team to mozilla-central
2014-05-21 13:57:43 +02:00
Victor Porof
07986ca4cd
Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg
2014-05-20 15:25:25 -04:00
Jon Coppeard
1d203c9d72
Bug 929314 - Remove Handle::repoint() r=terrence
2014-05-20 10:57:03 +01:00
Jon Coppeard
f17bd34eff
Bug 988486 - Move verifier functions into GCRuntime r=terrence
2014-05-19 11:09:55 +01:00
Terrence Cole
e82db4c03a
Bug 1013531 - Clarify the naming of the rooting analysis supression guards; r=sfink
...
--HG--
extra : rebase_source : 95229e907222dd7335f92ae13dd83f1065eabf58
2014-05-28 17:34:36 -07:00
Brian Smith
43faa7abc2
Bug 1010634, Part 4: Fix signed/unsigned conversion warning in js/ProfilingStack.h, r=luke
...
--HG--
extra : rebase_source : 7abda28eb58b81fd59a3c7deb2207b22e2075702
2014-05-29 20:54:49 -07:00
Ryan VanderMeulen
1206378822
Backed out 2 changesets (bug 1016738, bug 1017150) for spikes in GC-related crashes.
...
Backed out changeset 93c5b9181c84 (bug 1016738)
Backed out changeset c3ce56241969 (bug 1017150)
2014-05-30 15:23:02 -04:00
Bill McCloskey
2bfdd537fd
Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco)
2014-05-30 07:46:12 -07:00
Terrence Cole
9900a0509a
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
...
--HG--
extra : rebase_source : 18c195a3a5897529275deb210bfa7f57f8e29bd8
2014-05-14 19:48:09 -07:00
Ryan VanderMeulen
cd4118e735
Backed out changeset 36bfb1d8b8fe (bug 1010655) for Cpp test crashes.
2014-05-16 14:52:13 -04:00
Terrence Cole
07a92341f3
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
...
--HG--
extra : rebase_source : 474ef235d747f9008f79b2ad0328ec1566b8c641
2014-05-14 19:48:09 -07:00
Luke Wagner
b1159b6282
Bug 1007383 - Include asm.js frames in JS::DescribeStack (r=jandem,robcee)
2014-05-15 12:30:45 -05:00
Ryan VanderMeulen
fed316d6b8
Backed out changeset ce34c13388f2 (bug 1007383) for crashtest failures.
2014-05-15 14:23:11 -04:00
Luke Wagner
20e7381038
Bug 1007383 - Include asm.js frames in JS::DescribeStack (r=jandem,robcee)
2014-05-15 12:30:45 -05:00
Dan Gohman
0085f65548
Bug 1004363 - SpiderMonkey: Eliminate unused functions. r=mjrosenb
2014-05-14 21:51:55 -07:00
Andrew McCreight
08ed56db1d
Bug 1009118 - Add isUnlimited to SliceBudget. r=jonco
2014-05-14 09:45:49 -07:00
Jan de Mooij
e7ac1c18d7
Bug 964915 part 1 - Remove cx argument from innerObject hook. r=efaust
2014-05-08 15:00:36 +02:00
Boris Zbarsky
e05955b899
Bug 1006718. Add some sanity static asserts about DOM object slot counts. r=peterv,jorendorff
2014-05-07 22:28:57 -04:00
Terrence Cole
458143c115
Bug 989414 - Access the store buffer through the chunk trailer; r=jonco
2014-05-01 09:26:12 -07:00
Terrence Cole
cb10cad45c
Backout 9a6b434b34be for mochitest-2 failures on a CLOSED TREE.
...
--HG--
extra : rebase_source : 84bb2205e9e9df143d3ba0b21127dd2030957c7d
2014-05-01 12:52:22 -07:00
Terrence Cole
07a0c66a89
Bug 989414 - Access the store buffer through the chunk trailer; r=jonco
...
--HG--
extra : rebase_source : 29c53eeb0dd0931f016dcfd91de42be00e02a946
2014-05-01 09:26:12 -07:00
Jon Coppeard
1216544376
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Nicholas Nethercote
910e605997
Bug 952650 (part 18) - Rename JSVAL_IS_SPECIFIC_BOOLEAN. r=till.
...
--HG--
extra : rebase_source : 73b6b9d92ca940249cdb1d6bdc71f9ee9bb498ec
2014-04-28 16:55:40 -07:00
Nicholas Nethercote
1c0602e423
Bug 952650 (part 16) - Remove JSVAL_TO_PRIVATE. r=till.
...
--HG--
extra : rebase_source : 603bb66a90484b488bedf1dd4da6935324c148c6
2014-04-28 16:01:31 -07:00
Nicholas Nethercote
278d02539e
Bug 952650 (part 15) - Remove JSVAL_TO_GCTHING. r=till.
...
--HG--
extra : rebase_source : c9df656012842c35f4a0e069168842b5e6c4d935
2014-04-28 16:01:30 -07:00
Nicholas Nethercote
049829fa60
Bug 952650 (part 14) - Remove JSVAL_IS_GCTHING. r=till.
...
--HG--
extra : rebase_source : 469430d481f5fdb14d49609d8460f9fcbc90927f
2014-04-28 16:01:30 -07:00
Nicholas Nethercote
1c5751ac95
Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till.
...
--HG--
extra : rebase_source : 450ba0261ef5a8546c81f9f645605e312585d6c6
2014-04-27 20:27:54 -07:00
Nicholas Nethercote
530542eecd
Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
...
--HG--
extra : rebase_source : 60dcaa2b778d3cf6eb7dc1a4949aab010ed8c130
2014-04-27 19:58:52 -07:00
Rodrigo Rodriguez Jr.
3a5329b969
Bug 952650 (part 11) - Remove JSVAL_TO_INT. r=njn.
...
--HG--
extra : rebase_source : 41923458bbf8fd957c9a57685df4969f1190bd9f
2014-04-27 19:55:08 -07:00
Rodrigo Rodriguez Jr.
75b31bf370
Bug 952650 (part 10) - Remove JSVAL_IS_NUMBER. r=njn.
...
--HG--
extra : rebase_source : eaef4276d665c9bb06eb695989fb4c3b08358069
2014-04-27 19:48:45 -07:00
Rodrigo Rodriguez Jr.
9a92d22f5a
Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
...
--HG--
extra : rebase_source : dc0c170914c2370c218cdbbe671d2a68628f5a87
2014-04-27 19:47:02 -07:00
Rodrigo Rodriguez Jr.
e987aa99bf
Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
...
--HG--
extra : rebase_source : 61ab9459c00849027498904863647e65453a1a43
2014-04-27 19:45:46 -07:00
Rodrigo Rodriguez Jr.
0e287e21ad
Bug 952650 (part 7) - Remove JSVAL_IS_BOOLEAN. r=njn.
...
--HG--
extra : rebase_source : 1ac334a052b7374dd9080d9bf89658e1f5d6168f
2014-04-27 19:44:05 -07:00
Rodrigo Rodriguez Jr.
d65b5ba4e5
Bug 952650 (part 6) - Remove JSVAL_IS_STRING. r=njn.
...
--HG--
extra : rebase_source : ebd55749447f9feea04a78ff7cc17ba2dd2c5cd0
2014-04-27 19:41:01 -07:00
Rodrigo Rodriguez Jr.
017da05366
Bug 952650 (part 5) - Remove JSVAL_TO_DOUBLE. r=njn.
...
--HG--
extra : rebase_source : b1d9ba218fd1126f486f686ec5754dfaedac8b3c
2014-04-27 19:38:31 -07:00
Rodrigo Rodriguez Jr.
350562fe28
Bug 952650 (part 4) - Remove JSVAL_IS_DOUBLE. r=njn.
...
--HG--
extra : rebase_source : 3c7065d9e487db70a1afed0a4143ae7b0cd23af9
2014-04-27 19:35:40 -07:00
Rodrigo Rodriguez Jr.
d4d3d322ef
Bug 952650 (part 3) - Remove JSVAL_TO_BOOLEAN. r=njn.
...
--HG--
extra : rebase_source : fbe97c23a4893b8c4c5641f41947f3a96f7111d3
2014-04-27 19:34:12 -07:00
Rodrigo Rodriguez Jr.
281223c92e
Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
...
--HG--
extra : rebase_source : 0ae81cd69dc13d944927de906abc656536b4d425
2014-04-27 19:32:05 -07:00
Rodrigo Rodriguez Jr.
d3fe3aaf5d
Bug 952650 (part 1) - Remove JSVAL_IS_NULL. r=terrence.
...
--HG--
extra : rebase_source : 83d1cdaf71260fd99b688c23303ceb2de7b00031
2014-04-27 19:30:51 -07:00
Terrence Cole
07d4801503
Bug 989414 - Implement BarrieredValue in terms of BarrieredPtr using GCMethods; r=jonco
...
--HG--
extra : rebase_source : 76557f521b48a546f185af6c0fcc14a4c7fad7e9
2014-04-25 14:18:18 -07:00
Nicolas B. Pierron
f2ea1dcb9f
Bug 990106 part 3 - Recover RInstructions during bailouts. r=jandem
2014-04-29 10:17:51 -07:00
Jon Coppeard
3e7f2297f0
Bug 1001359 - Store chunk location in the chunk trailer r=terrence DONTBUILD
2014-04-26 09:30:04 +01:00
Jon Coppeard
951dc3c11a
Backed out changeset 5c5a3cc08905 for wrong bugnumber, DONTBUILD
2014-04-26 09:37:56 +01:00
Jon Coppeard
5c137164c7
Bug 988950 - Store chunk location in the chunk trailer r=terrence
2014-04-26 09:30:04 +01:00
Jason Orendorff
4740c9dea6
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Jason Orendorff
e51a8c4a20
Bug 547140, part 1 - Remove JSRESOLVE_ASSIGNING. r=Waldo.
2014-04-25 16:11:00 -05:00
Nick Fitzgerald
9f0fc42c03
Bug 972045 - Add a compact representation for call stacks in SpiderMonkey. r=jimb
2014-04-24 17:25:00 -04:00
Ryan VanderMeulen
8b7b5cc3a2
Backed out changeset ace4dd426349 (bug 972045) for mochitest failures.
2014-04-24 15:10:44 -04:00
Nick Fitzgerald
56f6826f77
Bug 972045 - Add a compact representation for call stacks in SpiderMonkey. r=jimb
2014-04-24 10:04:00 -04:00
Shu-yu Guo
df7ee101da
Bug 716647 - Part 1: Introduce JS_OPTIMIZED_OUT magic for optimized out slots and teach Debugger about them. (r=jandem)
2014-04-24 01:59:36 -07:00
Terrence Cole
563d457634
Bug 807168 - Move GCMarker into gc/Tracer.h; r=jonco
...
--HG--
extra : rebase_source : 031495e6bb5510009eb871866e9f5e3beda24211
2014-04-16 16:26:33 -07:00
Terrence Cole
56f4a8bca3
Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
...
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Shian-Yow Wu
0eb9c68561
Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn
2014-04-16 19:26:41 +08:00
Shian-Yow Wu
dd3cc24cec
Bug 945152 - Part 1: Support mapped array buffer type. r=sfink
2014-04-16 19:26:39 +08:00
Boris Zbarsky
3ee63c971e
Bug 822442. Keep track of DOM proxies in TI, like other DOM objects, so we can do the same call/get/set optimizaations with them. r=efaust
2014-04-15 22:58:45 -04:00
Terrence Cole
ef5f219fda
Bug 995442 - Don't post-barrier non-objects in the browser; r=sfink
2014-04-11 14:29:14 -07:00
Kannan Vijayan
dffbe3fd21
Bug 993071 - Add optimization tier info to js profiler pseudostack entries. r=luke
2014-04-11 11:58:55 -04:00
Jason Orendorff
f25327fa9b
Bug 991036 - Improve temperamental assertion in js::jit::Label::~Label() when doing OOM testing. r=jandem.
...
--HG--
extra : rebase_source : 98b073ac3536b02b9e8740e61816ea3b9eddc96c
2014-04-08 12:52:24 -05:00
Kannan Vijayan
97de7a7ec6
Bug 993071 - Rename FunctionBoundary IR instructions to ProfilerStackOp. r=luke
2014-04-08 12:16:18 -04:00
Peter Van der Beken
9bbd30a4ac
Bug 990158 - Make inner windows use their wrapper cache. r=bz.
...
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Steve Fink
12001268c0
Bug 912456 - transferable MessagePorts, r=jorendorff
...
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Terrence Cole
12b5b02857
Bug 984101 - Expand SpiderMonkey's use of poisoning for diagnostics; r=jonco
...
--HG--
extra : rebase_source : 312db74b85c9b40db1ccfc98a96206d2e1381703
2014-03-20 14:38:50 -07:00
Jon Coppeard
92f0d66be8
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Terrence Cole
fdb0eed6c9
Bug 987666 - Remove the unused dynamic root analysis. r=sfink
2014-03-24 18:32:36 -04:00
Terrence Cole
d2700b6596
Bug 989035 - Track malloced slots attached to the nursery. r=njn
2014-03-27 22:52:02 -04:00
Ms2ger
0fc658f1e9
Bug 981371 - Fix a confused assertion in JSVAL_IS_OBJECT_IMPL (64-bits); r=luke
2014-03-27 21:05:13 +01:00
Christian Holler
e9d6b8b3c0
Bug 988097 - Allow oomAfterAllocations in non-debug builds. r=jandem
...
--HG--
extra : rebase_source : 8e9c7119bc24deb74e864e061984bf57e909c414
2014-03-27 19:15:22 +01:00
Christian Holler
5bde7cf144
Bug 964803 - Cleanup the JS OOM testing code. r=jandem
2014-03-26 00:31:54 +01:00
Birunthan Mohanathas
e1727be24a
Bug 845478 - Part 9: Remove JS_{CALLEE,ARGV,RVAL,SET_RVAL}. r=evilpie
2014-03-25 14:42:34 -04:00
Jon Coppeard
e6fbcd2690
Bug 959787 - Handlify some more GCing APIs r=sfink
2014-03-20 09:32:37 +00:00
Jan de Mooij
6be782b0c6
Bug 984836 - Rename StackFrame to InterpreterFrame. r=luke
2014-03-19 09:28:57 +01:00
Terrence Cole
0988607fd4
Bug 957723 - Decommit unused portions of the nursery; r=jonco
2014-01-08 13:43:55 -08:00
Terrence Cole
afd6da80fd
Backout ed7130b21a68 (Bug 957723) for SM(r) orange on a CLOSED TREE.
2014-03-17 11:42:57 -07:00
Steve Fink
0457c4af77
Bug 981809 - Postbarrier WeakMapPtr keys, r=terrence
...
--HG--
extra : rebase_source : 207e9ab48a03ec4fdfe314a8c2c6e6af95853d6b
2014-03-13 13:53:34 -07:00
Terrence Cole
16c2295e94
Bug 957723 - Decommit unused portions of the nursery; r=jonco
...
--HG--
extra : rebase_source : b4e5a0b55d1817d3fc312b4aed2abb4e5273b145
2014-01-08 13:43:55 -08:00
Jon Coppeard
bafb7ba32f
Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley
2014-03-17 16:17:58 +00:00
Jeff Walden
e402fbff37
Back out dd53db747a5e (bug 945152 part 2) to clear way for other fixing. Should reland in short order (before merge) after those other fixes land. r=backout
2014-03-14 16:38:07 -07:00
Jan de Mooij
2755ddacc9
Bug 981554 - Move allocator for optimized Baseline stubs from JitCompartment to JitZone. r=njn
...
--HG--
extra : rebase_source : 609881b6cf783805333454b876797ad5235bfecc
2014-03-14 19:13:08 +01:00
Shian-Yow Wu
50520fcec3
Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn
2014-03-13 14:32:16 +08:00
Jason Orendorff
d620ebbdda
Bug 980016 - Remove SpecialId. r=njn.
2014-03-10 16:32:21 -05:00
Luke Wagner
72a9042752
Bug 979541 - Remove nonLazyScript use in ArgumentsObject::elements (r=jandem)
...
--HG--
extra : rebase_source : 640ddf5af5d606a7ee40ee6189faaec244298b39
2014-03-05 14:49:36 -06:00
Jim Blandy
e48f244dea
Bug 969273: Move JSPrincipals-related types and functions to their own header. r=mrbkap
...
JSSubsumesOp seems to have gotten dragged into Class.h somehow, but it's
not a metaobject protocol type at all. It belongs with JSSecurityCallbacks
and friends, which together form a chunk that could be neatly abstracted.
2014-03-07 11:50:41 -08:00
Nicholas Nethercote
cf269be155
Backout 519787a56627 (bug 972712, part 6) and the follow-up 5c9a4a1f2c0b (bug 978227) because ASAN is complaining intermittently about the former. r=me.
...
--HG--
extra : rebase_source : 31e2b96c57703caf94f65fed1d0c007d6984421e
2014-03-05 14:19:28 -08:00
Kannan Vijayan
64dbdf9caf
Bug 976260 - Register javascript performance events with the profiler, second attempt at pushing. r=jandem
2014-03-03 14:36:08 -05:00
Bobby Holley
611c847a27
Bug 975419 - Add a JS::TenuredHeap<JSObject*> overload to TraceCallbacks. r=mccr8,terrence
2014-03-03 08:53:42 -08:00
Ryan VanderMeulen
1662c5c020
Backed out changesets 1b4b7d198185 and 8529b074a2f3 (bug 976260) for adding new rooting hazards.
...
CLOSED TREE
2014-02-28 16:04:49 -05:00
Daniel Holbert
dfd2033053
Bug 978188: Guard 'restartVerifier' member-var decl with the same #ifdef as its usage, to fix clang 'unused-private-field' warning. r=terrence
2014-02-28 12:51:08 -08:00
Kannan Vijayan
88eff64bd1
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 14:02:46 -05:00
Ed Morley
75251a8149
Backed out changeset 84663a25b44e (bug 976260) for compilation failures
2014-02-28 18:42:34 +00:00
Kannan Vijayan
853bcf6e79
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 13:22:03 -05:00
Nicholas Nethercote
b2db83feaf
Bug 972712 (part 6) - Report objects and shapes by their class. r=till.
...
--HG--
extra : rebase_source : aa42a16006a3ef180056836215d497dba0eae383
2014-02-26 18:35:48 -08:00
Nicholas Nethercote
27e6781bd9
Bug 972712 (part 4) - Report script sources in more detail. r=till.
...
--HG--
extra : rebase_source : b28fc8f4ff791966cb784e1c12def58927d3e3d3
2014-02-13 20:03:07 -08:00
Nicholas Nethercote
fdb45bb355
Bug 972712 (part 3) - Rework notable string reporting. r=till.
...
--HG--
extra : rebase_source : 274c2ee9beafca5e464234f37e894967d20abb25
2014-02-26 18:11:01 -08:00
Nicholas Nethercote
15dc791773
Bug 972712 (part 1) - Don't report short strings separately. r=till.
...
--HG--
extra : rebase_source : 631fe6137935cfb2fbfc3339406c5418d458ad38
2014-02-26 17:53:02 -08:00
Jan de Mooij
556e355bad
Bug 977538 - Disable PGO for CanonicalizeNaN. r=luke
...
--HG--
extra : rebase_source : 7be8e2eb69297cafa8e705c738e9ed814ad50308
2014-02-27 20:48:59 +01:00
Benjamin Bouvier
438e225871
Bug 939843: Required changes in Spidermonkey; r=mjrosenb
...
--HG--
extra : rebase_source : e629b045dfe460348c339ef0e7d301b67c6799fd
2014-02-27 16:23:11 +01:00
Luke Wagner
e3573fb7b1
Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz)
...
--HG--
extra : rebase_source : d9a784df61c00421c9a1e360f92ffc763bf49858
2014-02-25 09:43:14 -06:00
Terrence Cole
42bee7f6b4
Bug 919544 - Allow cached object allocation to GC; r=jandem
2014-02-01 12:04:03 -08:00
Terrence Cole
d09ef4dcaf
Bug 975947 - Fix generational GC's interaction with the barrier verifier; r=sfink
2014-02-24 15:08:05 -08:00
Nathan Froyd
cde7ebbe15
Bug 970498 - remove unnecessary padding in JSClass and js::Class; r=Waldo
2014-02-24 15:20:38 -05:00
Nathan Froyd
e7e68c5f36
Bug 970504 - make JS_CLASS_MEMBERS useful in more places; r=jorendorff
2014-02-24 15:08:57 -05:00
Jim Chen
dca2479fd2
Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa
2014-02-24 12:27:58 -05:00
Brian Hackett
3955bbd3b5
Bug 964057 - Share self hosted state between runtimes, r=till.
2014-02-21 16:54:25 -07:00
Terrence Cole
dda1d29077
Bug 969410 - Do not expose non-tenured addresses in JS_GetObjectId; r=sfink
...
--HG--
extra : rebase_source : dfa32a19df80b9ae5f9d7d535b141e50007c0149
2014-02-20 13:38:57 -08:00
Bobby Holley
f0b23970a3
Bug 973780 - Expose a wrapper for the internal WeakMap class outside of the engine. r=mccr8,terrence
2014-02-21 11:35:48 -08:00
Phil Ringnalda
01ad150169
Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
...
CLOSED TREE
2014-02-20 20:46:50 -08:00
Bobby Holley
b71db74ff5
Bug 973780 - Expose a wrapper for the internal WeakMap class outside of the engine. r=mccr8,terrence
2014-02-20 18:24:09 -08:00
Chris Peterson
4ace8887c7
Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke
2014-02-17 22:42:57 -08:00
Chris Peterson
d2c6598a97
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Daniel Holbert
c516662c22
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
8a8a0e2b81
Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke
2014-02-17 22:42:57 -08:00
Chris Peterson
58e6c13345
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Luke Wagner
5ac29476e6
Bug 936236 - Inline allocateSlots into caller and handlify (r=jonco)
2014-02-13 11:17:43 -06:00
Kannan Vijayan
21e7995fb4
Bug 952891 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff DONTBUILD
2014-02-13 14:29:00 -05:00
Kannan Vijayan
158468a425
Backed out changeset 45f374858666 (bug 852891) for bad commit message referencing wrong bug. DONTBUILD
2014-02-13 14:24:37 -05:00
Kannan Vijayan
d07b085e92
Bug 972087 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff
2014-02-13 14:20:27 -05:00
Terrence Cole
1716ba8f56
Bug 885954 - Add comments to barrier classes explaining our use of C++ move semantics; r=jimb
2014-02-07 10:03:21 -08:00
Jon Coppeard
fe4db66203
Bug 961091 - Add fewer store buffer entries when describing the stack r=terrence
2014-02-07 11:21:12 +00:00
Bobby Holley
8bf2c8aa3b
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Nicholas Nethercote
8ad98d5f7b
Bug 964238 (part 1) - Remove JSStableString and StableTwoByteChars. r=terrence.
...
--HG--
extra : rebase_source : 1859ce0b42661494fa13628551359a5a5d5663c0
2014-01-30 14:58:53 -08:00
Terrence Cole
6faab639f2
Bug 966040 - Simplify and minimize the allocation path for non-objects; r=jonco
2014-01-31 11:43:43 -08:00
Kyle Huey
d21c9ac055
Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent
2014-01-31 21:50:07 -05:00
Shu-yu Guo
40089fb9be
Bug 966181 - Rename ForkJoinSlice to ForkJoinContext. (r=pnkfelix)
2014-01-31 14:57:57 -08:00
Eric Faust
31541d75aa
Bug 924720 - Part 1: Implement IsProxy() using new JSClass flag. (r=jwalden)
2014-01-29 17:20:15 -08:00
Eric Faust
5790c2c1cd
Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden)
2014-01-29 17:20:15 -08:00
Chris Peterson
ac4837ccb1
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Chris Peterson
1b2b307e88
Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke
2014-01-24 19:57:58 -08:00
Bobby Holley
048f4eae8c
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Terrence Cole
dc3a39595c
Bug 963232 - Add extensive documentation to js/GCAPI.h; r=billm
2014-01-23 11:47:11 -08:00
Nicholas Nethercote
0b05b51057
Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
...
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
04907c0a12
Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
...
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
5de1ab52da
Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
...
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Nicholas Nethercote
b60b20f34b
Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke.
...
--HG--
extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967
2014-01-20 19:52:52 -08:00
Jeff Walden
cd1afc6984
Bug 948227 - Add code to warn when the __proto__ setter is called that it's very slow and shouldn't be used. (Don't use it yet, tho, because it requires the second part of bug 948583 to land first. Once that lands, fully enabling this just requires some uncommenting.) r=efaust
...
--HG--
extra : rebase_source : 87d320edcc99b6ef7df98c2470c78d4085aa4f99
2013-12-11 16:04:07 -08:00
Jon Coppeard
904faa3371
Bug 961077 - Take marking function as template parameter in PersistentRootedMarker r=sfink
2014-01-23 09:53:42 +00:00
Steve Fink
9f72871624
Bug 960342 - Add a RootedGeneric general class, r=terrence
2014-01-22 11:52:44 -08:00
Jon Coppeard
eddc75fd8f
Bug 961077 - Make PersistentRooted use private inheritance when deriving from LinkedListElement r=sfink
2014-01-22 11:28:06 +00:00
Ms2ger
7b4adf5c0f
Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo
2014-01-20 08:58:26 +01:00
Terrence Cole
be1579cec3
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 5; r=jonco
...
--HG--
extra : rebase_source : 13c96b6118408cfb001a3191871cbf7ce4d8a2c3
2014-01-17 10:09:38 -08:00
Jon Coppeard
5437959382
Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium
2014-01-17 10:18:19 +00:00
Terrence Cole
f7e4661151
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 1; r=sfink,Ms2ger
...
--HG--
extra : rebase_source : 0e0e75028f12db9cc4cf612a9205525669b70267
2014-01-14 12:41:22 -08:00
Nicolas B. Pierron
539c077dff
Bug 958471 - Assert range of Object/String Values' payload. r=jandem
2014-01-16 03:06:31 -08:00
Jon Coppeard
1c4835c7fd
Bug 959683 - Use rooting typedefs consistently in our public API r=sfink
2014-01-15 10:31:00 +00:00
Boris Zbarsky
72e2ce7440
Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence
2014-01-07 19:53:17 -05:00
Boris Zbarsky
a989ae183c
Bug 932837 part 1. Make FrameDescription compute the line number lazily. r=jandem
2014-01-07 19:53:17 -05:00
Jeff Walden
c95b19ffa3
Bug 956601 - Add Char16.h to RequiredDefines.h so that SpiderMonkey standalone works again, in compilers without native char16_t support. r=sstangl
...
--HG--
extra : rebase_source : 7a36d31e37e0336b9ccfe765d9c98353f6e56aa0
2014-01-05 18:05:11 -06:00
Jeff Walden
5d3f01c937
Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
...
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer. (Examples are provided in NullPtr.h comments.) The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes. This problem is unavoidable without true nullptr. Currently, the only valid use for NullptrT is believed to be in operator overloads. All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.
--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Luke Wagner
2e804616e4
Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
...
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Jan de Mooij
a45b34226f
Bug 955838 - Remove JSScript::enclosingScriptsCompiledSuccessfully() and some unused friend API functions. r=bhackett
2014-01-03 11:19:50 +01:00
Ivan Jibaja
311063f1a7
Bug 946042 - Add all SIMD functions to the interpreter. r=till
2013-12-18 16:28:32 -05:00
Jeff Walden
bb7f1ca7da
Inherit RangedPtr's operator= in all of SpiderMonkey's *CharsZ classes, so that assignment of the correct raw pointer to each will compile. No bug, r=terrence over IRC
2013-12-19 13:56:24 -05:00
Jan de Mooij
d695c46e05
Bug 951666 - Rename IonCode to JitCode. r=njn
2013-12-18 23:01:51 +01:00
Wes Kocher
51be634cd2
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Sean Stangl
59305924cb
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Brian Hackett
0909f112c0
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm, r=jandem
2013-12-12 13:10:54 -08:00
Andy Wingo
7da22095a0
Bug 927782 - Part 10: Iterate block chain from compile-time block scope maps, not runtime blockChain. r=luke
2013-12-06 18:42:08 +01:00
Terrence Cole
790a58b7dd
Bug 945250 - Evict the nursery before using CellIter; r=jonco
2013-12-04 15:23:30 -08:00
Wes Kocher
d3b2deb0a9
Backed out changeset 2a1e0a4f8d72 (bug 932982) for b2g m2 orange on a CLOSED TREE
2013-12-12 16:38:32 -08:00
Brian Hackett
5990fb7b8b
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-12 13:10:54 -08:00
Sean Stangl
dcde6d6dea
Bug 949195 - Don't refer to IsInRequest() when JS_DEBUG is not defined. r=efaust
2013-12-11 14:06:04 -08:00
Ryan VanderMeulen
55cc6f5900
Backed out changeset a29d7f5ddde6 (bug 932982) for ggc asserts.
2013-12-12 13:56:32 -05:00
Brian Hackett
5e3b1f18b3
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-12 08:42:24 -08:00
Terrence Cole
2839167636
Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke
2013-12-03 12:51:02 -08:00
Ryan VanderMeulen
e5cb270b74
Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
...
CLOSED TREE
2013-12-11 17:07:48 -05:00
Brian Hackett
32734ed66b
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-11 10:12:33 -08:00
Sean Stangl
e4de4469c3
Bug 948638 - Always use jsid struct types. r=Waldo
2013-12-10 15:45:41 -08:00
Terrence Cole
b303ecda68
Backout changeset 70e76314c8a7 for build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 83e1e8a5a4802ef0b7b1d6f7dc0df6595bc9f00f
2013-12-10 15:26:05 -08:00
Terrence Cole
8013e4fe9b
Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke
2013-12-03 12:51:02 -08:00
Tom Schuster
9052b9f509
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
11675716d5
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Sean Stangl
33cecd91b2
Bug 939505 - Use JS_DEBUG in public headers. r=jorendorff
2013-12-06 15:03:08 -08:00
Jon Coppeard
0b13b21c71
Bug 939993 - Add assert that hash key is still valid in HashTable::relookupOrAdd r=sfink
2013-12-07 12:50:52 +00:00
Joshua Cranmer
b4eac639be
Bug 929200, part 2: Add MOZ_HEAP_ALLOCATOR to JSContext::new_, r=jimb.
...
--HG--
extra : rebase_source : 94273fe87e4e432a493dd55a89a005a89e7bb998
2013-12-06 21:21:54 -06:00
Nicholas D. Matsakis
209c17a9b2
Bug 933760 - Track a type object for each type representation, associate with the type descriptor r=bhackett
2013-11-01 11:10:47 -04:00
Ryan VanderMeulen
db4e60059b
Backed out 12 changesets (bug 927782) for SM rootanalysis orange.
...
Backed out changeset f86d2d4cfadf (bug 927782)
Backed out changeset 51d6617835d1 (bug 927782)
Backed out changeset eed9795fa80e (bug 927782)
Backed out changeset b971de7edfff (bug 927782)
Backed out changeset 5f086f95b305 (bug 927782)
Backed out changeset 8c74b1f68590 (bug 927782)
Backed out changeset f1237f11edcd (bug 927782)
Backed out changeset d6946bd743b3 (bug 927782)
Backed out changeset cbdd50c96b85 (bug 927782)
Backed out changeset fc7a979712fc (bug 927782)
Backed out changeset c8304ccf88e9 (bug 927782)
Backed out changeset 9d99e9ca7b32 (bug 927782)
2013-12-06 15:03:19 -05:00
Andy Wingo
0835b83e34
Bug 927782 - Part 10: Iterate block chain from compile-time block scope maps, not runtime blockChain. r=luke
2013-12-06 18:42:08 +01:00
Ryan VanderMeulen
5c07e15985
Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
...
CLOSED TREE
2013-12-05 16:19:47 -05:00
Tom Schuster
50c0f8f4e6
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
922370489e
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Nicholas Nethercote
665c913cc0
Bug 943744 (part 3) - Re-use the |strings| table from the zone with the most strings when computing totals. r=till.
...
--HG--
extra : rebase_source : 3fa7b4249526ffcfbadd108aa55e7e9e5f0c8ebf
2013-12-04 03:54:54 -08:00
Nicholas Nethercote
c2c4132e4f
Bug 943744 (part 2) - Represent the sizes in StringInfo more compactly. r=till.
...
--HG--
extra : rebase_source : 799693bac2beb4609daf55fc5e8cbe19adff3ed8
2013-12-02 21:40:25 -08:00
Nicholas Nethercote
929454ee8d
Bug 943744 (part 1) - Remove StringInfo::length. r=till.
...
--HG--
extra : rebase_source : 4ac0be283e35bd878ad4410b805548255fcd8cee
2013-12-02 21:40:25 -08:00
Jeff Walden
a51194c4dc
Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
...
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Jeff Walden
fd8d240cfd
Bug 937751 - Followup to compile with clang versions that treat |struct S; struct __attribute__((visibility("default"))) S {};| as an error. rs=mccr8
...
--HG--
extra : rebase_source : 97d6faaaa484a9544d2683c4a1af5c3e044fa2d3
2013-12-03 15:53:40 -08:00
Andrew McCreight
b33d8d0c09
Bug 937751, part 2 - Move SliceBudget into js/public. r=billm
2013-12-03 10:47:47 -08:00
Jeff Walden
d272298ed4
Bug 943839 - Simplify Anchor and get rid of JS_AnchorPtr. r=terrence
...
--HG--
extra : rebase_source : f2d9e039f758b6078c57f601537effe8c7c39f82
2013-12-02 15:43:30 -08:00
Andrew McCreight
7bea5a32f1
Bug 944491 - Add null-checking assert to GetGCThingRuntime. r=jonco
2013-11-29 12:44:00 -08:00
Trevor Saunders
36e24ccdae
bug 938025 - part 2 - fix some static constructors in the jseng r=waldo
2013-11-22 15:05:04 -05:00
Carsten "Tomcat" Book
13099086fa
Backed out changeset 042ab55b8476 (bug 939993) for Spidermonkey rootanalysis orange on a CLOSED TREE
2013-11-25 15:04:35 +01:00
Jon Coppeard
af4f430fcb
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-25 11:26:10 +00:00
Jim Chen
0b958846fc
Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa
2013-11-22 14:17:30 -05:00
Ryan VanderMeulen
0b04f14b61
Backed out changeset 1469f9e856c0 (bug 939993) for SM rootanalysis crashes.
...
CLOSED TREE
2013-11-21 09:44:27 -05:00
Jon Coppeard
5fe8c751ed
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-19 22:53:32 +00:00
Shu-yu Guo
b7a4c97e80
Bug 933882 - Invalidate JIT code instead of doing full GC on debug mode toggle. (r=bhackett)
2013-11-20 22:50:28 -08:00
Jon Coppeard
e8f47db8f4
Bug 935136 - Remove the now unnecessary UnbarrieredMutableValueOperations r=terrence
2013-11-19 22:53:36 +00:00
Ed Morley
8291c4ed9e
Backed out changeset 1b720320ccf4 (bug 939993) for rootanalysis assertions on a CLOSED TREE
2013-11-20 16:38:41 +00:00
Ed Morley
bc86ea8de4
Backed out changeset b75c703f2e7e (bug 935136)
2013-11-20 16:38:13 +00:00
Jon Coppeard
c9dde06da3
Bug 935136 - Remove the now unnecessary UnbarrieredMutableValueOperations r=terrence
2013-11-19 22:53:36 +00:00
Jon Coppeard
ea691b049e
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-19 22:53:32 +00:00
Jim Blandy
cb3eece0fc
Bug 937404 - Remove the unused NotableStringInfo copy constructor. r=jimb
...
--HG--
extra : rebase_source : 9af09cb34a2bda3b1cbee61c85617a25c5876106
2013-11-18 13:48:45 -08:00