Commit Graph

85 Commits

Author SHA1 Message Date
Brian Hackett
182feb3da6 Bug 948230 - Use accessor methods for JSScript bitfields, r=jandem. 2013-12-10 18:22:28 -08:00
Birunthan Mohanathas
a4ed25f406 Bug 784739 - Switch from NULL to nullptr in js/src/ (3/9); r=ehsan
--HG--
extra : rebase_source : b6d78b3404dc885c6f559080076bbfee9acf76a2
2013-10-07 12:43:20 -04:00
Nicholas Nethercote
a3627bba01 Bug 915482 (part 3) - Move some functions out of vm/Shape-inl.h, jsfuninlines.h and jsinferinlines.h. r=terrence.
--HG--
extra : rebase_source : b2d3805b897d54162eeaeedbd41545b23fd589ba
2013-09-11 16:52:31 -07:00
Nicholas Nethercote
1af32574cc Bug 910771 (part 5) - Move tons of stuff out of inlines.h/-inl.h files into .h files. r=terrence. 2013-09-08 13:31:19 -07:00
Nicholas Nethercote
d027fbe372 Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Nicholas Nethercote
c49f494256 Bug 886205 (part 7) - Break jsfuninlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : b89b98eced1ff6354cfaeca944b3f8dbd3d70110
2013-06-25 21:38:35 -07:00
Nicholas Nethercote
1c0e8900ee Bug 886205 (part 4) - Move some function definitions from jsfuninlines.h to jsfun.h. r=terrence.
--HG--
extra : rebase_source : 1bd4bf6c2c4db1392d43908a438df3fde48e29b2
2013-06-24 23:52:04 -07:00
Nicholas Nethercote
2cad2097bc Bug 886205 (part 3) - Move some function definitions from jsobjinlines.h to jsobj.h. r=terrence.
--HG--
extra : rebase_source : c5712dc0d1cb46d2bb653e33bc389f98770920b3
2013-06-24 21:26:48 -07:00
Nicholas Nethercote
e73cf8a6f6 Bug 880041 (part 22) - Use JSObject::{is,as} for JSFunction. r=sfink.
--HG--
extra : rebase_source : 43c8c65c7d00edffde12c5b1ec8a1aff42acc7fe
2013-06-17 23:53:49 -07:00
Brian Hackett
7e8efbbfda Bug 885522 - Move function heavyweight info to JSScript, r=luke. 2013-06-20 18:37:45 -06:00
Brian Hackett
7224018015 Bug 884194 - Update fun->isHeavyweight() when replacing a lazy script with a preexisting script, r=luke. 2013-06-20 13:24:44 -06:00
Emanuel Hoogeveen
1bcd8af54f Bug 883697 (part 2) - Make include guards consistent in some of js/src/. r=njn.
--HG--
extra : rebase_source : 86e3e36e1711191a6e8a01bc44f01cffc6b48b96
2013-06-19 17:59:46 -07:00
Nicholas Nethercote
d7c4143cc0 Bug 880041 (part 18) - Use JSObject::{is,as} for {,Debug}ScopeObject. r=luke.
--HG--
extra : rebase_source : f89710389cfe2761621a4fcc3c90dae8ca044eb8
2013-06-16 22:30:58 -07:00
Brian Hackett
9a5791cb47 Bug 883630 - Watch for lazy functions when iterating inline Ion frames, clean up methods for accessing function scripts. 2013-06-16 10:24:45 -06:00
Brian Hackett
c14649e5d8 Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke. 2013-05-30 06:29:56 -06:00
Terrence Cole
85749efb32 Bug 869733 - Tenure all clones caused by Lambda creation; r=shu
--HG--
extra : rebase_source : 7e22802f9e1bc6eec5f9a5ebe2d5bfb004f88a30
2013-05-10 15:50:49 -07:00
Shu-yu Guo
578e49b54e Bug 844887 - Followup: nop IsCallable in Ion if argument is known to be a function. (r=sstangl) 2013-05-02 14:12:14 -07:00
Terrence Cole
4bec77cb1a Bug 867426 - Remove RawAtom typedef; r=jonco
--HG--
extra : rebase_source : 03175addf7920cc778a667ebb96615c749eeb757
2013-04-30 15:38:45 -07:00
Sean Stangl
7c06a2ec68 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Phil Ringnalda
c0b436c32d Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
efc7d9a873 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda
f9e5683baf Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
9c52e8cf81 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Bill McCloskey
af03a1e9c3 Bug 855536 - Add initExtendedSlot (r=njn) 2013-04-03 17:43:02 -07:00
Nicholas Nethercote
147ffd50b2 Bug 854807 - Fix thinko in CloneFunctionObjectIfNotSingleton(). r=smaug. 2013-03-26 21:40:00 +11:00
Nicholas Nethercote
00abd2d832 Bug 854212 - Fix link errors in jsfuninlines.h caused by bug 851421. r=smaug. 2013-03-24 15:28:38 -07:00
Luke Wagner
28f5fa5330 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
a71916189e 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
fdc9ed06cb 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
e45fb52048 Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08: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
ecff87a86d Bug 821361 - Optimize type information in closures that only run once, r=luke. 2013-01-20 02:49:21 -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
5aa65395f8 Bug 828690 - Return Unrooted from StringBuffer::finish; r=billm
--HG--
extra : rebase_source : 732d8981d2bd19ea50d3db4477cff615068070dc
2013-01-03 17:21:12 -08:00
Benjamin Peterson
f7f8c9fdfc 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
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
Luke Wagner
6da28dc5bf Bug 809532 - rm unused CloneFunctionObject overload (r=billm)
--HG--
extra : rebase_source : 9c495cef6839782ec7bfa9d1cc214c282ddaa591
2012-11-07 13:28:52 -08:00
Luke Wagner
12662f7f83 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
0c462dc03a 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
b213f331a5 Bug 787856 - Initial support for lazy prototypes (r=bhackett) 2012-09-26 09:49:20 -07:00
Jeff Walden
f1dcf91aa1 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
ad9fae9416 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
028d3cc41a Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo) 2012-08-07 22:26:18 -07:00
Jeff Walden
fdc16c2d6a 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
976e703db3 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
1c82d6223a 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
b8d624d78f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
db39c5b92b 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
f096dea33e Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00