Commit Graph

185 Commits

Author SHA1 Message Date
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