Commit Graph

199 Commits

Author SHA1 Message Date
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
Jason Orendorff
ce39378650 Bug 695450 - Rename js/src/frontend/CodeGenerator.h to BytecodeGenerator.h to avoid conflict with IonMonkey. r=dvander. 2011-10-18 14:45:33 -05:00
Igor Bukanov
f6069afec0 bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Jeff Walden
6a9ba27054 Bug 699227 - Change ParseNode::getKind() to use a type separate from TokenKind, for greater clarity. r=jorendorff 2011-10-28 16:06:14 -07:00
Jason Orendorff
9edbbf7e2d Bug 695907 - Use qualified C++ definitions in js/src/frontend instead of wrapping whole .cpp files in namespace js {...}. r=luke. 2011-10-19 16:45:12 -05:00
Jim Blandy
698505cd69 Bug 696261: Correct references to 'tempPool' in comments; it's now 'tempLifoAlloc'. r=cdleary 2011-10-21 16:53:30 -07:00
Jason Orendorff
534d6898a2 Remove unused flag TCF_NEED_MUTABLE_SCRIPT as suggested by Waldo in review. Bug 696953 comment 8. rs=Waldo over IRC. 2011-10-27 21:20:32 -05:00
Jason Orendorff
b7dd90f48d Divorce analyzeFunctions() and friends from class js::Parser. Bug 696953, part 4 of 4. r=Waldo. 2011-10-27 21:16:32 -05:00
Jason Orendorff
8a72164fb9 Remove class BytecodeCompiler. Bug 696953, part 3 of 4. r=Waldo. 2011-10-27 17:03:54 -05:00
Jason Orendorff
c906a7ed47 Move GlobalScope from BytecodeCompiler to BytecodeEmitter. Bug 696953, part 2 of 4. r=Waldo. 2011-10-27 17:00:48 -05:00
Jason Orendorff
6865bf3624 Rename PopStatementCG and NewScriptFromCG. Bug 696876, part 3 of 3. r=dvander. 2011-10-27 09:29:50 -05:00
Jason Orendorff
ab18d27cb8 Convert CG_ macros to BytecodeEmitter methods. Bug 696876, part 2 of 3. r=dvander. 2011-10-27 09:16:24 -05:00
Jason Orendorff
fdc0a0d67d Rename js::CodeGenerator to js::BytecodeEmitter. Bug 696876, part 1 of 3. r=dvander. 2011-10-27 09:15:40 -05:00
Jason Orendorff
a3f68cd742 Bug 695097 - Split up frontend/Parser.{h,cpp}. r=luke. 2011-10-17 16:54:30 -05:00
Jason Orendorff
1a9272312b Bug 695752 - Part 3 - class ParseNodeAllocator. r=luke. 2011-10-19 16:45:05 -05:00
Jason Orendorff
4876463403 Bug 695549 - Rename almost everything in the JS front end. Part 4, rename js::Compiler to js::BytecodeCompiler and fix up old comments referring to jsparse.c etc. r=luke. 2011-10-19 09:51:04 -05:00
Jason Orendorff
fad55dd5b1 Bug 695549 - Rename almost everything in the JS front end. Part 2, rename emitter global functions and put them in the js::frontend namespace. r=luke. 2011-10-19 09:42:06 -05:00
Jason Orendorff
d50d2c5f80 Bug 695549 - Rename almost everything in the JS front end. Part 1, rename types and put them in the js namespace. r=luke. 2011-10-19 09:35:52 -05:00