Andreas Gal
04c3f3cf48
bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal
2010-09-27 13:49:09 -07:00
Blake Kaplan
d8815d1675
Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too).
2010-09-22 17:34:20 -07:00
Blake Kaplan
03cb31a09c
bug 580128 - Rewrite XrayWrapper so the wrapped object is in the wrapped object slot and the holder goes in an extra slot. r=gal
2010-09-20 14:48:01 -07:00
David Anderson
552330f091
ICs for scripted new (bug 589398, r=luke,dmandelin).
...
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
David Anderson
6dbf424efd
Backed out changeset de5d1b528b9a
2010-10-04 15:12:00 -07:00
David Anderson
6ddd3429fc
ICs for scripted new (bug 589398, r=luke,dmandelin).
2010-10-04 14:13:33 -07:00
Jason Orendorff
630900ee20
Finally get rid of /* Added by JSIFY */ comments. r=Waldo.
2010-10-01 18:46:54 -05:00
David Anderson
2f002d500e
Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
...
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Ginn Chen
5b67866f99
Bug 584305 Define no extern "C" version ObjectOps to fix build issue with Solaris Studio r=brendan
2010-09-28 17:59:25 +08:00
Brendan Eich
4244210552
Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff).
2010-09-16 23:07:02 -07:00
Gregor Wagner
fdb731becb
Bug 558861 - Compartmental GC (r=gal)
2010-09-24 10:54:39 -07:00
Brendan Eich
c27e88caa4
Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff).
2010-09-16 11:56:54 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Brian Hackett
066d48b6b6
Backed out changeset 09ffb30caa47
2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa
Make JSObject flexible length, bug 584917. r=brendan
2010-09-20 11:40:32 -07:00
David Anderson
3bced69ba2
Fix instanceof with bound functions (bug 597167, r=brendan).
2010-09-16 19:31:11 -07:00
Chris Leary
c1efc206b8
Fix windows build breakage.
2010-09-16 01:38:19 -07:00
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