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
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
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
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
Brian Hackett
8ad86a5d56
Date performance fixes, bug 578259. r=waldo
2010-08-17 10:42:57 -07:00
Brian Hackett
16873a1fb8
Bug 579471 - fast constructors (r=dmandelin,lw)
2010-08-10 16:38:08 -07: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
Andreas Gal
093f809d06
Allow class of native objects to change (552552, r=jorendorff).
2010-03-15 16:07:28 -07:00
Robert Sayre
84b14d6f30
Merge mozilla-central to tracemonkey.
2010-03-13 11:51:12 -05:00
Jeff Walden
106fbd8085
Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
...
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06: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
Robert Sayre
5cf27a725e
Merge tracemonkey to mozilla-central.
2010-03-26 15:53:14 -07:00
Andreas Gal
18afa9f743
Setters/getters can be callable objects (547912, r=brendan).
2010-02-22 22:25:09 -08:00
Andreas Gal
7fc1c8efb0
Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan).
2010-02-22 16:30:22 -08:00
Andreas Gal
bd338bc100
Test whether obj IsCallable instead of VALUE_IS_FUNCTION for call and apply (547046, r=mrbkap).
2010-02-22 14:07:50 -08:00
Jason Orendorff
68642d97db
Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan.
...
--HG--
extra : rebase_source : 4b9ca0af846d7b77601ebbbf642941ffd136c9c8
2010-02-19 13:05:00 -06: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
f74b35769d
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 13:42:07 +03:00
Igor Bukanov
008691b6f9
Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes
2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 12:46:10 +03:00
Igor Bukanov
836b8a84eb
bug 540805 - using reference counting only for empty scopes. r=jorendorff
2010-01-27 09:50:17 +03:00
David Mandelin
9600769682
Bug 495331: trace JSOP_LAMBDA for non-heavyweight, non-null closures, r=jorendorff,dvander
2010-01-15 11:32:14 -08:00
Brendan Eich
983aa690e9
Analyze module pattern and private-statics pattern in order to despecialize from methods to slots/sprops (536564, r=jorendorff).
2010-01-14 09:33:14 -08:00
Brendan Eich
45c0afef62
Merge.
2009-12-30 13:50:31 -08:00
Brendan Eich
398f5f3b9b
Bug 537204 - No more BOGUS_CX bogosities (r=jwalden).
2009-12-30 13:49:26 -08:00
Jeff Walden
cd687c4a78
Bustage fix, r=lumpy
2009-12-29 13:13:49 -06:00
Mike Hommey
dce0218e52
Bug 555920 - Move js_obj_define{G,S}etter declarations in jsobj.h and make resolving_MatchEntry static, as it's not defined in any header [r=jwalden]
2010-05-13 09:45:33 +02:00
Jeff Walden
ad6a89209e
Bug 517580 - Unconditionally build with support for getters and setters, remove support for the deprecated { x getter: function() {}} and x getter= function() {} getter syntaxes (mutatis mutandis for setter) now that ES5 provides Object.getOwnPropertyDescriptor and Object.defineProperty and { get x() { } } syntax, and provide __{define,lookup}{G,S}etter__ only if a preprocessor variable is defined (unconditionally provided for the moment). r=luke
2009-10-06 12:35:33 -07:00
Ben Turner
0bdadbfbee
Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst.
2010-03-17 12:55:45 -07:00
Sid Stamm
47a3291b46
bug 515443 CSP no-eval support. r=mrbkap,brendan
2010-03-08 00:24:50 -08:00
Jason Orendorff
cbe2891235
Backed out changeset d4caa61e69ab. It turned the tree red.
2010-07-01 20:06:33 -05:00