Commit Graph

182 Commits

Author SHA1 Message Date
Nicholas Nethercote
73c8f9c939 Bug 767202 (part 3) - Split StmtInfo into two. r=bhackett. 2012-06-14 23:06:43 -07:00
Nicholas Nethercote
fe0349e484 Bug 754739 - Clean up front-end error reporting. r=jwalden. 2012-06-24 22:50:21 -07:00
Nicholas Nethercote
824ae46564 Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff. 2012-06-13 23:29:04 -07:00
Nicholas Nethercote
a0c6e9867e Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff. 2012-06-13 23:28:04 -07:00
Nicholas Nethercote
7798eef178 Bug 766821 - Clear dead wood from Bindings. r=luke. 2012-06-20 19:14:35 -07:00
Nicholas Nethercote
9c49a8a18e Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink. 2012-06-18 16:54:55 -07:00
Luke Wagner
d4b496b032 Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander) 2012-06-17 23:44:27 -07:00
Nicholas Nethercote
8eb21bf6c3 Bug 758509 (part 8) - Initialize JSScript::globalObject in Create(). r=luke. 2012-06-06 21:37:37 -07:00
Nicholas Nethercote
ca4669a5e6 Bug 758509 (part 7) - Initialize JSScript::staticLevel in Create(). r=luke. 2012-06-06 21:37:37 -07:00
Nicholas Nethercote
30380ddafd Bug 758509 (part 6) - Initialize JSScript::savedCallerFun in Create(). r=luke. 2012-06-06 21:37:37 -07:00
Nicholas Nethercote
76ba83048d Bug 758509 (part 5) - Initialize JSScript::compileAndGo in Create(). r=luke. 2012-06-06 21:37:37 -07:00
Nicholas Nethercote
a22e5cd02b Bug 758509 (part 4) - Initialize JSScript::{principals,originPrincipals} in Create(). r=luke. 2012-05-31 06:35:38 -07:00
Nicholas Nethercote
7b09cf5911 Bug 758509 (part 3) - Initialize JSScript::version in Create(). r=luke. 2012-05-31 06:19:22 -07:00
Nicholas Nethercote
c294d4fe16 Bug 758509 (part 2) - Initialize JSScript::noScriptVal in Create(). r=luke. 2012-05-31 00:05:08 -07:00
Nicholas Nethercote
1e4a4af92b Bug 758509 (part 1) - Create JSScript before starting bytecode generation. r=luke. 2012-05-30 23:27:51 -07:00
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