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
Bill McCloskey
40b74847a1
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-02-04 10:59:07 -08:00
Bill McCloskey
4d89be0bd8
Backed out bug 609104 (csets ac3ba38f20c0 and 7717cabaf20c) (orange)
2011-02-02 14:20:06 -08:00
Bill McCloskey
daa16e64bb
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-01-27 15:46:39 -08:00
Chris Leary
6d0cc31d27
Back out changeset 7d82892cb8df.
2011-01-27 19:43:33 -08:00
Bill McCloskey
a4f9ab0da8
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-01-27 15:46:39 -08:00
Nicholas Nethercote
42704598e2
Bug 610070 - Large amount of heap allocation from js::PropertyTable::init. r=brendan.
2011-01-03 17:14:55 -08:00
David Mandelin
625946d567
Backed out changeset c35a4e6ea3ca -- done with diagnotics.
2010-12-29 17:46:14 -08:00
David Mandelin
c3e8135c6a
Bug 595975 diagnostic 2: shape markers and object data, r=billm, a=blocker
...
--HG--
extra : rebase_source : ddc486824d5f4a4e3dfe114ccde7e4841033ebaa
2010-12-28 14:50:01 -08:00
Robert Sayre
f8d70b12f4
Merge mozilla-central to tracemonkey.
2010-11-16 07:25:10 -08:00
David Mandelin
c0d16889c7
Backed out changeset 1ccf7b6e0eb7 -- it was a temporary diagnostic.
2010-11-15 13:02:37 -08:00
David Mandelin
c5ffe3dddd
Bug 601457 diagnostic: check for setting zero ids into shapes, r=lw, a=beta8+
2010-11-08 16:20:22 -08:00
Robert Sayre
78fcef6d2d
Merge mozilla-central to tracemonkey.
2010-11-09 15:29:44 -05:00
Jeff Walden
b5ac7e26bd
Bug 608959 - Don't call non-scripted getters with a proxy as its |this|, because that would require most non-scripted getters to unwrap and maybe do some prototype-chain walking. r=mrbkap
2010-11-04 15:53:50 -07:00
Brian Hackett
f9cf7a5b7d
Flexible length JSObject, bug 584917. r=brendan,igor
2010-10-13 11:49:22 -07:00
Brendan Eich
ccc80abca5
Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff).
2010-09-14 12:13:12 -07:00
Brendan Eich
6ba6389297
Rename freeslot appropriately (593256 separated cosmetics-only patch, r=jorendorff).
2010-09-03 11:05:43 -07:00
Brendan Eich
d7abc9c150
Eliminate JSObject::freeslot via monotonic lastProp->freeslot (592556, r=jorendorff,dvander).
2010-09-02 14:50:44 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
Robert Sayre
250c59eece
Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances.
2010-08-01 09:58:03 -07:00
Robert Sayre
9bae5e1079
Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon.
2010-07-31 14:01:26 -07:00
Igor Bukanov
2019c722fb
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Igor Bukanov
181c2cdf3a
Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution.
2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Brendan Eich
794e678554
Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden).
2010-07-23 14:41:56 -07:00
Brendan Eich
1813531fe8
Back out patch for bug 577648, need to fix a leak.
2010-07-23 14:21:50 -07:00
Brendan Eich
72e638d9ef
arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden).
2010-07-10 11:48:00 -07:00
Jason Orendorff
02f46a123c
Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan.
2010-07-20 16:57:12 -05:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Jason Orendorff
46fecd5674
Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
...
--HG--
extra : rebase_source : eaa2aee559527dbca94c3279d256833d2293ca67
2010-06-16 16:13:28 -05:00
Jason Orendorff
c1e349137a
Back out changeset 4c1fbfcf1d0d due to orange.
2010-06-16 20:03:11 -05:00
Jason Orendorff
2d3b5bbe7a
Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
2010-06-16 16:13:28 -05:00
Jason Orendorff
6472e34dba
Bug 570169 - Part 1, preparation. Rearrange some code. r=gal.
2010-06-16 16:13:01 -05:00
Jason Orendorff
6435203fb2
Remove #include cycle between jsscopeinlines.h and jsobjinlines.h. rs=Waldo.
2010-06-14 15:00:02 -05:00
Brendan Eich
9c5f58d3ca
Call instances uniquely shaped at birth due to lack of runtime-shared empty scope (569391, r=jorendorff).
2010-06-01 15:01:11 -07:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
Nicholas Nethercote
a5ad41af4f
Bug 564581 - TM: avoid js_IdIsIndex() calls on trace. r=brendan.
2010-05-12 19:34:01 -07:00
Jason Orendorff
aff223663e
Bug 560998 - Assertion failure: entry->vword.toObject() == JSVAL_TO_OBJECT(v). r=brendan.
2010-04-30 08:29:04 -05:00
Luke Wagner
777b935aea
Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo)
2010-04-08 11:22:04 -07:00
Brendan Eich
f819b36cf4
Use direct object shape instead of identity as key for deep property cache hits (497789, r=jorendorff).
2010-03-22 11:11:44 -07:00
Igor Bukanov
9d1cbd468c
bug 549010 - folowup to replace PROTO access macros with the inlne function
2010-03-04 23:52:52 -08:00
Mike Moening
0373a2437d
bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor
2010-03-04 20:44:09 -08:00
Jason Orendorff
ad75218737
Bug 539170 - Encapsulate JSScopeProperty::{getter,setter} and move assertions to init-time. r=Waldo.
2010-02-24 17:40:28 -08:00
Igor Bukanov
debaa592f7
bug 545529 - caching Class.prototype lookups. r=brendan
2010-02-19 20:44:23 +03:00
Jason Orendorff
095bd890ef
Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
...
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Igor Bukanov
836b8a84eb
bug 540805 - using reference counting only for empty scopes. r=jorendorff
2010-01-27 09:50:17 +03:00
Luke Wagner
2645ecd2da
Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff)
2010-01-22 14:49:18 -08:00
Brendan Eich
f22c353c9c
Bug 533258 - "Assertion failure: hasMethodBarrier()" with ckeditor (r=jorendorff).
2010-01-07 10:01:01 -08:00