Commit Graph

61 Commits

Author SHA1 Message Date
Nicholas Nethercote
e33edd8c25 Bug 854807 - Fix thinko in CloneFunctionObjectIfNotSingleton(). r=smaug. 2013-03-26 21:40:00 +11:00
Nicholas Nethercote
921dd3bf08 Bug 854212 - Fix link errors in jsfuninlines.h caused by bug 851421. r=smaug. 2013-03-24 15:28:38 -07:00
Luke Wagner
3592ad0274 Bug 851421 (part 1) - Clone extended function slots. r=nnethercote.
--HG--
extra : rebase_source : c387da0c0ae5293fc36b76e84f5000fa17c100ce
2013-03-23 05:31:01 -07:00
Jason Orendorff
622e5934fb Fix breakage caused by 9e684559ec7f (bug 852761) by making inline method JSFunction::getBoundFunctionTarget available to the shell. rs=luke on a CLOSED TREE. 2013-03-20 09:59:47 -07:00
Jon Coppeard
27a00914cc Bug 847934 - GC: Remove Unrooted - Remove use of DropUnrooted and rename UnrootedThings to RawThings r=terrence
--HG--
extra : rebase_source : 27612f3672c220fae2da8dad437a6db24f3ede2f
2013-03-05 18:32:12 +00:00
Chuck Lee
e329997fd6 Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08:00
Brian Hackett
eeae3d8a69 Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence. 2013-01-26 07:42:20 -07:00
Brian Hackett
4bd948e772 Bug 821361 - Optimize type information in closures that only run once, r=luke. 2013-01-20 02:49:21 -07:00
Brian Hackett
27d52b616d 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
17b1014315 Bug 828690 - Return Unrooted from StringBuffer::finish; r=billm
--HG--
extra : rebase_source : 732d8981d2bd19ea50d3db4477cff615068070dc
2013-01-03 17:21:12 -08:00
Benjamin Peterson
bd0c6115e7 Bug 819509 - Rename almost everything dealing with strict mode to just |strict|. r=njn
--HG--
extra : rebase_source : b9698ec5c0fee259ca84aa29ec15118509d9e86f
2012-12-12 01:37:34 -05:00
Till Schneidereit
cac6f16698 Bug 791850 - Cleanup of lazy script handling. r=bhackett
--HG--
extra : rebase_source : eb676d1a38675f0c556e2f367465a726085eefcc
2012-11-21 17:42:27 +01:00
Jason Orendorff
963f9258c3 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
Luke Wagner
103ce99cc1 Bug 809532 - rm unused CloneFunctionObject overload (r=billm)
--HG--
extra : rebase_source : 9c495cef6839782ec7bfa9d1cc214c282ddaa591
2012-11-07 13:28:52 -08:00
Luke Wagner
50f9a075a0 Bug 807228 - clean up the JSFUN_* flags situation (r=jorendorff)
--HG--
extra : rebase_source : 1bb7ac4a354a9b78e5b5201b4204c4ade3067c49
2012-11-01 21:35:09 -07:00
Terrence Cole
ab0d85ee35 Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Bill McCloskey
8d91040b33 Bug 787856 - Initial support for lazy prototypes (r=bhackett) 2012-09-26 09:49:20 -07:00
Jeff Walden
9a4746c979 Fix used-but-not-defined warnings triggered by using JSFunction::atom_ before vm/String-inl.h is #included. No bug, r=themaid, r=jorendorff, r=terrence
--HG--
extra : rebase_source : 67694f59528a6a62566e79a712286fd5814f0b80
2012-08-28 19:26:36 -07:00
Alex Crichton
5088c74c6b Bug 433529: Part 2 - Add a displayAtom to JSFunction to store resolved names. r=jimb 2012-08-22 19:07:38 -07:00
Eric Faust
a57b8f95a2 Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo) 2012-08-07 22:26:18 -07:00
Jeff Walden
9eb451a896 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Ed Morley
712c4f68c8 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
5202bce28f Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Jeff Walden
af77cfc42f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
4261b23151 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
0079174207 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Brian Hackett
71506db37a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Matt Brubeck
b7d725d72a Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Brian Hackett
90b23329e3 Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Luke Wagner
df74b15a74 Bug 740259 - Assert that dynamic binding access is expected (r=bhackett) 2012-03-16 12:02:37 -07:00
David Mandelin
5287c89131 Bug 739808: Remove method cloning optimization and method barrier, r=luke
--HG--
extra : rebase_source : d383c3704c3efd08f9fbf1324433a94fc4a8dbb8
2012-03-23 17:59:56 -07:00
Luke Wagner
1843d7c72e Bug 730497 - rm flat closures (r=bhackett,waldo)
--HG--
extra : rebase_source : cf704765ad227abced9e8804aaeb1dc8d12fc5a8
2012-02-27 23:49:02 -08:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Luke Wagner
be9c2a694a Bug 714697 - rm lingering remains of JSCLASS_CONSTRUCT_PROTOTYPE (r=waldo)
--HG--
extra : rebase_source : d39774d9d5ae206ea24a0dda45ad308593db1e9d
2012-01-02 16:01:34 -08:00
Luke Wagner
6e9feca701 Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
--HG--
rename : js/src/vm/CallObject-inl.h => js/src/vm/ScopeObject-inl.h
rename : js/src/vm/CallObject.cpp => js/src/vm/ScopeObject.cpp
rename : js/src/vm/CallObject.h => js/src/vm/ScopeObject.h
extra : rebase_source : 0efa6c9ac4ceb10f48fe7ee7b199333da2b54cd9
2012-01-02 15:02:05 -08:00
Jeff Walden
87d3f92e61 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Bill McCloskey
978851daab Bug 708805 - Add write barrier to JSFunction::env (r=bhackett) 2011-12-15 09:41:04 -08:00
Brian Hackett
f105499192 Address bug 697537 review comments, r=luke. 2011-11-18 15:20:21 -08:00
Brian Hackett
78f238abcb Fix method function issues, no bug. 2011-11-15 08:58:06 -08:00
Brian Hackett
f30aac0eff Start fixing merge trainwreck, no bug. 2011-11-14 13:03:50 -08:00
Brian Hackett
3afca6b036 Merge MC -> JM 2011-11-14 09:13:33 -08:00
Brian Hackett
13b09a53da Address bug 638316 and bug 694247 review comments, r=luke. 2011-11-09 09:52:59 -08:00
Brian Hackett
504c27377c Address bug 693754 review comments, r=luke. 2011-11-08 13:42:27 -08:00
Brian Hackett
8e5e57fc40 Merge MC -> JM 2011-10-27 14:16:02 -07:00
Brian Hackett
914cb44c0c Remove JSFunction fixed slots and unused fields, bug 697537. 2011-10-26 13:02:57 -07:00
Brian Hackett
4deff4dab5 Fix test failures. 2011-10-19 08:12:44 -07:00
Brian Hackett
6422769ff8 Add call scope to JSFunction, bug 693754. 2011-10-13 12:10:52 -07:00
Brian Hackett
35a50f4afb Move scope chains of scope objects to reserved slots, bug 694247. 2011-10-12 22:29:43 -07:00