Commit Graph

292 Commits

Author SHA1 Message Date
Nicholas Nethercote
d8786a806d Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
--HG--
rename : content/html/content/test/test_meta_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 970d8a542bb631ce3f18da26ece69667af29d0a9
2013-02-06 21:35:16 -08:00
Terrence Cole
da0189f754 Bug 706885 - Do not store singletons in the Nursery; r=bhackett
--HG--
extra : rebase_source : 0f6fe8fd6954c60a25b7180e503afd124956ec1c
2013-01-28 11:01:54 -08:00
Bill McCloskey
9103b40eaa Bug 751618 - Zone renaming part 8 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
1bcde179fe Bug 751618 - Zone renaming part 6 (r=terrence) 2013-01-27 13:51:41 -08:00
Hannes Verschore
3576eb2f5e Bug 824473: IonMonkey: Structural changes to IonBuilder, r=dvander 2013-01-27 22:51:26 +01:00
Brian Hackett
cb0fe1f1ed Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence. 2013-01-26 07:42:20 -07:00
Brian Hackett
ca7794f586 Bug 834242 - Reduce cost of exact stack rooting during property reads, r=terrence. 2013-01-24 20:18:34 -07:00
Brian Hackett
69be3b2cf0 Bug 832360 - Store an object's class as part of its type, r=jandem. 2013-01-23 12:57:55 -07:00
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Brian Hackett
ac6b482ac2 Bug 772820 - Disallow GCs during script analysis or compilation, r=billm. 2013-01-18 09:23:28 -07:00
Brian Hackett
cef0213cbb Bug 831822 - Fix various rooting hazards and unnecessary roots found by static analysis, r=terrence. 2013-01-18 06:48:13 -07:00
Terrence Cole
b97ee61fd5 Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Nicolas B. Pierron
3bad100121 Bug 780549 - AutoEnterCompilation: Handle init error cases. r=bhackett 2012-12-27 07:12:25 -08:00
Gary Kwong
0b6271a5d4 Backout 4a66a93f8625 for causing mochitest failures. 2012-12-26 17:59:46 -08:00
Nicolas B. Pierron
2c1022bbbc Bug 780549 - Handle init error cases. r=bhackett 2012-12-26 16:00:43 -08:00
Terrence Cole
e7f3722956 Bug 816779 - Add some exact rooting assertions for JSScript; r=bhackett
--HG--
extra : rebase_source : e8318b572b481d68d3b17f6bbd18df297c2f2fc1
2012-11-29 10:22:12 -08:00
Terrence Cole
ea1ffaab45 Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
--HG--
extra : rebase_source : fbd47f598964cbb03dcc782198c10164e09a26f2
2012-11-29 10:22:10 -08:00
Terrence Cole
69e8d6270f Bug 817091 - Merge Unrooted<T> and Return<T>; r=billm
After Bug 811168, Unrooted<T> and Return<T> perform the same assertions and
allow the same implicit casts. Given this and the performance impact of keeping
Return<T> as a struct, it would be better to just merge these two classes.

