Commit Graph
26 Commits
Author SHA1 Message Date
Jim Blandy 005f4f08aa Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.

The following are left for subsequent patches:

x Similar fixes to the browser outside SpiderMonkey.

x Actually *using* the newly available strictness information. This patch
  should have no user-visible effect. I didn't want the interesting stuff
  to get lost in this noise.
2011-02-09 11:31:40 -08:00
Dave Herman 8a7c54c339 Bug 630735 - NodeVector is not GC-safe (r=jorendorff) 2011-02-02 21:11:55 -08:00
Chris Leary 025c42ff93 Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-27 02:54:58 -08:00
Chris Leary 3c8dd40021 Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary 7a2ddcfa61 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Dave Herman 54e1372db4 bug 569487, r=gal: Reflect.parse(): custom builder object. NPOTB 2011-01-04 15:39:45 -08:00
Jeff Walden 88ef72c4d1 Warning patrol. r=sparky 2011-01-04 15:18:16 -06:00
Dave Herman 69efa60267 backing out due to red 2011-01-03 16:46:25 -08:00
Dave Herman 2ff0775534 bug 569487, r=gal: Reflect.parse(): custom builder object 2011-01-03 16:31:57 -08:00
Jeff Walden 8b2ebde656 Bug 614493 - Move top-level binding storage (and argument, variable, and upvar counts) out of JSFunction and into js::Bindings, itself stored in JSScript, anticipating the time when strict mode eval scripts will need it. r=brendan 2010-11-16 15:34:24 -08:00
Luke Wagner 8014a0fd10 Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn) 2010-12-06 10:26:58 -08:00
Paul Biggar 030b5d78ed Bug 612292 - Rename array allocation functions (r=lw) 2010-12-13 16:22:59 -08:00
Nicholas Nethercote 47ec1a4c06 Bug 588648 - Don't copy chars when scanning. r=brendan. 2010-12-07 15:22:52 -08:00
Dave Herman d9cf499c08 bug 594060, r=cdleary: Reflect.parse(): make source location information optional 2010-10-19 09:00:51 -07:00
David Anderson bf92c4f758 Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin). 2010-09-13 22:33:44 -07:00
Dave Herman 5db148e4da bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Luke Wagner eb328f54e3 Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander) 2010-08-09 22:43:33 -07:00
Dave Herman 373fdbcef4 bug 591437, r=brendan: can't reliably use pn_cookie for function args 2010-09-07 16:27:52 -07:00
Dave Herman e583320150 bug 591431, r=cdleary: Reflect.parse(): JSOP_*XMLNAME nodes as lvalues 2010-09-07 16:21:19 -07:00
Dave Herman 6d436442ac bug 591430, r=cdleary: Reflect.parse(): TOK_NAME statement nodes with pn_lexdef 2010-09-07 16:19:48 -07:00
Dave Herman be39ceb03d bug 590775, r=cdleary: default xml namespace = <<expr>> 2010-09-07 16:18:10 -07:00
Dave Herman 80c0d78e5c bug 590774, r=cdleary: implement function::identifier E4X extension 2010-09-07 16:16:34 -07:00
Dave Herman 2fae374c71 bug 590772, r=cdleary: for-in loops with initializers 2010-09-07 16:14:15 -07:00
Dave Herman b3bb42c908 bug 590766, r=cdleary: let-expressions and let-statements 2010-09-07 15:44:31 -07:00
Brian Hackett 4093659c9b Move cx->fp to cx->regs->fp, bug 588978. r=lw 2010-08-22 16:00:20 -07:00
Dave Herman 03de19dc89 bug 533874, r=jimb: expose the parser as a JS API 2010-06-15 13:32:32 -07:00