Commit Graph

20284 Commits

Author SHA1 Message Date
Terrence Cole
c3edd83279 Bug 784808 - Remove isInline GC size class check; r=luke
We depend on a size class check because JSShortStrings can have their chars()
point to the middle of its inline buffer for a slight speedup in Int32ToString
and IndexToString.  Getting rid of the size class check allows us to inline the
isInline check.  This work paves the way for a fast ensureNotInline and
removal of getAllocKind as a requirement for string placement in arenas.

--HG--
extra : rebase_source : 93b148b0f89295c0356439875204cd4d0069e7d4
2012-08-22 12:19:07 -07:00
Boris Zbarsky
95d002889d Bug 773520. Add a one-slot cache for converting stringbuffers to JSStrings. r=peterv,bhackett 2012-08-28 13:10:09 -04:00
Luke Wagner
c692b48100 Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink) 2012-08-27 13:32:51 -07:00
Ryan VanderMeulen
50112c0069 Merge m-c to inbound. 2012-08-27 19:34:23 -04:00
Alex Keybl
b3319338f9 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Luke Wagner
872a0e6b97 Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett) 2012-08-27 09:13:44 -07:00
Gabor Krizsanits
5138045eff Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
9a223560e1 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Benjamin Peterson
d76d19dc3d Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Benjamin Peterson
67395d7701 Bug 785781 - Remove artifact of the old re engine. r=njn 2012-08-27 08:03:54 -04:00
Bob Clary
4b000d6aa2 bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin. 2012-08-26 22:51:14 -07:00
Luke Wagner
3595a4cdb6 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Siddharth Agarwal
f976c1f6e5 Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Rafael Ávila de Espíndola
f1d04b676c Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff. 2012-08-27 15:37:34 -04:00
Nicholas Nethercote
3eb58b0432 Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
86ce71fef2 Bug 784608 (part 7) - Change the form and meaning of ParseContext::innermostWith, and do follow-up simplifications. r=luke.
--HG--
extra : rebase_source : 035c8976f4767235c5f88f0440401c668c7676a8
2012-08-23 16:50:25 -07:00
Nicholas Nethercote
7e452cdec4 Bug 784608 (part 6) - Rename some parsing and emitting variables. r=luke.
--HG--
extra : rebase_source : c21e322bb37172ca45ddac032a851465545fd2b8
2012-08-22 23:16:05 -07:00
Nicholas Nethercote
4bd46dce28 Bug 784608 (part 5) - Rename some FunctionBox method args. r=luke.
--HG--
extra : rebase_source : 19ad67052ec6df71d1a5a1d68a8f21487c7c8d8f
2012-08-22 20:12:44 -07:00
Nicholas Nethercote
0914cdefb7 Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
c9d258f5b1 Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
5ea69a2892 Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00
Nicholas Nethercote
47287a3eb0 Bug 784608 (part 1) - Remove FunctionBox::inLoop. r=jimb.
--HG--
extra : rebase_source : 451f30919691a128c0003b0e763a3e50d6f627bf
2012-08-21 23:55:51 -07:00
Shu-yu Guo
e9f34d6e58 Bug 784873 - Improve ParallelArray jit-test code (r=dvander) 2012-08-26 12:02:42 -07:00
Jason Orendorff
309ca80b4b Bug 778851 - Disable E4X in content by default. 2012-08-26 09:04:33 -05:00
Mike Hommey
44c1eef21d Backout changeset a1ba35958b98 (bug 781529) because of a gcc bug that leads to bug 785679 2012-08-26 10:15:10 +02:00
Brian Hackett
a9a74a44bf Don't automatically assume that uint32array reads will produce doubles, bug 785543. r=luke 2012-08-25 06:11:55 -06:00
Marco Castelluccio
0711c896c5 Bug 783765 - Use libnotify as a dynamic library. r=glandium 2012-08-25 08:54:16 +02:00
Peter Van der Beken
bb71680e0a Bug 753517 part 5. Enable the list IC for new DOM bindings too. r=bz. 2012-08-24 09:32:26 -07:00
Boris Zbarsky
efc50e4b0d Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
Dave Herman
b97f614fbc Bug 632027 - comma expressions in array literals are discarded. r=jorendorff 2012-08-24 16:54:40 -07:00
Ehsan Akhgari
caaabb5bd4 Bug 785500 - Remove the unused CrossScriptSSA::cx member; r=luke 2012-08-24 17:14:18 -04:00
Terrence Cole
36024c3f8a Bug 776583 - Make post barrier verifier pass interpreter tests; r=billm
--HG--
extra : rebase_source : c5c8865774d32513cbed97b98b3084f04a61a7f1
2012-07-16 10:54:56 -07:00
Alex Crichton
b4f64c7ce2 Bug 785175: Discard column information if the script is too large instead of aborting. r=jorendorff 2012-08-24 09:54:37 -07:00
Andrew McCreight
86e263762f Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Luke Wagner
f9aafd561f Bug 784706 - clear proxiedScopes in DebugScopes::onCompartmentLeaveDebugMode (r=jimb) 2012-08-23 10:58:24 -07:00
Dave Herman
1e17d124a3 Bug 742612 - address additional style nit from review. r=jorendorff 2012-08-24 09:00:50 -07:00
Dave Herman
6f60d4e17b Bug 742612 - Reflect.parse: separate guarded/unguarded catch clauses. r=jorendorff 2012-08-24 08:30:44 -07:00
Luke Wagner
c3caa3a90c Fix backout to account for infallible-JSAutoCompartment change on a CLOSED TREE (no bug, r=bustage) 2012-08-23 22:12:21 -07:00
Matt Brubeck
424ea88da6 Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
48fc85f058 Bug 780370 - Remap objects from standard prototypes even if they're explicitly exposed. r=mrbkap 2012-08-23 19:07:14 -07:00
Bobby Holley
b2b8ff55f2 Bug 780370 - Clarify the compartment situation in ChromeObjectWrapper. r=mrbkap
Not sure what I was thinking before. We should always be in the compartment of the wrapper here.
2012-08-23 19:07:13 -07:00
Luke Wagner
e02c91584a Bug 625199 - Actually that NULL check was necessary in js_GetPropertyHelperInline (having a non-null pc does not mean currentScript is non-null because currentScript returns null when cx->fp is in another compartment (r=bustage) CLOSED TREE
--HG--
extra : rebase_source : f35ede2c9fba57aa09775cf80e8ce064d1f90394
2012-08-23 18:42:29 -07:00
Andrew McCreight
fa58a83b2b Bug 785482 - Fix typo in definition of JS_RemoveScriptRootRT. r=terrence 2012-08-24 12:56:10 -07:00
Terrence Cole
340bde0157 Bug 785524 - Remove JS_MakeStringImmutable; it is no longer necessary; r=luke
--HG--
extra : rebase_source : bf9e007733e5f4c6ab3fcc618c3fcff3b2fb69fc
2012-08-24 15:00:38 -07:00
Terrence Cole
5e413f34f8 Bug 785927 - Fix warning for unused IsValueInCompartment; r=bhackett
--HG--
extra : rebase_source : 1f72c64450274fe860de6c22db7292dec83070b6
2012-08-27 10:39:21 -07:00
Andrew McCreight
4d2ed11d00 Bug 749366, part 2 - remove unused SizeOfJSContext. r=njn 2012-08-27 10:43:08 -07:00
Andrew McCreight
671b32897c Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Eric Faust
a448289ba6 Bug 785576 - Mark dense array properties as 'own'. (r=bhackett) 2012-08-27 13:34:52 -04:00
Luke Wagner
f7d12ea122 Bug 771168 - AssertJit should not assume there is a StackFrame (test only,r=me) 2012-08-27 08:55:18 -07:00
Peter Van der Beken
486198a6d8 Fix for bug 785188 (Make Xrays work with newest DOM list bindings). r=mrbkap. 2012-06-06 21:52:26 +02:00