--HG--
extra : rebase_source : 173ab623c21b3da9b693b56a33f72aa8efef7b87
2012-12-04 11:10:53 -08:00
Brian Hackett
932c478b34 Clone type sets to avoid races when compiling off thread, bug 815258. r=dvander 2012-11-26 16:32:45 -05:00
Till Schneidereit
40f7bb6875 Bug 791850 - Cleanup of lazy script handling. r=bhackett
--HG--
extra : rebase_source : eb676d1a38675f0c556e2f367465a726085eefcc
2012-11-21 17:42:27 +01:00
Jason Orendorff
364708cb56 Bug 812314 part 1 - Use fewer namespace js {...} blocks in .cpp files in js/src, js/src/builtin, js/src/vm. r=luke.
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page2.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page2.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_placestitle.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_placestitle.js
rename : browser/components/privatebrowsing/test/browser/perwindow/title.sjs => browser/components/privatebrowsing/test/browser/global/title.sjs
extra : rebase_source : d1d1c39b490ae33fb9e8417ed72c2b77ee631416
2012-11-16 15:59:26 -06:00
Nicholas D. Matsakis
1fbe34e9fe Bug 781602 - Permit multiple ion compilation modes. r=dvander
This implies the possibility of multiple ion scripts per JSScript.
* * *
Add abstractions for cases that handle all comp. modes at once.
* * *
split out separate fields for seq, par
* * *
Convert Invalidate() to assert that it is being run in sequential mode.
2012-11-13 18:58:48 -05:00
Landry Breuil
28247f6c9d Bug 792085. Fix js build on ppc, broken since ionmonkey merge. r=dvander
Sprinkle some #ifdef JS_IOn/JS_METHODJIT around ion includes.
Fix part of #746112, where pagesize was set to 64k on all ppcs,
while it seems it's only on ppc64.
2012-11-06 19:50:19 +01:00
Terrence Cole
f227398047 Bug 808181: Do not allow implicit conversion of Return<T>; r=jorendorff
This will allow the compiler to catch more usage errors.
2012-11-05 10:53:04 -08:00
Terrence Cole
38c47d4f6f Backed out changeset f0d7c7806a90 2012-11-02 16:00:27 -07:00
Terrence Cole
bc56d57eb1 Bug 808181: Do not allow implicit conversion of Return<T>; r=jorendorff
This will allow the compiler to catch more usage errors.

--HG--
extra : rebase_source : b424e2a8dfb88a340fc298cd9a11cd5779664c9d
2012-11-02 15:48:08 -07:00
Terrence Cole
8455cb6e51 Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
Return<T> wraps GC things that are returned from accessor methods.  The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Nicholas Nethercote
b3396cfd81 Bug 791611 (part 3) - Exactly root most JSScripts in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : c675efbd7e628742e59cd14ae91ab8998d3dfc5c
2012-09-16 16:32:06 -07:00
Terrence Cole
185355684f Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bill McCloskey
b213f331a5 Bug 787856 - Initial support for lazy prototypes (r=bhackett) 2012-09-26 09:49:20 -07:00
Nicholas Nethercote
35184b741b Bug 791611 (part 2) - Remove unnecessary |script| arg to TypeCompartment::newTypeObject(). r=sfink.
--HG--
extra : rebase_source : 793ff656d8e5e12988a1fb77b80fb7f7271118f2
2012-09-18 21:04:07 -07:00
Nicholas Nethercote
cc1fa77fc3 Bug 791611 (part 1) - Exactly root most JSObjects in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : 1b39f0220a1f0ec0f8633b6a0aa5685f1d3a2c02
2012-09-16 16:32:02 -07:00
David Anderson
7b70ee195a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
9e81520770 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
872a0e6b97 Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett) 2012-08-27 09:13:44 -07:00
Sean Stangl
a40abc456f No Bug - Fix 40-column emacs/vim tab declarations in certain files. no_r 2012-08-23 12:32:20 -07:00
Brian Hackett
55b70d66e5 Allow compiling scripts off thread with Ion, bug 774253. r=dvander 2012-08-23 06:56:35 -06:00
David Anderson
e7b70b99d1 Backout 4225ee7e35a0. 2012-08-22 22:23:11 -07:00
David Anderson
d8024ac298 Backed out changeset c1b7927df546. 2012-08-22 22:19:06 -07:00
Nicolas B. Pierron
b8396b4791 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-22 18:27:38 -07:00
Brian Hackett
948e1cf364 Allow compiling scripts off thread with Ion, bug 774253. r=dvander 2012-08-22 19:00:33 -06:00
David Anderson
fd50a14c90 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
5d981ba8fe Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
Brian Hackett
9470becd1e Use a common type object for inner arrays of array initializers, bug 782590. r=jandem 2012-08-16 07:14:51 -06:00
Nicolas B. Pierron
5ef3110c8d Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett 2012-08-15 01:39:25 +02:00
Sean Stangl
9988d06650 Bug 782776 - Add beginsIonActivation() to StackFrame. r=dvander 2012-08-14 16:28:05 -07:00
Sean Stangl
228c567269 Bug 782129 - GetPcScript() should use the Ion version when callingIntoIon(). r=dvander 2012-08-13 18:14:55 -07:00
Brian Hackett
13132898c0 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00