Commit Graph

399 Commits

Author SHA1 Message Date
Brendan Eich
126b6b5647 Prebrand standard classes with standard methods (610698, r=jorendorff). 2010-11-09 11:40:56 -08: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
Luke Wagner
3e678c7088 Fix strict-aliasing warning from 18d56745c3e6
--HG--
extra : rebase_source : 446fc01cba89ea45825cd1dc10716a05b9ec9818
2010-11-08 14:35:06 -08:00
Luke Wagner
977a639eeb Bug 605192 - JM: make f.apply(x, obj) fast, part 1 (r=waldo)
--HG--
extra : rebase_source : cceaabf5a68cae8bfa67320b4a47f0673ade86c6
2010-10-20 23:52:55 -07:00
Luke Wagner
0499a94583 Bug 607659 - Avoid calling getters/setters from TraceRecorder::callNative (r=jorendorff)
--HG--
extra : rebase_source : f1cd30d6a50c12fc7884122aebeb69d9010b04d6
2010-11-02 17:36:26 -07:00
Blake Kaplan
c0e2873909 Bug 596031 - 'this' is wrong in getters and setters when a proxy object is on the prototype chain. r=brendan/jorendorff/gal
--HG--
extra : rebase_source : 609b96c4b461e33f0f79dc74f714edfa882d1da0
2010-10-29 10:42:35 -07:00
Jeff Walden
630aabe371 Bug 604504 - Implement an eval kernel that obj_eval and JSOP_EVAL can each call. r=jorendorff,dvander 2010-10-21 14:31:29 -07:00
Jason Orendorff
bfaf004fd7 Merge. 2010-10-22 19:11:26 -05:00
Jason Orendorff
596862d852 Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00
Andreas Gal
a4b0c37cda Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-22 15:40:11 -07:00
Jeff Walden
56ecdd26a0 Bug 604504 - Separate JSOP_EVAL code from JSOP_CALL/JSOP_APPLY code, to disentangle the core functionality of eval from the method in question. r=jorendorff 2010-10-07 13:59:56 -07:00
Andreas Gal
6e672eda05 Backed out changeset 438afef93fd5 (bug 604523) due to suspected orange. 2010-10-20 23:19:05 -07:00
Andreas Gal
e5f45d98a2 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-20 22:41:35 -07:00
Dave Herman
7488e1af91 bug 594060, r=cdleary: Reflect.parse(): make source location information optional 2010-10-19 09:00:51 -07:00
Bill McCloskey
1b9d7cdaa6 Bug 599214 - JM: Add a fast path for object equality (r=dvander,nnethercote) 2010-10-18 17:04:43 -07:00
Nicholas Nethercote
913bd8a149 Bug 584279 - TM: improve alias analysis by adding many more access regions (2nd attempt). r=bhackett. 2010-10-18 12:55:56 -07:00
Nicholas Nethercote
be2aa1d407 Backed out changeset c961a413660c 2010-10-17 23:24:26 -07:00
Nicholas Nethercote
e48a2774f0 Bug 584279 - TM: improve alias analysis by adding many more access regions. r=bhackett. 2010-10-17 18:42:58 -07:00
Jeff Walden
516e962572 Remove declaration for the never-defined js_GetWrappedObject method (obj->wrappedObject(cx) was the long-ago replacement). r=sparky
--HG--
extra : rebase_source : d50bcf859e415469494e53426ba51d0e4304e676
2010-10-07 16:37:38 -07:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Andreas Gal
3d567b4e1a Bug 580128 - Small cleanups in XrayWrapper and first stab at enumeration. r=mrbkap 2010-10-10 15:37:22 -07:00
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