Chris Leary
204b2a98e5
Bug 596026: PIC-like construct for GETELEM on trace. (r=jorendorff, a=nnethercote,cdleary)
...
--HG--
extra : rebase_source : 63b57898593b2b178a7ebb1f38071c1058ccb4f7
2010-09-15 21:33:17 -07:00
Jim Blandy
2a3cf83056
Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
...
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Luke Wagner
562fc49870
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
Brendan Eich
6ba6389297
Rename freeslot appropriately (593256 separated cosmetics-only patch, r=jorendorff).
2010-09-03 11:05:43 -07:00
Brendan Eich
30cbd0913a
Bugs in dictionary-mode property table maintenance (593256, r=jorendorff).
2010-09-02 18:46:11 -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
273362efd0
Bug 583275 - remove unnecessary unboxing cost of obj->getPrivate() on x64 (r=brendan)
2010-09-10 17:06:30 -07:00
Brian Hackett
098817b45a
PIC for addprop, bug 561506. r=dmandelin
...
* * *
Bug 561506, add context owner checks for addprop. no_r=7:00am
2010-09-04 20:12:56 -07:00
Brian Hackett
bdd2836820
Backout changesets b350e3b72c2f and fc7630d987f8.
2010-09-05 07:58:16 -07:00
Brian Hackett
7703748d37
PIC for addprop, bug 561506. r=dmandelin
2010-09-04 20:12:56 -07:00
Brian Hackett
7b0f64dbaa
Backed out changeset c85589cb4d0c
2010-09-01 20:19:03 -07:00
Brian Hackett
711fb44e45
Bug 561506 - PIC for addprop. r=dmandelin
2010-09-01 20:00:58 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Steve Fink
139d2a2a71
Bug 584175 - Unify various JS probes into a single set of static probe points. r=gal
...
Part 1: Change dtrace-specific names to probes
Part 2: Stop using the frame pointer for probes.
Part 3: Update the set of available probes
r=gal@uci.edu
a=NPOTB
--HG--
rename : js/src/jsdtracef.cpp => js/src/jsprobes.cpp
rename : js/src/jsdtracef.h => js/src/jsprobes.h
2010-09-01 14:09:54 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -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
David Mandelin
ab97c995fd
[JAEGER] Merge from tracemonkey.
2010-08-26 10:35:24 -07:00
David Mandelin
ef5b0f9077
[JAEGER] Merge from tracemonkey.
2010-08-25 11:00:41 -07:00
Luke Wagner
338d890b00
Bug 589340 - factor out / weaken dummy frames (r=mrbkap)
2010-08-21 16:03:07 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
Jeff Walden
765b61e1cb
Bug 429507 - ES5: Function.prototype.bind. r=brendan
2010-08-13 10:42:33 -07:00
Brian Hackett
466e80d99b
[JAEGER] Second try at start/end iterator fast paths, bug 578756. r=dmandelin, dvander, gal
2010-08-12 17:26:07 -04:00
Jeff Walden
88db90ddd5
Bug 516255 - Use different classes for arguments objects created inside and outside strict mode code, with slightly different ops, in preparation for implementing strict mode arguments objects' less magical functionality. r=dmandelin
2010-08-11 23:26:59 -07:00
Jeff Walden
47551e8efe
Bug 514563 - ES5 strict mode: arguments.caller and arguments.callee poison pills. r=dmandelin
...
--HG--
extra : rebase_source : 2f0b258624ec065cb019f61f017115998a8835b2
2010-08-04 14:39:45 -07:00
Jeff Walden
df688c0946
Rename JSObject::getArgsLength to JSObject::getArgsInitialLength, to make clearer precisely what value it returns. r=dmandelin
...
--HG--
extra : rebase_source : c642dd15d4d1cf5f8ac2211dc2ee33845d11bef1
2010-08-04 13:50:01 -07:00
Brian Hackett
5ab7972159
Fast native constructors, bug 579471.
2010-08-03 12:20:48 -07:00
Jeff Walden
443f3f510a
Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb
...
--HG--
extra : rebase_source : 10f930852e39b0b1ef917b18b6a1332a9a815d5d
2010-08-02 23:52:12 -07:00
David Mandelin
d7f6c4209b
Merge from Tracemonkey.
2010-08-02 15:55:29 -07:00
David Mandelin
4c5a188923
[JAEGER] Merge from Tracemonkey.
2010-07-29 13:23:33 -07:00
Igor Bukanov
4eff9db05f
bug 579957 - parent as a field in JSObject. r=lw
2010-07-29 19:11:27 +02:00
Jason Orendorff
3e23944c3b
Fix MSVC warnings about class JSFunction. no_r=me.
2010-07-29 08:08:23 -05:00
David Mandelin
a73ecdeee1
Merge from Tracemonkey.
2010-07-28 11:16:36 -07: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
David Mandelin
904ccc994c
Merge from Tracemonkey.
2010-07-27 11:48:08 -07:00
Igor Bukanov
b4a4d8d48e
bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw
2010-07-31 11:54:01 +02:00
Jason Orendorff
6972003bf8
Delete obsolete comment. no_r=me.
...
--HG--
extra : rebase_source : 8b9b7408c0efd682a5f11f827fca2d2304e0a4a3
2010-07-30 10:21:11 -05:00
Robert Sayre
909914ff10
Merge backout.
2010-07-29 18:15:03 -07:00
Robert Sayre
c7bd912564
Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw)
2010-07-29 18:11:41 -07: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
David Mandelin
3c3566af26
[JAEGER] Merge from tracemonkey.
2010-07-23 18:47:24 -07:00
Andreas Gal
c9bde05bd6
Always allocate dslots for dense arrays (580877, r=njn).
2010-07-23 15:29:02 -07:00
David Mandelin
cf0c3c24a7
Merge from tracemonkey.
2010-07-22 18:31:01 -07:00
David Anderson
cf5a8cf505
[JAEGER] Merge from tracemonkey.
2010-07-19 20:49:26 -07:00
David Anderson
3c92cb6c14
[JAEGER] Added PIC for arguments.length (bug 580036).
2010-07-19 18:21:34 -07:00
Luke Wagner
165d33e232
Bug 578015 - desc.getter/setter can be null (r=dmandelin)
2010-07-16 11:14:05 -07:00
Jason Orendorff
7947f2514c
Make CheckScopeChainValidity local to jsobj.cpp. No bug#, rs=gal on IRC.
2010-07-29 16:25:06 -05:00
Jeff Walden
e009ebc027
Bug 465199 - RegExp.lastIndex setting shouldn't coerce to integer (should happen during internal use of the property instead). r=cdleary
...
--HG--
extra : rebase_source : d2f32831a11a4e88dbed927a9a17e96f2a9561b3
2010-07-12 15:40:44 -05: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
Andreas Gal
817e9fe04a
Remove hole count from dense arrays (580846, r=njn).
2010-07-22 18:45:21 -07:00
Igor Bukanov
246300e968
bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
...
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
David Anderson
64fd3377e9
[JAEGER] Merge from fatval & TM.
2010-07-05 18:07:39 -07:00
Luke Wagner
97d36215fd
Change asX to toX, asXRef to getXRef, XTag to XValue
2010-07-05 13:44:59 -07:00
Luke Wagner
b77253dee8
Fix browser bustage from merge
2010-07-04 19:48:36 -07:00
Luke Wagner
d119486317
Merge from TM
...
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
2010-07-04 14:49:39 -07:00
Luke Wagner
a190b35d3a
Browser build fixes (stuff still broken)
2010-07-04 12:35:21 -07:00
Luke Wagner
d52a11e637
Get merge building js shell and passing trace/ref tests. Still need to fix up browser
2010-07-04 00:12:06 -07:00
Sean Stangl
bcde0f1fc6
[JAEGER] Merge with fatval.
2010-07-02 21:52:25 -07:00
Andreas Gal
38966949eb
Implement remaining cross compartment wrappers (574924, r=mrbkap).
2010-07-02 13:54:53 -07:00
Luke Wagner
15a253d499
Merge
2010-07-01 23:10:37 -07:00
Luke Wagner
c2f68a0182
Pull jsval impl details into jsvalimpl.h (included by jspubtd.h) and pull js::Value into jsvalue.h (engine-private)
2010-06-30 15:25:47 -07:00
David Anderson
9c55bbcdbc
[JAEGER] Merge from fatval.
2010-06-30 11:46:07 -07:00
Luke Wagner
19f7cefc18
Drop the distinction in js::Value of funobj vs. nonfunobj. Instead, values can just have JSVAL_TYPE_OBJECT. The trace-jit still uses funobj/nonfunobj and translates as necessary.
2010-06-29 22:33:52 -07:00
David Anderson
9d91d7d5a9
[JAEGER] Merge from fatval.
2010-06-29 11:54:42 -07:00
Luke Wagner
ae0f7e12b6
Change js::DumpX back to js_DumpX
2010-06-29 01:49:55 -07:00
Chris Leary
21e4248a17
JM: Bug 574697, eagerly calculate |this|. (r=dvander)
2010-06-28 22:24:21 -07:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Igor Bukanov
fe84ed0d56
bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff
2010-07-07 09:53:47 +02:00
Luke Wagner
aa7965a17e
Bug 581769 - fix JS_ValueToId on xml object. remove spurious iterator assert (r=waldo)
...
--HG--
extra : rebase_source : e3485c5d7b586303a35d169cd2e51413f85c33c5
2010-07-26 17:05:17 -07:00
David Anderson
a3709f170d
[JAEGER] Merge from fatval branch.
2010-06-24 11:18:01 -07:00
Luke Wagner
ed28dae403
64-bit builds and passes trace tests on OS X with --disable-tracejit. reftests has failures, but these also show up on tm and should be fixed by a rebase
2010-06-23 16:58:32 -07:00
David Anderson
68eadd08f9
[JAEGER] Re-added Dave Mandelin's GETPROP PIC stubs for string and array length (bug 572310, part 2).
2010-06-20 16:07:21 -07:00
Luke Wagner
b7955fe7b7
Browser builds
2010-06-17 23:51:54 -07:00
Luke Wagner
ab09c2952d
Switch jsids back to pointer-sized and fix a bunch of broken assumptions
2010-06-16 18:21:34 -07:00
Andreas Gal
1efe5e2ec6
Implement runtime-wide wrap hook (574299, r=mrbkap).
2010-06-24 16:45:32 -05:00
Jeff Walden
a255bae3b1
Add cycle-detection assertions to prototype/parent-setting methods, tighten some nearby code stylistically. (let r () (r))
2010-06-23 16:57:52 -07:00
David Anderson
297eb1af31
[JAEGER] Added monomorphic inline cache for reads of unbound globals.
2010-06-12 19:00:30 -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
a69fd0a49f
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Andreas Gal
d23600e449
Bug 582081 - Dense array patches regressed empty Array creation on Dromaeo. r=jwalden
2010-07-27 16:42:58 -07:00
David Mandelin
f242431382
Bug 569766: Make tracing work with fat values
2010-06-10 17:20:26 -07:00
Jason Orendorff
c1a1fb9be1
Bug 563099 - Compartments and wrappers API. r=gal.
...
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623
Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal).
2010-06-18 17:43:02 -07:00
Jason Orendorff
c7000f4f86
Bug 574013 - Change JSObjectOps::call to compute this even later in certain cases. (This will also facilitate implementint ES5 primitive this.) r=gal.
...
--HG--
extra : rebase_source : 2f588a571cc7970ae2119338e4abfc34bdd6fdc8
2010-06-23 12:08:34 -05:00
Nicholas Nethercote
6f97ec3b23
Bug 572945 - TM: dense arrays specify the wrong number of reserved slots (2
...
vs 3). r=gal.
2010-06-22 00:18:51 -07:00
Luke Wagner
1bb5128ab0
Merge with TraceMonkey
2010-06-09 21:59:18 -07:00
Jason Orendorff
6e7f075424
Merge backout.
2010-06-07 20:39:48 -05:00
Jason Orendorff
5874315d91
Back out changeset 5f425aecd7ab again. Still has performance issues; 14% in ThisObject hook.
2010-06-07 20:36:57 -05:00
Andreas Gal
be035f8008
Allow reading reserved slots without locking if we know its safe to do so (570404, r=brendan).
2010-06-07 21:35:58 -04:00
Luke Wagner
9814243213
xpconnect builds
2010-06-07 13:57:40 -07:00
Luke Wagner
7b81a5dc24
Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling
2010-06-04 16:55:08 -07:00
Jason Orendorff
5f5deee89d
Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing.
2010-06-04 00:34:57 -07:00
Luke Wagner
8846bb56a4
Fix failing reftests. Align consts stored in scripts
2010-06-03 18:22:37 -07:00
Luke Wagner
8f6c06b148
Remove jsboxedword, change jsid to be a jsval
2010-06-02 19:09:04 -07: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
David Mandelin
a4880c2f6d
Bug 611652: clear values instead of scope when global window is cleared, r=brendan,enn,jeff,mrbkap,smaug
...
--HG--
extra : rebase_source : 77e3844d35de229817bee767256a96d030a78bf9
2011-01-21 18:37:30 -08:00
Jeff Walden
13fb18a6fe
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
...
--HG--
extra : rebase_source : be6802a24bd58eb6339369e6803d3eb2fbbc07a5
2011-01-26 13:37:45 -08:00
Jim Blandy
2016210905
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
Jason Orendorff
f1be13e671
js_InitExceptionClasses was skipping part js_InitClass, leading to "Assertion failure: proto->canProvideEmptyShape". Bug 624968, r=Waldo.
...
--HG--
extra : rebase_source : 08ebb71574a0b1962e8f1c0c3f9a7aa7ec904b03
2011-01-24 17:32:44 -06:00
Jim Blandy
a237e87988
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
Jim Blandy
4b5d129a27
Bug 554955: Make JSObject::setMap not pretend to take a const shape. r=jorendorff
...
Without this patch, JSObject::setMap takes a const js::Shape *, which is
kind of misleading. The object will not actually treat the shape as const
(it does a const_cast). At all but one call site, setMap's argument is not
a const shape --- and in fact, many call sites are installing empty shapes
whose role in life is to be extended.
The only place where a const js::Shape appears is in setSharedNonNativeMap,
which is doing something unusual. The const cast should be there.
Changing js::Bindings::lastShape to return a non-const shape is then
natural, and cleans up the definition of initCall coming in the next patch.
2011-01-31 12:08:13 -08:00
Chris Leary
6d0cc31d27
Back out changeset 7d82892cb8df.
2011-01-27 19:43:33 -08:00
Chris Leary
001cef1fd8
Merge the backout head.
2011-01-27 16:26:21 -08:00
Chris Leary
8f8ea8fd48
Backed out changeset b5ca98debed0
2011-01-27 16:25:30 -08:00
Bill McCloskey
a4f9ab0da8
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-01-27 15:46:39 -08:00
David Mandelin
62ff5f09d8
Bug 611653: clear values instead of scope when global window shuts down, r=brendan,smaug
2011-01-21 18:37:30 -08:00
timeless@mozdev.org
313f426282
Bug 615834 warning: inline function ‘JSCompartment* JSObject::getCompartment() const’ used but never defined. r=gal
...
r=mrbkap
--HG--
extra : rebase_source : fe12e4864bb95a55802be395bd119a064af64baf
2011-01-18 14:25:46 -08:00
Andreas Gal
3c34eab945
Follow-up fix for bug 625559.
2011-01-26 19:19:33 -08:00
Andreas Gal
927855f788
Cache eval CSP check (bug 614137, r=mrbkap, a=dmandelin).
2011-01-22 14:28:37 -08:00
Jason Orendorff
ec712fc18c
Return the new shape from methodWriteBarrier instead of searching for it again. Bug 623863, r=brendan.
2011-01-17 11:30:08 -06:00
Jason Orendorff
f224da500c
Bug 559653 - Record assignment before the interpreter goes, mostly. This reduces record_SetPropHit to a narrower callback, record_AddProperty. r=brendan.
...
--HG--
rename : js/src/jsapi-tests/testSetPropertyWithNativeGetterStubSetter.cpp => js/src/jsapi-tests/testSetProperty.cpp
2011-01-14 16:18:53 -06:00
Jeff Walden
7b5179a175
Bug 514568 - Add JSObject::callIsForEval rather than using JSObject::getCallObjCallee() == NULL. r=igor
2011-01-05 14:54:04 -06:00
Robert Sayre
5001e2565e
Backed out changeset feb6682a10af
2011-01-06 21:40:54 -05:00
Jeff Walden
cf77bbb8be
Bug 514568 - Add JSObject::callIsForEval rather than using JSObject::getCallObjCallee() == NULL. r=igor
2011-01-05 14:54:04 -06:00
Jeff Walden
de8c94c378
Bug 514568 - Use a fresh variable environment for strict mode code run by eval, and give strict mode eval code frames a Call object backed by those variables. r=igor
2010-10-12 11:38:06 -07:00
Tom Schuster
010f1cebb4
Bug 557353 - JM: PIC for object-wrapped string length. r=dvander
2010-12-30 13:25:03 -06:00
Jeff Walden
a6ce2e1493
Bug 622053 - Streamline and greatly clarify Call object PropertyOp getters and setters, for easier reading and more bounds-checking assertions than the none (!) we had before. r=dmandelin
2010-12-29 22:21:18 -06:00
Jeff Walden
f7bec8a9e8
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
Jeff Walden
001fbb6163
Update comments on the structure of arguments objects in jsobj.h to account for strict mode arguments. r=commentsonlyfix
2010-12-29 16:45:44 -06:00
Chris Leary
5c3dd7b9ca
Merge mozilla-central to tracemonkey.
2010-12-30 00:36:53 -05:00
Chris Leary
272d457a20
Merge mozilla-central to tracemonkey.
2010-12-29 19:25:04 -05: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
David Mandelin
625946d567
Backed out changeset c35a4e6ea3ca -- done with diagnotics.
2010-12-29 17:46:14 -08: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
Brendan Eich
734c3a1ba9
Back out a81f2aed9c9b due to orange.
2010-06-18 17:39:22 -07:00
Brendan Eich
157c408713
Eliminate JSClass::reserveSlots and reserve fixed-per-class slots lazily (535416, r=gal).
2010-06-15 10:06:40 -07:00
Brendan Eich
4b502c156f
Fix warnings due to constant JS_MAX size params in MAX_DSLOTS_LENGTH (r=gal).
...
--HG--
extra : rebase_source : eb93aa51f3ee12ff4711170093434910ff19a125
2010-06-13 06:08:50 +01:00
Andreas Gal
a92e115145
Move proto out of fslots and make it JSObject* (572820, r=jorendorff).
2010-06-17 15:23:17 -07:00
Igor Bukanov
a3a94a3484
bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap
2010-06-17 14:32:26 +02: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
Andreas Gal
ffe7358fca
Eagerly calculate 'this' for 'with' objects (570655, r=brendan/mrbkap).
2010-06-08 17:09:40 -04:00
Igor Bukanov
02fc618d59
bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
...
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Robert Sayre
37d6a810f7
Merge backout.
2010-06-05 11:43:27 -04:00
Robert Sayre
3a10b5449b
Backed out changeset 52be13ea0488. Bug 556277 - Compute this eagerly in more cases. r=brendan. Suspected of performance regression on SunSpider unpack-code. 80ms -> 135ms.
2010-06-05 11:42:59 -04:00
Jason Orendorff
2ab131a259
Bug 556277 - Compute this eagerly in more cases. r=brendan.
...
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Luke Wagner
6950cf8510
Fix misnamed js_DumpStackFrameChain (r=me)
...
--HG--
extra : rebase_source : c8d4e523cea0909dc190eac3c368d207d9c6abbb
2010-06-04 11:15:23 -07:00
Jeff Walden
2a8187e20b
Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
...
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -07:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
Bill McCloskey
c66ced57da
Backed out changeset d75da3b12098 (tree burning)
2010-12-21 16:06:19 -08:00
Bill McCloskey
fbc7978aad
Bug 547327 - Estimate optimal number of JSObject slots (r=lw)
2010-12-21 15:54:25 -08:00
Jeff Walden
3ceb4d071b
Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff
2010-06-01 15:59:02 -07:00
Andreas Gal
c7677875dc
Rip out proto cache and store prototypes in the global object (569537, r=jorendorff).
2010-06-02 20:30:45 -07:00
Andreas Gal
966cb32879
Don't re-run resolve hooks after a standard class was delete (569306, r=mrbkap).
2010-06-02 01:18:50 -07:00
Brendan Eich
66e2a9929e
Nit patrol flies at dawn, spots minor spacing infractions.
2010-05-30 11:40:14 -07:00
Luke Wagner
926bf1e82a
Passing trace-tests
2010-05-20 18:39:06 -07:00
Luke Wagner
72913f6cf1
Bug fixes, cleanups
2010-05-20 10:05:04 -07:00