Commit Graph

199 Commits

Author SHA1 Message Date
Jim Blandy
06c8f3fa5c bug 771705: Pull out compilation variants into a CompileOptions structure. r=luke 2012-07-25 17:23:04 -07:00
Benjamin Peterson
594c0c752a Bug 761723 - Add a context option to only save source for compileAndGo and function body scripts. r=jornedorff 2012-07-20 20:19:02 +02:00
Benjamin Peterson
20adba28a8 Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger 2012-07-20 20:17:38 +02:00
Luke Wagner
7b5588756d Bug 772688 - add BindingIter and use it instead of directly touching a Binding's shape (r=waldo) 2012-07-05 20:35:08 -07:00
Luke Wagner
a152e12908 Bug 753145 - Attach static scope nesting information to scripts (r=jimb) 2012-07-03 10:24:36 -07:00
Luke Wagner
4ddad0fcd3 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal
2012-07-03 10:24:35 -07:00
Ed Morley
839d9cabc8 Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE 2012-07-12 13:04:51 +01:00
Luke Wagner
b3c7eae2da Bug 753145 - Attach static scope nesting information to scripts (r=jimb) 2012-07-03 10:24:36 -07:00
Luke Wagner
7b6dd2e1d8 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal
2012-07-03 10:24:35 -07:00
Brian Hackett
6a16d5454f Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
Benjamin Peterson
39068ba4c6 Bug 769072: retroactively apply strict mode to defaults. r=njn 2012-07-09 23:43:06 -07:00
Jason Orendorff
0480887be6 Back out changeset a88ce0cbdba6 due to red on m-i. 2012-07-09 14:38:49 -05:00
Jason Orendorff
02e8c9f268 Bug 770865 - Rename TreeContext to ParseContext. r=njn. 2012-07-09 13:55:04 -05:00
Luke Wagner
46d990aa46 Bug 770795 - add NullPtr and associated Handle constructor (r=billm) 2012-07-08 03:00:11 -07:00
Nicholas Nethercote
a9a99f34a0 Bug 770092 (part 1) - Move the new script notification code out of JSScript::fullyInitFromEmitter(). 2012-07-02 00:01:54 -07:00
Steve Fink
cafefed443 Bug 767141 - moar rooting. r=bhackett
Believed to be complete rooting for jsapi.cpp, ctypes/CTypes.cpp, and frontend/BytecodeCompiler.cpp, and lots of rooting for additional things I encountered along the way
2012-06-21 14:19:21 -07:00
Nicholas Nethercote
348080d982 Bug 767202 (part 4) - Initialize bodyid in TreeContext's constructor. r=bhackett. 2012-06-14 23:36:03 -07:00
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