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 |
|
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 |
|
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 |
|
mozilla@buildmonkey-left.mv.mozilla.com
|
88fadd2d53
|
Fix some things so this builds on 64-bit and OS X
|
2010-05-19 09:55:27 -07:00 |
|
Luke Wagner
|
d3a3926b34
|
Fix bugs
|
2010-05-18 17:25:12 -07:00 |
|
Andreas Gal
|
efd9bd790e
|
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
|
2010-05-18 19:21:43 -07:00 |
|
Luke Wagner
|
19c9bbad15
|
Turns out function objects can be on parent chains
|
2010-05-18 14:23:23 -07:00 |
|
Luke Wagner
|
4efd7171cc
|
Started fixing asserts
|
2010-05-17 22:57:30 -07:00 |
|
Luke Wagner
|
e374a37e1c
|
Remove explicit copy, ObjPtr
|
2010-05-17 22:15:51 -07:00 |
|
Luke Wagner
|
d1c3253e19
|
It compiles and links. Time to make it run
|
2010-05-17 21:21:44 -07:00 |
|
Luke Wagner
|
b3c6d771b1
|
Fixing shell/js
|
2010-05-17 18:49:58 -07:00 |
|
Robert Sayre
|
13c247559e
|
Merge mozilla-central to tracemonkey
|
2010-05-17 13:55:37 -04:00 |
|
Luke Wagner
|
0a7c4f2ffb
|
convert up to jsstr
|
2010-05-13 14:49:26 -07:00 |
|
Luke Wagner
|
588e08228c
|
jsiter
|
2010-05-12 19:05:43 -07:00 |
|
Luke Wagner
|
4e6c52c52b
|
New Tag scheme, no SetObject silliness
|
2010-05-12 16:36:10 -07:00 |
|
Luke Wagner
|
400c4bbaef
|
Finished corrections from rebase
|
2010-05-12 12:32:34 -07:00 |
|
Luke Wagner
|
bd3571c1b5
|
Still recovering from rebase
|
2010-05-11 19:00:59 -07:00 |
|
Luke Wagner
|
6c0883c94f
|
Merge from tracemonkey
|
2010-05-11 00:41:08 -07:00 |
|
Luke Wagner
|
4e71f5312b
|
(unrebased) fat value patch
|
2010-05-10 22:01:31 -07:00 |
|
Luke Wagner
|
fb7ceb4c78
|
Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander)
|
2010-03-03 18:10:13 -08:00 |
|
Igor Bukanov
|
97039b9427
|
bug 561364 - removal of JSRuntime::gcLevel. r=jorendorff
|
2010-05-14 15:55:17 +02:00 |
|
Luke Wagner
|
bddd202c18
|
(unrebased) remove regs
|
2010-03-03 18:10:13 -08:00 |
|
Luke Wagner
|
24a4486456
|
(fake) remove-regs patch
|
2010-03-03 18:10:13 -08: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 |
|
Nicholas Nethercote
|
26d8277a75
|
Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal.
|
2010-04-07 16:09:49 -07:00 |
|
Nicholas Nethercote
|
46b653e0e1
|
Mac bustage fix for bug 556187. r=brendan via IRC.
|
2010-04-06 12:16:37 +10:00 |
|
Nicholas Nethercote
|
4542317997
|
Bug 556187 - encapsulate JSSLOT_ARRAY_* within JSObject. r=brendan.
|
2010-04-05 18:32:16 -07:00 |
|
Andreas Gal
|
2004c301c3
|
fast object iteration (558754, r=brendan, CLOSED TREE).
|
2010-05-07 17:52:52 -07:00 |
|
Nicholas Nethercote
|
f824f9ebe3
|
Bug 563575 - encapsulate jsobj.cpp dslots accesses. r=brendan.
|
2010-05-04 20:28:38 -07:00 |
|
Nicholas Nethercote
|
45f5c025d0
|
Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan.
|
2010-05-04 17:29:42 -07:00 |
|
Jeff Walden
|
00f6066393
|
Bug 552560 - Remove support for __parent__. r=mrbkap
|
2010-04-11 13:51:00 -07:00 |
|
Nicholas Nethercote
|
1cd832e8d3
|
Bug 562872 - encapsulate Arguments-related dslots accesses. r=brendan.
|
2010-05-02 21:42:09 -07:00 |
|
Brendan Eich
|
52ed1d8098
|
Fix getter/setter built-in vs. scripted type confusion: union getter/setter callable object pointer with raw JSPropertyOp pointer, fix watchpoint assertion/null-deref related to ES5's {get: undefined, set: undefined} new scripted getter/setter state encoding, clean up related code (560796, r=jwalden).
|
2010-04-30 16:03:37 -07:00 |
|
Nicholas Nethercote
|
d8b33d0d5f
|
Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan.
|
2010-04-29 20:22:33 -07:00 |
|
Nicholas Nethercote
|
225ae34fc8
|
Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan.
|
2010-04-28 18:35:22 -07:00 |
|
Nicholas Nethercote
|
1e5fc26c40
|
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
|
2010-04-26 18:33:36 -07:00 |
|
Boris Zbarsky
|
d319faf7ba
|
Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff
|
2010-04-26 10:06:25 -04:00 |
|
Andreas Gal
|
df7122d975
|
backing out clean up bug 560167 due to massive conflicts with the iterator patch
|
2010-04-23 20:49:06 -07:00 |
|
Nicholas Nethercote
|
a46ca032d4
|
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan.
|
2010-04-22 16:37:41 -07:00 |
|
Nicholas Nethercote
|
4139494dcc
|
Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan.
|
2010-04-14 18:57:30 -07:00 |
|
Nicholas Nethercote
|
00c793c05f
|
Backed out changeset 681b0067e61b due to massive breakage
|
2010-04-14 17:09:17 -07:00 |
|
Nicholas Nethercote
|
e240c1f235
|
Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan.
|
2010-04-14 16:18:03 -07:00 |
|
Nicholas Nethercote
|
6bcbe2ea63
|
Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan.
|
2010-04-11 16:45:20 -07:00 |
|
Andreas Gal
|
a887d81302
|
Inline the object allocation path (558003, r=sayrer).
|
2010-04-10 16:16:35 -07:00 |
|
Nicholas Nethercote
|
f0550e09e5
|
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject (attempt 2; attempt 1 was backed out due to conflicts). r=brendan.
|
2010-05-12 18:57:36 -07:00 |
|
Jason Orendorff
|
bdb491ed34
|
Backed out changeset 8cb8888c68d3 due to failing mochitests.
|
2010-05-12 09:34:03 -05:00 |
|
Jason Orendorff
|
2b3384521c
|
Bug 513065 - Part 3, compute scope in the engine before calling the thisObject hook. r=mrbkap.
|
2010-05-12 08:15:49 -05:00 |
|
Jason Orendorff
|
ab2c2c89d5
|
Bug 513065 - Part 1, avoid thisObject when unwrapping With objects. r=mrbkap.
--HG--
extra : rebase_source : 129c8592e7f14bb76cc648ba8ae930bfc73507cb
|
2010-05-12 08:11:46 -05:00 |
|
Jason Orendorff
|
d354a0998c
|
No bug: fix visibility warnings in GCC, no_r=me
|
2010-04-01 11:01:14 -05:00 |
|
Nicholas Nethercote
|
795d4b8ad2
|
Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan.
|
2010-03-31 22:13:51 -07:00 |
|
Jason Orendorff
|
24aa3470aa
|
Bug 556315 part 2 - JSObject::getGlobal() and JSStackFrame::getThisObject(). r=gal.
--HG--
extra : rebase_source : 103e73537d3c2f537a914b69a620136451a664ba
|
2010-03-31 17:57:03 -05:00 |
|
Robert Sayre
|
baeb2d1edf
|
Merge mozilla-central to tracemonkey.
|
2010-03-30 21:13:01 -07:00 |
|
Nicholas Nethercote
|
684396fb91
|
Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal.
|
2010-03-30 14:42:48 -07:00 |
|
Brendan Eich
|
34b1a91d97
|
Fix arguments objects to share a runtime-wide empty scope, instead of each getting a differently shaped own scope at birth (554626, r=igor).
|
2010-03-30 00:44:28 -07:00 |
|
Jeff Walden
|
560212f1a8
|
Readd all jsobj.cpp and related changes from bug 548702.
|
2010-03-28 20:32:20 -07:00 |
|
Jeff Walden
|
0973dfd6ab
|
Merge.
|
2010-03-26 21:53:40 -07:00 |
|
Jeff Walden
|
95422c65a3
|
Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\
|
2010-03-26 18:01:54 -07:00 |
|
Jason Orendorff
|
d5f9ef6c2a
|
Bug 500431 part 3 - Rename JSPropertyCache to js::PropertyCache and other renamings. r=brendan.
|
2010-03-24 21:20:44 -05:00 |
|
Andreas Gal
|
06be8164da
|
Public JS API for new ES5 Object functions (551595, r=jwalden).
|
2010-03-24 12:36:42 -07:00 |
|
Jason Orendorff
|
289a8b3513
|
Bug 530583 - Delete silly JS_INT32_TO_PTR etc. macros. r=jwalden.
--HG--
extra : rebase_source : ccd52d3c33a3fd984fb5588ef12cbf9a6a80c423
|
2010-03-16 10:41:28 -05:00 |
|
Andreas Gal
|
5bea94fbab
|
Backed out changeset 1732da7b3164
|
2010-03-15 16:13:49 -07:00 |
|