Commit Graph

167 Commits

Author SHA1 Message Date
Jeff Walden
0d56b6973b Warning patrol. No bug, r=terrence 2012-06-11 17:17:19 -07:00
Luke Wagner
d4c1dcecca Bug 762473 - Don't apply non-reentrant-closure optimization when the scope is extensible (r=dvander) 2012-06-07 20:03:18 -07:00
Nicholas Nethercote
e16b5af445 Bug 761914 (part 4) - Set SharedContext::staticLevel in the constructor. r=jorendorff. 2012-06-07 18:48:38 -07:00
Nicholas Nethercote
b824763ab3 Bug 761914 (part 3) - Do level check in UpvarCookie::set(). r=jorendorff. 2012-06-07 18:48:37 -07:00
Nicholas Nethercote
e231bc9bbe Bug 759246 (part 3) - Initialize more SharedContext stuff via the constructor. r=jorendorff. 2012-05-28 21:50:52 -07:00
Nicholas Nethercote
e54244d73e Bug 759246 (part 2) - Move SharedContext::functionList to TreeContext. r=jorendorff. 2012-05-28 20:46:03 -07:00
Nicholas Nethercote
86dfb66865 Bug 759246 (part 1) - Replace bce.sc with &sc where suitable. r=jorendorff. 2012-05-28 20:43:06 -07:00
Benjamin Peterson
95a623f2d6 Bug 759498: fix defaults when arguments are bound as functions, r=jorendorff 2012-06-02 20:16:24 +02:00
Nicholas Nethercote
9e96de5143 Bug 754181 - Don't store the strict mode code flag twice (attempt 2). r=jwalden,luke. 2012-05-21 20:06:43 -07:00
Ryan VanderMeulen
481f02a2be Backout 2ee09416b1d7 (bug 754181) due to jsreftest crashes. 2012-05-24 20:43:40 -04:00
Nicholas Nethercote
54274e91ad Bug 754181 - Don't store the strict mode code flag twice. r=jwalden,luke. 2012-05-21 20:06:43 -07:00
Brian Hackett
662da160da Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Brian Hackett
fe67e3c2f1 Remove Root<T>, bug 756823. r=billm 2012-05-24 08:52:21 -07:00
Nicholas Nethercote
4302771401 Bug 757690 - Merge TokenStream::TokenStream() and TokenStream::init(). r=jorendorff. 2012-05-23 16:18:51 -07:00
Benjamin Peterson
d15a61f318 Bug 574132 - Implement rest parameters for JavaScript. r=jorendorff. 2012-05-23 10:31:35 -05:00
Nicholas Nethercote
7d55d1b905 Bug 757336 - Clean up probes handling in CompileScript(). r=sfink. 2012-05-22 16:50:10 -07:00
Ryan VanderMeulen
556f080af7 Backout 5130ffc92faf (bug 574132) due to debug orange. 2012-05-21 21:30:18 -04:00
Benjamin Peterson
8245f3d6f7 Bug 574132 - Implement harmony rest parameters. r=jorendorff 2012-05-21 20:38:05 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Nethercote
9e310edcf1 Bug 753657 (part 3): Remove the remaining parts of TreeContextFlags. r=luke. 2012-05-15 00:03:39 -07:00
Nicholas Nethercote
f79a992122 Bug 753249 (part 1) - Remove TCF_IN_FUNCTION from TreeContextFlags. r=luke. 2012-05-14 21:38:35 -07:00
Nicholas Nethercote
87f0781d3a Bug 752816 (part 3) - Remove TCF_COMPILE_N_GO from TreeContextFlags. r=luke. 2012-05-14 18:00:19 -07:00
Nicholas Nethercote
a36de2a89d Bug 752816 (part 2) - Remove TCF_{NO_SCRIPT_RVAL,NEED_SCRIPT_GLOBAL} from TreeContextFlags. r=luke. 2012-05-14 18:00:17 -07:00
Nicholas Nethercote
913b736539 Bug 752816 (part 1) - Remove TCF_COMPILE_FOR_EVAL from TreeContextFlags. r=luke. 2012-05-14 18:00:15 -07:00
Nicholas Nethercote
3777d53c9a Bug 752758 - Separate TreeContext and BytecodeEmitter. r=bhackett. 2012-05-14 16:08:32 -07:00
Nicholas Nethercote
92bf708d23 Bug 750606 - Remove TreeContext::parser, thus avoiding cycles between TreeContext and Parser objects. r=bhackett. 2012-04-30 22:20:06 -07:00
Nicholas Nethercote
addc7f53df Bug 750580 - Remove cyclic dependency between Parser and BytecodeEmitter modules by introducing a TreeContext module. r=jorendorff. 2012-04-30 17:59:23 -07:00
Nicholas Nethercote
1cb595bf7b Bug 751818 - Remove DefineGlobal and lots of related stuff. r=jorendorff. 2012-05-09 16:20:11 -07:00
Brian Hackett
33a75298e8 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Ehsan Akhgari
cc57e4a883 Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 21:52:33 -04:00
Luke Wagner
f2314f6905 Bug 749617 - improve getLocalNamesArray (r=waldo,a=not-libxul) 2012-05-01 15:45:01 -07:00
Nicholas Nethercote
5ae62995da Bug 739512: Patch 4: move JS{Const,Object,TryNote}Array into the |js| namespace. r=sfink. 2012-04-10 23:51:12 -07:00
Nicholas Nethercote
b57b167f48 Bug 739512: Patch 10: add JSScripts::hasConsts() et al. r=dvander. 2012-04-10 23:51:10 -07:00
Brian Hackett
640d82f7e5 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
c5e4bddc54 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
dc3d6c24fc 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
25fcd79275 Bug 740446 - make 'arguments' more like a normal local binding (r=bhackett) 2012-04-02 08:58:30 -07:00
David Mandelin
f0690b22d1 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Jeff Walden
f44f87f012 Bug 566700 - Remove sharp variable support. r=dmandelin 2012-01-07 00:55:32 -06:00
Jeff Walden
88af355aea Bug 720316 - Remove the entirely-unused JOF_SLOTATOM. r=luke 2012-01-18 16:55:59 -08:00
Luke Wagner
63d604536b Bug 713311 - give the remaining scope objects typed interfaces (r=waldo) 2012-01-02 15:02:05 -08:00
Jeff Walden
12e010ddeb 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
Luke Wagner
40ddc14777 Bug 624621 - Allow embeddings to attach an extra 'origin' principal to scripts (r=mrbkap) 2011-06-27 17:42:53 -07:00
Brian Hackett
aea9a5df6e Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett
c918ed606d Merge MC -> JM 2011-11-10 12:06:26 -08:00
Brian Hackett
fbb0da8930 Merge MC -> JM 2011-11-02 09:23:25 -07:00
Jeff Walden
b056d6b138 Bug 701973 - Make callers pass the type of function body being parsed to Parser::functionBody, rather than inferring it from the current token. r=jorendorff 2011-11-12 01:38:24 -08:00
Brian Hackett
0f1e7be714 Merge MC -> JM 2011-10-27 14:16:02 -07:00
Brian Hackett
223e0ac9b3 Add JSScript::function, bug 693754. 2011-10-21 14:31:01 -07:00
Brian Hackett
2ecf6804fd Merge MC -> JM 2011-10-19 14:26:08 -07:00