Andreas Gal
64497c9a69
Suppress deleted properties during iteration (569735, r=brendan).
2010-06-03 21:41:01 -07:00
Jason Orendorff
a1e58bc1c7
Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests.
2010-06-02 23:48:22 -07:00
Andreas Gal
a17cfb3b61
Suppress deleted properties during iteration (569735, r=brendan).
2010-06-02 20:11:56 -07:00
Andreas Gal
22db0647cc
Implement iterate trap for proxy handlers (568413, r=brendan).
2010-05-27 12:03:25 -07:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
Luke Wagner
9b49d62378
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Luke Wagner
6a6afd60ce
Backed out changeset 23efaeb8652b
2010-05-13 02:21:27 -07:00
Luke Wagner
98a7dc9ea6
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Andreas Gal
2004c301c3
fast object iteration (558754, r=brendan, CLOSED TREE).
2010-05-07 17:52:52 -07:00
Andreas Gal
f39c969eaa
Remove gcIteratorTable (557914, r=brendan).
2010-04-10 16:08:14 -07:00
Andreas Gal
b0126e4074
Backed out changeset 687d1e4c213e (bug 557914).
2010-04-07 18:34:05 -07:00
Andreas Gal
d0f2401879
Remove gcIteratorTable (557914, r=Waldo).
2010-04-07 17:14:38 -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
f819b36cf4
Use direct object shape instead of identity as key for deep property cache hits (497789, r=jorendorff).
2010-03-22 11:11:44 -07:00
Luke Wagner
7714144859
Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo)
2010-01-29 18:25:16 -08:00
Igor Bukanov
6bfe4771cc
bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff
2009-09-05 19:59:11 +04:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Brendan Eich
cb47c4cf08
Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal).
2008-11-13 00:30:20 -08:00
Andreas Gal
074d900a57
Backed out changeset a40f2117bcc0
2008-11-12 17:39:48 -08:00
Brendan
0ca607d76b
Add imacros to support conversion of arbitrary JSObjects (456511, r=gal).
2008-11-12 16:55:45 -08:00
Jason Orendorff
a27d101dab
Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith)
2008-10-08 17:08:33 -05:00
Brendan Eich
2991c66416
- Avoid unnecessary FASTCALL builtin wrappers for existing js_* library-private or friend functions, which could be (and now are) fastcall (JS_FASTCALL). A couple of builtins avoid name collisions by using js_Fast instead of just js_ as their name prefix.
...
- Use GCF_DONT_BLOCK from fastcall builtins that call into the GC allocator (mostly; a few places need help still, or better: need to avoid allocation).
- Cope with C clients of jscntxt.h and its include files (these hacks should go away).
- Naming convention and function definition line-break style nit-picks.
2008-08-10 00:39:18 -07:00
Brendan Eich
fe3a6127c5
- Export JSSLOT_ITER_* from jsiter.cpp to jsiter.h, for jstracer.cpp to use.
...
- Fix OBJ_GET_SLOT to be STOBJ_GET_SLOT in jsiter.cpp, no thread safety here (bug on file).
- Move JSNativeEnumerator from jsobj.cpp to jsobj.h for jstracer.cpp as well.
- Rename JOF_2BYTE JOF_UINT8 for consistency, and actually decompile it.
- Trace JSOP_FORVAR (can't do anything in JSOP_ITER, it comes before the loop).
- Shortened some guardMyLongSummerVacationWithinBounds names ;-).
- Removed/refactored to avoid dslots_ins obligation on all callers.
2008-07-30 16:32:33 -07:00
Igor Bukanov
fc68712767
bug 441686 - eliminating JSStackFrame.(nvars|vars). r=brendan
2008-07-20 22:13:17 +02:00
Brendan Eich
d0966c0fc0
Clean up for-in ops and naming nit (443039, r=igor).
2008-07-01 18:59:18 -07:00
igor@mir2.org
8e2eeba5aa
bug=421274 r=brendan a=beltzner Eliminating SAVE_SP_AND_PC() macro
2008-03-17 01:58:28 -07:00
igor@mir2.org
9e25b95889
bug 421274: backing out again due to crashes on 64 bit Linux.
2008-03-13 11:03:02 -07:00
igor@mir2.org
8205bdd921
bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop
2008-03-12 23:48:23 -07:00
igor@mir2.org
d75b521da0
backing out bug 421274
2008-03-12 23:23:09 -07:00
igor@mir2.org
e8279e4617
bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop
2008-03-12 22:52:52 -07:00
sayrer@gmail.com
43999e482b
Bug 387522. Native JSON support. r=crowder/jst, sr=brendan
2007-12-27 13:34:03 -08:00
mrbkap@gmail.com
3b183e4e87
Implement an iterator hook for cross origin wrappers to avoid wrongly walking up the prototype chain during enumeration. bug 390947, r+a=brendan sr=jst
2007-09-30 17:31:22 -07:00
jwalden@mit.edu
e8ad7f0e3d
Bug 391423 - Reposition JS_(BEGIN|END)_EXTERN_C to avoid nesting #includes. Patch by Edward Lee <edilee@mozilla.com>, r=jorendorff, r=bsmedberg
2007-08-10 14:27:08 -07:00
igor@mir2.org
c1697578e3
Bug 380469: Followup to remove to no longer used JSGenerator.next. r=brendan
2007-07-16 23:38:27 -07:00
igor@mir2.org
2c3d4c6796
Bug 380469: Taking away too zealous code simplification.
2007-07-16 13:57:16 -07:00
igor@mir2.org
35f6f4434c
Bug 380469: Followup for the previous check in to remove more no longer used close-on-GC code. r=brendan
2007-07-14 01:28:57 -07:00
igor@mir2.org
79f3a28c2d
Bug 380469: Calling close on unreachable generators from GC is no longer supported. r=brendan
2007-07-13 00:28:47 -07:00
crowder@fiverocks.com
daa4556abc
Bug 357016: spidermonkey should be buildable by a C++ compiler, patch by
...
crowder/Jason Orendorff, r=brendan
2007-07-05 13:37:47 -07:00
igor@mir2.org
9137bfaf4e
Bug 349326: for-in loop now always closes iterator objects. r=brendan
2007-07-02 05:13:23 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00