Commit Graph
1036 Commits
Author SHA1 Message Date
David Anderson 1b0dfbabba Fix tracer integration edge case (bug 636879, r=billm,luke). 2011-03-01 12:50:37 -08:00
Luke Wagner 60f55c2bef Bug 619565 - Fix activation object handling by InvokeSessionGuard (r=waldo,a=shaver) 2011-02-24 12:34:33 -08:00
Robert Sayre 9fccb83dd4 Merge tracemonkey to mozilla-central. a=blockers 2011-02-25 10:00:38 -08:00
Andreas Gal 33c6c940a4 Fix for Apple gcc 4.2 compiler bug triggered by bug 636364 (r=CLOSED TREE). 2011-02-24 16:10:16 -08:00
Brendan Eich 6449555578 Followup fixes and tests in wake of global |this| binding change (636364, r=luke/gal/dvander, thanks to Waldo for the newGlobal shell function). 2011-02-23 19:38:27 -08:00
Bill McCloskey 8f37f69509 Bug 636219 - Reset interpreter's useMethodJIT flag upon entering/exiting a function (r=dvander,a=shaver) 2011-02-24 10:20:18 -08:00
ac80eb127d Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=gal). 2011-02-22 22:25:10 -08:00
Jeff Walden 7cc9203c4e Back out af1e10bea0f4 from a CLOSED TREE for being orangetastic on one platform. 2011-02-20 21:40:06 -08:00
Jeff Walden e4bb3d9f36 Back out a8574322a3ba from a CLOSED TREE, for its predecessor is orangetastic on one platform. 2011-02-20 21:38:29 -08:00
Brendan Eich c3b79f5b45 Fix unqualified function invocation etc., part deux (635582, r=gal). (relanding in a CLOSED TREE) 2011-02-19 23:13:56 -08:00
Andreas Gal f694b47bca Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=brendan). (relanding in a CLOSED TREE) 2011-02-17 17:52:55 -08:00
Jeff Walden da2f88dad2 #jsapi observed the extent of orange in the TM tree and saw that OS X x86 opt was consistently and totally evil. So jwalden was sorry he had ever pushed changes for bug 631135. It broke his heart. And he said, “I will wipe this tree of every push back to 9105cd721d46. Yes, and I will revert the entire TM CLOSED TREE. I am sorry I ever pushed to it.” But 9105cd721d46 found favor with #jsapi. 2011-02-20 17:46:35 -08:00
Brendan Eich f63217b234 Fix unqualified function invocation etc., part deux (635582, r=gal). 2011-02-19 23:13:56 -08:00
Brendan Eich 3028581322 Back out on orange (635548, r/a=shaver). 2011-02-19 22:35:54 -08:00
Jeff Walden 578a17ccb1 Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. 2011-02-19 19:50:19 -08:00
Brendan Eich 87e9880e1e Fix spurious "attempt to run compile-and-go script on a cleared scope" errors (635548, r/a=shaver). 2011-02-19 16:43:36 -08:00
Andreas Gal a8c56cf00f Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=brendan). 2011-02-17 17:52:55 -08:00
Luke Wagner c13dfd5da8 Bug 635811 - prevent call objects from escaping on error paths (r=dvander,a=hardblocker) 2011-02-23 14:47:34 -08:00
Jeff Walden 555eeb5050 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst 2011-02-08 17:20:06 -08:00
David Mandelin 4a31509a5d Backed out changeset b0aa9c20ffe4 -- orange on tinderbox 2011-02-17 18:54:05 -08:00
Andreas Gal f9c9a06ff5 Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=brendan). 2011-02-17 17:52:55 -08:00
Bill McCloskey 33f9a1a281 Bug 633929 - Fix --disable-methodjit (r=dvander) 2011-02-15 11:51:05 -08:00
Bill McCloskey 5876c650f2 Bug 633929 - Fix methodjit-only and tracejit-only modes (r=dvander) 2011-02-15 08:40:21 -08:00
Bill McCloskey 2580801ee1 Bug 633069 - Change how tracejit profiler nesting works (r=gal) 2011-02-14 17:54:28 -08:00
Andreas Gal 608509a85d js_UnbrandAndClearSlots leaks, use JS_ClearScope and throw if compile-N-go scripts are run after JS_ClearScope (630072, r=brendan). 2011-02-13 20:55:33 -08:00
Luke Wagner def088a978 Bug 630064 - Mark floating generator frame slots conservatively (r=dvander) 2011-02-07 15:55:20 -08:00
Bill McCloskey be059c1011 Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander) 2011-02-11 16:31:32 -08:00
Igor Bukanov c276a191ca bug 632003 - var declarations should ignore prototype properties, r=jwalden 2011-02-11 14:58:53 +01:00
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
Luke Wagner 612eb0a2bc Bug 635805 - Fix thinko in fix for bug 634542 (r=dvander,a=blocking-a-blocker) 2011-02-21 19:36:27 -08:00
Luke Wagner d247b5a905 Bug 634542 - Don't leave dangling call object when executing script with JS_ClearScope'd global (r=gal,a=hardblocker) 2011-02-21 13:32:45 -08:00
Luke Wagner 6db88089de Bug 634542 - Back out diagnostic patches (r=dvander,a=backout) 2011-02-19 14:37:46 -08:00
Brendan Eich 0bda07843e Back out on orange (635548, r/a=shaver). 2011-02-19 22:35:13 -08:00
Brendan Eich dfe3fd7ae3 Fix spurious "attempt to run compile-and-go script on a cleared scope" errors (635548, r/a=shaver). 2011-02-19 20:56:17 -08:00
Mike Shaver b80f10de5d Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange 2011-02-19 20:46:44 -08:00
Luke Wagner 201ae39f3e Luke Wagner – Bug 634542 - Temporary diagnostic patch 2 (r=dvander,a=shaver) 2011-02-18 18:38:10 -08:00
Jeff Walden 0d3d5aa816 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst 2011-02-08 17:20:06 -08:00
Luke Wagner 6d9ddb614e Bug 634542 - Temporary diagnosis patch (r=dmandelin,a=shaver) 2011-02-17 21:42:27 -08:00
David Anderson 85fe5f038c Fix incoherent PC in FixupArity failure case (bug 629650, r=luke). 2011-02-01 12:04:07 -08:00
Bill McCloskey a374e83c84 Bug 623297 - Make JS_TRACE_MONITOR more robust by distinguishing callers (r=gal) 2011-02-01 10:18:06 -08:00
Jeff Walden e3f53dd06d Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin 2011-01-26 13:37:45 -08:00
Jim Blandy 18dbd0835e Bug 554955: Revert fix (changesets 297b1312f534, 18a1effafe19, 26d40e1e80bf, f6117465a979): 14% performance hit as measured by Talos. r=talos 2011-01-31 16:48:26 -08:00
Jim Blandy 5d352fca5f Bug 554955: Give blocks and call objects unique shapes when they have parents that may be extended with new bindings. r=jorendorff
The comments for js::Bindings::extensibleParents explain why this is necessary.

AssertValidPropertyCacheHit should have been catching this bug, but for
reasons I don't understand, it is restricted from checking this case. This
patch extends it to assert when the bug is detected.

I've gathered the infallible parts of the initialization for Call objects
and cloned block objects into their own functions.
2011-01-31 12:08:13 -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
Jeff Walden b9f0465add Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden 3f6f2a8a26 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden 8e10494ecc Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden 2c52e5a436 Bug 577325 - Implement function definition per ES5 plus errata (still with support for our extensions, of course). r=igor 2010-11-01 17:04:19 -07:00