Brian Hackett
e5020a35b3
[INFER] Condense type information during GC, bug 613221.
2011-03-01 13:10:05 -08:00
Brian Hackett
0a2cdd3c56
Merge TM -> JM
2011-02-25 18:21:43 +13:00
brendan@mozilla.org
649f67b373
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
c5252060f7
Back out af1e10bea0f4 from a CLOSED TREE for being orangetastic on one platform.
2011-02-20 21:40:06 -08:00
Andreas Gal
207266110b
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
1e41f95c6d
#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
Jeff Walden
7ce51759aa
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Andreas Gal
46930e9e54
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
Jeff Walden
e604ceddc7
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
cf9cd62096
Backed out changeset b0aa9c20ffe4 -- orange on tinderbox
2011-02-17 18:54:05 -08:00
Andreas Gal
5267af2eaa
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
Jeff Walden
19dec00f39
Fix a JSBool-returning function to return false rather than NULL in one place, and use the func-to-pointer macro to avoid two further warnings. r+a=warning-fix
...
--HG--
extra : rebase_source : 8d7ff178c8e6c25c68dd26e1124b66dcbd333627
2011-02-17 14:21:52 -08:00
Jason Orendorff
e7f083afa8
Bug 632612 - More thorough output from dumpObject debug-only function. r=Waldo, a=npotb.
...
--HG--
extra : rebase_source : 70021cdeff6e904519cce542186236e9a4625030
2011-02-08 15:45:12 -06:00
Igor Bukanov
e9f9fd9db6
Backed out changeset 510c42c0d472 - bug 633219
2011-02-17 19:39:05 +01:00
Igor Bukanov
8bc1ca45aa
Bug 633219 - replacing per context resolving list with per-thread resolving list. r=lw
2011-02-15 13:57:54 +01:00
Brendan Eich
4906480245
Method read barrier requried when changing attributes but not value (634210, r=jorendorff).
2011-02-15 12:11:04 -08:00
Jason Orendorff
d064deac4d
Bug 630865 - Resolve interpreted function prototypes more eagerly. r=dvander.
2011-02-14 14:04:07 -06:00
Andreas Gal
5d4e5b427f
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
bd58834efa
Bug 630064 - Mark floating generator frame slots conservatively (r=dvander)
...
--HG--
extra : rebase_source : cbddb12142c763e3e20c50e994257cea22f73f8f
2011-02-07 15:55:20 -08:00
Steve Fink
1c6a84e2d8
Bug 633016 - Notify debug hooks of script lifetime when pulling script from the eval cache (r=luke)
...
--HG--
extra : rebase_source : cec97d3ad0bcbad52bda31fb6148ce1e6a1a3b95
2011-02-11 13:23:18 -08:00
Igor Bukanov
02ca585380
bug 632003 - var declarations should ignore prototype properties, r=jwalden
2011-02-11 14:58:53 +01:00
Steve Fink
91fce5cc8a
Backout 1b55728f51ad (bug 633016) due to leaking jsdScript objects
2011-02-10 14:33:10 -08:00
Steve Fink
9def74762b
Bug 633016 - Notify debug hooks of script lifetime when pulling script from the eval cache (r=luke)
...
--HG--
extra : rebase_source : b3b5bcc1c9af9f835a3921fd5a84c4a9d1478b25
2011-02-10 12:02:15 -08:00
Nicholas Nethercote
f9df6712be
Bug 631139 - Put Shape::numSearches and Shape::table in a union. r=brendan, a=sayrer.
2011-02-09 15:18:03 -08:00
Jim Blandy
de75b9fa19
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
Jason Orendorff
df71f03c9f
Bug 629968 - Patch SunSpider performance regression. r=brendan, a=sayrer.
...
This is a temporary hack.
There are two closely related bugs in methodWriteBarrier. One: the two
signatures are meant to be essentially the same, but they aren't; the
slot-based signature fails to do thrash detection in a common case.
Two: if thrash detection were always done, it would unbrand the global
object, wrecking our SunSpider score. Both bugs are tracked in bug
630354.
The bugs have been precariously balanced against one another for a
while. I accidentally changed the status quo in rev b90090c29571,
causing a 15% SS regression. This patch changes it back.
--HG--
extra : rebase_source : d2e4605599b633b968277b7f5c1a4fba7218d7d7
2011-02-07 09:18:11 -06:00
Bill McCloskey
667b23ee82
Bug 629817 - Add an AutoShapeVector to root shape vectors on the stack (r=luke)
2011-02-07 12:06:32 -08:00
Brian Hackett
b5bb63ceba
[INFER] Decouple type sets computed by inference from analysis information, store in new TypeScript struct, bug 621301.
2010-12-28 14:53:50 -05:00
Brian Hackett
5b9156630b
[INFER] Inherit shadowed properties correctly after splicePrototype, bug 621126.
2010-12-23 17:54:03 -05:00
Brian Hackett
f3bd6ce93f
[INFER] Fixes for jstests, bug 620599, part 1.
2010-12-21 07:32:21 -08:00
Brian Hackett
637c0ef693
[INFER] Fixes for botched merge.
2010-12-20 12:10:57 -08:00
Brian Hackett
89bb1d08e8
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
01a86b5756
[INFER] Use correct prototype in js_InitClass, bug 619271.
2010-12-19 20:24:56 -08:00
Brian Hackett
d765093435
[INFER] Unwind getProto() changes outside of JS, fix test failures, bug 619271.
2010-12-19 12:21:15 -08:00
Brian Hackett
baf09eaede
[INFER] Objects with same shape have same type, objects with same type have same prototype, bug 619271.
2010-12-18 20:44:51 -08:00
Brendan Eich
3705041036
Determine whether to shadow a property based on slotful *or* has JSPropertyOp setter (552432, r=jorendorff).
2010-12-13 18:10:39 -08:00
Brian Hackett
accdca294b
Merge TM -> JM
2010-12-07 17:11:37 -08:00
Nicholas Nethercote
fecf9a1832
Bug 588648 - Don't copy chars when scanning. r=brendan.
2010-12-07 15:22:52 -08:00
Luke Wagner
d8719356c0
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Brian Hackett
002fd1a589
Merge TM -> JM
2010-11-30 09:04:25 -08:00
Brian Hackett
abc31759f4
[INFER] Overhaul handling of prototypes in type inference, bug 557407.
2010-11-24 20:41:52 -05:00
David Mandelin
7da6337736
Bug 601046: fix freelist maintenance and modify shapes in place in changeProperty, r=brendan
2010-12-06 16:27:39 -08:00
Brian Hackett
ee3f068ff9
Merge TM -> JM
2010-11-18 21:09:24 -08:00
Chris Leary
3ef296cd53
Tracer build fixes. (b=588021, r=dvander)
2010-11-23 13:58:34 -08:00
Luke Wagner
91eabb4690
Bug 561954 - Abort recording earlier to avoid expensive later bails (r=jorendorff)
...
--HG--
extra : rebase_source : d2a54d2513fe8f69dcdaa5bad8dc0ce8c8ee634e
2010-11-18 10:49:45 -08:00
Brian Hackett
007303ab39
[INFER] Monitoring fixes for non-name accesses, bug 608746.
2010-11-15 18:13:05 -08:00
Blake Kaplan
6deeefba3d
bug 601803 - Support adopting a node cross-compartment. r=gal/jst
2010-11-15 17:21:25 -08:00
Blake Kaplan
bd44733edc
Backout due to bustage
2010-12-02 17:13:20 -08:00
Blake Kaplan
439ca83a7b
bug 601803 - Support adopting a node cross-compartment. r=gal/jst
2010-11-15 17:21:25 -08:00
Brian Hackett
e225da4233
Merge TM -> JM.
2010-11-12 09:02:43 -08:00