Commit Graph

5214 Commits

Author SHA1 Message Date
Robert Sayre
8e061e35da Backout patch for Bug 480132. Debug only nit fix busts static analysis compile. 2009-03-14 02:20:45 -04:00
Jim Blandy
40e8a7d560 Bug 480132. SpiderMonkey clones too many blocks into the heap. r=igor 2009-03-14 02:09:28 -04:00
Jim Blandy
249eed4eb3 Back out fix for 481444; orange on Linux TraceMonkey unit test: http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1236978913.1236990062.26824.gz&fulltext=1 2009-03-13 18:07:25 -07:00
Jason Orendorff
f7ad0e9e06 Bug 481444 - TM: objectHook is called on trace, via js_NewObject [@ LeaveTree] or [@ js_SynthesizeFrame]. r=gal.
Thanks Daniel!
2009-03-12 08:34:57 -05:00
timeless@mozdev.org
292ef18fb2 Bug 482809 Crash [@ jsds_SyncFilter(FilterRecord*, jsdIFilter*) ] when appendFilter() called with Console2 installed
removing errant change that crept into rev 36f4da6e262a with the fix for bug 136292
r=roc
2009-03-12 13:04:48 +01:00
timeless@mozdev.org
e4571da779 Bug 482809 Crash [@ jsds_SyncFilter(FilterRecord*, jsdIFilter*) ] when appendFilter() called with Console2 installed
removing errant change that crept into rev 36f4da6e262a with the fix for bug 136292
r=roc
2009-03-12 12:31:34 +01:00
Igor Bukanov
3e7114aad2 bug 482038 - removal of JSRuntime.gcPoke checks from js_NewGCThing. r=brendan 2009-03-12 10:15:55 +01:00
Robert Sayre
598602fe5d Bug 482899 - Don't call the reviver function when the JSON parse fails. r=jwalden 2009-03-12 03:27:15 -04:00
Robert Sayre
17397679cd Merge tracemonkey to mozilla-central. 2009-03-12 02:31:48 -04:00
Ginn Chen
bbf004a772 Bug 480144 Fix Solaris bustage 2009-03-12 14:24:04 +08:00
Robert Sayre
9e67170bdc Do things in a different order. Bug 482861. r=jwalden 2009-03-12 02:18:59 -04:00
Jeff Walden
2de1fda1f3 Bug 482783 - TM: Crash [@ js_ConcatStrings] due to forgetting about tagbits. r=brendan 2009-03-11 18:52:03 -07:00
Blake Kaplan
32bd109aca Bug 482830 - Use a principal when compiling -e scripts. r+sr=jst 2009-03-11 16:13:01 -07:00
Benjamin Smedberg
702b16f68a Bug 483856 - Use core_abspath and $(CURDIR) instead of shells. Use Preprocessor.py instead of preprocessor.pl to avoid perl insanity with pymake, and generally just make me happy. r=ted 2009-03-11 18:39:24 -04:00
Peter Van der Beken
69e9aba8c8 Backing out f385e435c082, fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed), to try to fix orange. 2009-03-19 14:05:26 +01:00
Peter Van der Beken
f6b313dc83 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 9e25f0d56df57d65559e18acd49412e3e164821e
2009-03-18 19:02:48 +01:00
Honza Bambas
8d8bbb95c2 Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Jim Blandy
9391012cb0 Bug 479258: Don't define <stdint.h> types in public headers. r=brendan
On systems that don't have <stdint.h> (i.e., Microsoft, which is
tragically underfunded and cannot spare the resources necessary to
provide and support this header: http://tinyurl.com/absoh8),
SpiderMonkey header files should not introduce definitions for these
types, as doing so may conflict with client code's attempts to provide
its own definitions for these types.

Instead, have jstypes.h define JS{Int,Uint}{8,16,32,64,Ptr} types
based on configure's results, and make jsstdint.h into an uninstalled
header for use within SpiderMonkey that does whatever is necessary to
get definitions for the <stdint.h> types.

The changes to make the appropriate SpiderMonkey .cpp files #include
"jsstdint.h" explicitly are in a separate patch, for ease of review.
2009-03-18 11:38:15 -07:00
Robert Sayre
60379a7a19 Merge tracemonkey to mozilla-central. 2009-03-11 17:42:39 -04:00
Ted Mielczarek
9aada2da48 bug 482084 - rewrite xpcshell test harness. r=bsmedberg 2009-03-11 11:56:58 -04:00
Ted Mielczarek
d0e46c0bc4 bug 480144 - fix spidermonkey to compile on mingw. r=bsmedberg,jorendorff 2009-03-11 11:56:58 -04:00
Jason Orendorff
3aee538e7f Bug 480147 - TM: "Assertion failure: cx->bailExit" with string.replace and type instability. r=gal. 2009-03-11 10:52:18 -05:00
Jason Orendorff
dbb0b6a149 Bug 481218 - js_IsCallable returns false for functions. r=brendan.
--HG--
extra : rebase_source : 52d3cba36f3fa1301223cb579bd75ec7bbd5d130
2009-03-11 10:46:45 -05:00
Igor Bukanov
94d4ac0da5 bug 478336 - fixing rt->state/rt->contextList mutation race. r=brendan 2009-03-11 11:54:49 +01:00
Ginn Chen
1233d3dcd9 Bug 480967 Don't leak MSYS paths into makefiles, fix Solaris bustage r=bsmedberg 2009-03-11 16:51:47 +08:00
Robert Sayre
8f77fb9b9e Merge. 2009-03-11 04:19:20 -04:00
Brendan Eich
9eb422d7f2 Bug 482594 - TM: followup work for support String(v) -- String constructor called as a converter (r=jwalden). 2009-03-10 16:32:16 -07:00
Blake Kaplan
1703c72fbc Bug 482381 followup -- use a better name for the "value" field. r=brendan
--HG--
extra : rebase_source : b819d281fdeaab16d562d9ded6841da5f5ea3cd3
2009-03-10 16:00:27 -07:00
Blake Kaplan
df0c6f4108 Bug 482381 - Add JS_GetPropertyDescriptorById to quickly get all information about a given property, possibly off of the prototype chain. r=brendan/jorendorff
--HG--
extra : rebase_source : 2384be436993600204d457861231a3b180bc5147
2009-03-10 15:21:25 -07:00
Blake Kaplan
8afe2165b9 Bug 482384 - Fix GCC warnings about casting between data and function pointers. r+sr=jst
--HG--
extra : rebase_source : bb9356f20f563511e5f4bd3e4308e1f82b1f8d52
2009-03-10 15:21:25 -07:00
Robert Sayre
a408d9bbad Merge m-c to tm. 2009-03-10 16:49:12 -04:00
Benjamin Smedberg
329e9b5420 Bug 481336 - Quickstub additional properties on nsIDOMHTMLAnchorElement and nsIDOMNSHTMLAnchorElement, r=bz 2009-03-10 15:55:55 -04:00
Robert Sayre
278d53e244 Fix test bustage from bug 482349. r=jorendorff 2009-03-10 13:55:30 -04:00
Igor Bukanov
09d80afc72 bug 355829 - treating null as a primitive value in js_ValueToObject. r=brendan 2009-03-10 13:52:10 +01:00
Brendan Eich
5abff57eb3 Waldo's followup fix to valueOf/toString misorder in patch for bug 482349 (r=me). 2009-03-10 01:52:43 -07:00
Brendan Eich
70e7ecd244 Fix bug 482421 (r=gal). 2009-03-10 01:46:23 -07:00
Jeff Walden
b0184f38f5 Kick tinderboxen to see if the current orange is random or not 2009-03-09 22:47:13 -07:00
Andreas Gal
2565c872a4 Merge. 2009-03-09 18:39:14 -07:00
Andreas Gal
89cb250b42 Backed out changeset 65be699dabf0. 2009-03-09 18:38:54 -07:00
Brendan Eich
db48c38fa9 Bug 476240 - Generate via imacro_asm.js the big condition in TraceRecorder::monitorRecording's OPDEF macro (r=gal). 2009-03-09 18:34:35 -07:00
Andreas Gal
088eeb6c9d Try harder to trace array access with non-int / non-string index (478525, r=brendan). 2009-03-09 17:34:22 -07:00
Andreas Gal
d3cc05e80b Merge. 2009-03-09 17:30:06 -07:00
Andreas Gal
0002d84879 Support String(v) -- String constructor called as a converter (482349, r=jwalden). 2009-03-09 17:29:42 -07:00
Brendan Eich
e37fd1b818 Bug 476447 - Array.prototype getter/setter does not work as usual (r=jorendorff). 2009-03-09 11:25:43 -07:00
David Mandelin
b151fe5042 Bug 481760: myngle.com crash due to incorrect compiled regexp end-of-string check, r=brendan 2009-03-09 11:21:03 -07:00
Andreas Gal
480a780c0c Drop a few unnecessary extern declarations in jstracer.cpp (no bug). 2009-03-07 01:57:09 -08:00
David Mandelin
a148ea64cd Add missing GC_POKE to js_SetRequiredSlot (481922, r=igor). 2009-03-07 01:32:22 -08:00
Andreas Gal
52cc17234c Check for non-stub getters/setters in SETNAME and SETPROP and invoke SetPropHit after setting the property in INITPROP (481989, r=brendan). 2009-03-07 01:25:37 -08:00
Andreas Gal
b18ca034e3 Better coordination of nested tree recording (481793, r=dmandelin). 2009-03-06 17:25:04 -08:00
Brendan Eich
0332084955 Bug 481516 - Assertion failure: pobj_ == obj2, at ../jsinterp.cpp:4276 when getting a property that is cached but shadowed (r=jorendorff). 2009-03-06 16:34:19 -08:00
Andreas Gal
c5d188e46b Don't import slots that have a non-stub setter (476871, r=jorendorff). 2009-03-06 16:10:45 -08:00
Jason Orendorff
03c079e78a Bug 481673 - JS_Assert is C++-name-mangled in non-DEBUG builds. r=brendan. 2009-03-06 13:51:11 -06:00
Andreas Gal
33d7df8eaf Abort recording when we come across a function being written into the global object (r=brendan, 481800). 2009-03-05 22:37:56 -08:00
Brendan Eich
2cc1145443 Bug 481754 - js1_8_1/trace/regress-462459-05.js - trace new Array regressed (r=gal). 2009-03-05 17:28:34 -08:00
Bob Clary
b39f349267 bug 481766 - update JavaScript Test failures. 2009-03-05 17:15:13 -08:00
Bob Clary
dece7951f3 bug 473709 - JavaScript Test by Gary Kwong. 2009-03-05 17:15:12 -08:00
Bob Clary
c3ed67a422 bug 457521 - JavaScript Test by Gary Kwong. 2009-03-05 17:15:12 -08:00
Bob Clary
d4a2cb841b bug 472787 - JavaScript Test by Gary Kwong. 2009-03-05 17:15:12 -08:00
Bob Clary
8f89cb3d2d bug 477758, bug 478968, bug 480479, bug 480657, bug 481246 - JavaScript Tests - merge js/src/trace-test.js and js/tests/js1_8_1/trace/trace-test.js. 2009-03-05 17:15:12 -08:00
Bob Clary
aaa410c697 bug 346749 - JavaScript Test by Blake Kaplan. 2009-03-05 17:15:12 -08:00
Bob Clary
01cacf5c8d bug 381963 - JavaScript Tests by Jesse Ruderman, Aiko. 2009-03-05 17:15:11 -08:00
Bob Clary
eed5462926 bug 384758 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:11 -08:00
Bob Clary
4b16ea80d8 bug 449657 - JavaScript Tests by Christopher Lenz, ash_mozilla. 2009-03-05 17:15:11 -08:00
Bob Clary
f4ed10bad7 bug 449666 - JavaScript Test by Robert Sayre. 2009-03-05 17:15:11 -08:00
Bob Clary
dfe7e5b79b bug 451673 - JavaScript Test by Boris Zbarsky. 2009-03-05 17:15:11 -08:00
Bob Clary
6f1504be91 bug 464092 - JavaScript Tests by Jesse Ruderman. 2009-03-05 17:15:10 -08:00
Bob Clary
313e16c6a4 bug 464096 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:10 -08:00
Bob Clary
2fe25e3e5f bug 465567 - JavaScript Tests by Jesse Ruderman. 2009-03-05 17:15:10 -08:00
Bob Clary
b4786bd1dc bug 467495 - JavaScript Tests by Gary Kwong, Brendan Eich, Igor Bukanov. 2009-03-05 17:15:10 -08:00
Bob Clary
b47b7ae88e bug 468711 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:10 -08:00
Bob Clary
39be807da4 bug 469234 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:10 -08:00
Bob Clary
e9d3f9c56b bug 469239 - JavaScript Tests by Jesse Ruderman. 2009-03-05 17:15:09 -08:00
Bob Clary
c30482b6c6 bug 469625 - JavaScript Tests by Gary Kwong, Jesse Ruderman and Jason Orendorff. 2009-03-05 17:15:09 -08:00
Bob Clary
748d73409a bug 469761 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:09 -08:00
Bob Clary
7d0f7db552 bug 472450 - JavaScript Tests by Gary Kwong. 2009-03-05 17:15:09 -08:00
Bob Clary
497552d977 bug 472508 - JavaScript Test by Gary Kwong, Jesse Ruderman. 2009-03-05 17:15:09 -08:00
Bob Clary
935d8ccdcd bug 474771 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:08 -08:00
Bob Clary
fed578cad0 bug 475144 - JavaScript Test by Gary Kwong. 2009-03-05 17:15:08 -08:00
Bob Clary
73da4e3f9b bug 475469 - JavaScript Test by Jesse Ruderman. 2009-03-05 17:15:08 -08:00
Bob Clary
6554817f46 bug 479353 - JavaScript Test by Gary Kwong. 2009-03-05 17:15:07 -08:00
Bob Clary
0892d49383 bug 300079 - Test is for clone and not for js1.8 features. Modify to use functions and move to js1_5/extensions/. 2009-03-05 17:15:07 -08:00
Bob Clary
b0e46278f6 bug 380237 - remove test created Object.prototype.copy. 2009-03-05 17:15:06 -08:00
Nicholas Nethercote
ea15e54ba4 Bug 475876: change --with-valgrind to --enable-valgrind and add hooks to tell valgrind about the JIT's self-modifying code. r=gal (JIT parts), r=luser (build config parts). 2009-03-05 13:24:03 -08:00
Igor Bukanov
4ccdead266 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00
Vladimir Vukicevic
52ab655d24 b=481351; TM ARM crash in js_FastNewObject while logging in to gmail (bad constant-offset load codegen); r=graydon 2009-03-04 22:36:22 -08:00
Graydon Hoare
7b0eb4b3f2 Bug 473989 - Temporarily back-out / disable trace-test on make check, due to failing tinderbox. 2009-03-04 22:10:00 -08:00
Brendan Eich
b6154d5863 Fix for --disable-jit (again). 2009-03-04 19:40:09 -08:00
Brendan Eich
53c9096f08 Bug 480759 - TM: trace RegExp constructors (r=gal). 2009-03-04 19:26:16 -08:00
Graydon Hoare
9bfa6dc356 Bug 473989 - Make check should run trace-test.js when ENABLE_JIT is defined, r=ted. 2009-03-03 18:59:28 -08:00
Graydon Hoare
d8ce64835c Assertion: "tree->root == tree" and crash while loading a website, r=gal. 2009-03-04 13:35:28 -08:00
Hiroyuki Ikezoe
583692b648 b=481291, missing return statements in NativeARM.cpp, r=vlad 2009-03-04 12:32:11 -08:00
Robert Sayre
8f71e6c715 Merge m-c to tm 2009-03-04 14:52:53 -05:00
Jason Orendorff
8833565dfd Bug 478217 - Kill win32.order. r=bsmedberg. 2009-03-04 09:12:22 -06:00
Igor Bukanov
7673dcfb1b Backed out changeset 5befb6301e9b for bug 480700 - the patch broke 32-bit linux build. 2009-03-04 12:39:04 +01:00
Igor Bukanov
cc613cdee5 bug 480700 - macros to cast between function and data pointers are public now. r=brendan,mrbkap 2009-03-04 12:10:57 +01:00
Brendan Eich
a57f1ef4a2 Keep --disable-jit working (480657, r=gal). 2009-03-04 00:38:46 -08:00
Brendan Eich
403138bf01 Followup patch for bug 481251. 2009-03-04 00:12:35 -08:00
Brendan Eich
f32c3d8613 Bug 480657 - TM: Add an API to define traceable constructors (r=gal, jorendorff). 2009-03-03 22:53:27 -08:00
Andreas Gal
5b7dfe03a9 Assert prototype shapes when reading a hole from a dense array instead of calling a builtin (481328, r=brendan). 2009-03-03 21:58:56 -08:00
Blake Kaplan
dfa1718740 Bug 480430 followup -- wrap for different-scope bug same-origin chrome wrappers since we have code that depends on it. 2009-03-03 20:26:13 -08:00
Andreas Gal
a1e02f0996 Fixed MacOSX breakage. 2009-03-03 18:27:49 -08:00
Andreas Gal
c03dba3fe5 Merge. 2009-03-03 18:04:36 -08:00
Andreas Gal
8c3223aab5 Browser spuriously sets runtime->anyArrayPrototypeHasElement and makes perf bad (481251, r=mrbkap). 2009-03-03 18:04:15 -08:00
Blake Kaplan
471bb67580 Bug 480430 followup -- don't wrap when the scopes are actually the same (even if they don't have principals. 2009-03-03 16:45:59 -08:00
Andreas Gal
0ba5dbee9c Bug 481260 - JIT stats in tracemonkey can interfere with stdout-using embeddings. Take 2. r=jorendorff. 2009-03-03 18:24:05 -06:00
Wes Garland
8f499d0a5e Bug 481260 - JIT stats in tracemonkey can interfere with stdout-using embeddings. r=jorendorff.
--HG--
extra : rebase_source : deded1db6537352709c91ad36510a0a6c8f1a29d
2009-03-03 18:15:30 -06:00
Graydon Hoare
e24ed2b771 Bug 480244 - Prevent recording of treecalls when function calls with extra args are in pending frames, r=gal. 2009-03-03 16:03:45 -08:00
Blake Kaplan
69b42859dd Bug 480430 - Don't wrap objects that are same-origin but differently scoped. r=jst sr=bzbarsky 2009-03-03 15:02:57 -08:00
Andreas Gal
3067959f6b Guard that we don't have to re-brand when writing a function into a slot if we didn't do so at recording time (481246, r=brendan). 2009-03-03 14:34:48 -08:00
Robert Sayre
f4c8ebe128 Merge tm to m-c. 2009-03-03 13:48:15 -05:00
Robert Sayre
100a8e68be Bug 476374 - JSON.parse does not support reviver argument as defined in spec. r=jorendorff 2009-03-03 12:55:11 -05:00
Robert Sayre
9104b2a35e Take out printfs. no relation to orange 2009-03-03 10:46:56 -05:00
Robert Sayre
65f0639f98 Merge. 2009-03-03 01:28:44 -05:00
Robert Sayre
5cbf3014e0 Check where we're calling JSON functions for a few runs. Temporary debug stuff. 2009-03-03 01:27:10 -05:00
Jeff Walden
1157d4c898 Back out bug 473256 due to subsequent inadequacies and potential performance regression 2009-03-02 19:19:26 -08:00
Jeff Walden
063f1e12d0 Backed out changeset d69277360499 2009-03-02 19:15:12 -08:00
Blake Kaplan
2c8b7a955f Bug 480096 - Don't leave the last argument lying around in case someone accidentally uses it. r=brendan 2009-03-02 15:05:32 -08:00
Robert Sayre
c5f751c11f Bug 459161 - Process first argument to JSON stringify and parse methods as specified by ES3.1, part 2. r=jorendorff 2009-03-02 17:00:28 -05:00
Jason Orendorff
ffaa49afc4 Bug 480856 - PurgeScopeChain should deep-bail. r=brendan.
--HG--
extra : rebase_source : b9c10596268b9421f66d9636342b7edf4419055e
2009-03-02 14:01:30 -06:00
Igor Bukanov
7f8a45e9f9 bug 479430 - adding mixing operation callback calls. r=gal 2009-03-02 14:32:27 +01:00
Andreas Gal
825420bd9b Whitespace and spelling fix (no bug, no code change). 2009-03-01 08:25:36 -08:00
Andreas Gal
053dabc000 Trace index out-of-bounds case of charCodeAt and optimize for integer case (480794, r=danderson). 2009-03-01 00:53:58 -08:00
Andreas Gal
4c04aa2f53 Backed out bug 480657. Massive failures across all platforms. 2009-02-28 23:40:04 -08:00
Andreas Gal
ee820bda7a Style nit (no bug, no code change). 2009-02-28 18:40:59 -08:00
Andreas Gal
7bd6cbad5f Add an API to define traceable constructors (480657, r=brendan). 2009-02-28 18:18:42 -08:00
Andreas Gal
829c9e498f A little helper function to make life in gdb more bearable (DEBUG only, no bug, r=danderson). 2009-02-28 16:21:18 -08:00
Jeff Walden
378c7d2cea Kicking Windows... 2009-02-27 22:32:38 -08:00
Jeff Walden
6913144660 Bug 480579 - __proto__ setting does not flag delegate, breaking deep property caching assumptions. Tag-team effort of Brendan and me, r=us 2009-02-27 22:23:09 -08:00
Jason Orendorff
73b1ee84ed Delete unused member variable and fix style issue discovered by Waldo just below. No bug. r=Waldo. 2009-02-27 13:34:32 -06:00
Jason Orendorff
ed15261253 Bug 480199 - Add assertEq function to JS shell. r=mrbkap. 2009-02-27 14:14:28 -06:00
Andreas Gal
d777e9758f Merge. 2009-02-26 21:54:01 -08:00
Andreas Gal
5731637e37 Permit and guard on dense arrays when tracing a not-found property acccess (480479, r=jwalden). 2009-02-26 21:53:30 -08:00
Jeff Walden
dec5c0deac Kick tinderboxen as I still think this orange is bogus, because all the oranges seem to be happening in different locations across runs 2009-02-26 21:00:15 -08:00
Andreas Gal
bc0dcd6437 Merge. 2009-02-26 19:01:19 -08:00
Andreas Gal
d16d686056 Trace reading undefined properties (478512, r=jwalden). 2009-02-26 19:01:02 -08:00
Jeff Walden
9a1e4b34b9 guardElemOp relies on op_offset representing JSObjectOps.getProperty or JSObjectOps.setProperty, so it should assert it. r=lumpy, sr=jack 2009-02-26 15:04:21 -08:00
Jeff Walden
0b4fa838ad Bug 473256 - TM: Wrong function called via f() when global f is reassigned on trace. r=brendan 2009-02-26 13:18:30 -08:00
Andreas Gal
c4ac318d0f Follow-up fix for 479109. Regenerate imacros.c.out and bump xdr bytecode version. 2009-02-26 12:19:24 -08:00
Andreas Gal
56117dc22a js_Array_dense_setelem can call arbitrary JS code (479487, r=jorendorff). 2009-02-26 11:59:07 -08:00
Robert Sayre
990a187dc6 Merge tracemonkey to mozilla-central. 2009-03-09 14:45:46 -04:00
Benjamin Smedberg
c4cc33cfae Bug 40967 - Avoid leaking MSYS paths in Makefiles: use c:/dir/path paths whenever possible, r=ted 2009-03-09 10:55:41 -04:00
brian crowder
1f7e7c617f Bug 439110 - xpcshell's load() just silently fails for non-existent files; r=mrbkap 2009-03-08 10:38:55 +01:00
Josh Aas
ab3b25ec6a Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
Markus Stange
97d6e4aab9 Fixing test_bug478438; only print exceptions when something fails so that the Tinderbox error parser doesn't get confused 2009-03-05 16:44:24 +01:00
Vladimir Vukicevic
384c46294b b=481351; TM ARM crash in js_FastNewObject while logging in to gmail (bad constant-offset load codegen) [ARM ONLY]; r=graydon 2009-03-04 22:36:22 -08:00
Blake Kaplan
730caf95a4 Bug 420642 - Remove a now-unnecessary eval hack. r+sr=jst 2009-03-04 16:28:49 -08:00
Blake Kaplan
e3650307b7 Bug 478910 - Unwrap |obj| because you can't use a wrapper as a variables object. r=brendan 2009-03-04 16:27:50 -08:00
Ben Newman
e6a74e3560 Bug 478438 - Can't access allAccess properties of cross-origin XPCNativeWrappers. r+sr=mrbkap 2009-03-04 13:49:08 -08:00
Hiroyuki Ikezoe
11bbc854d0 b=481291, missing return statements in NativeARM.cpp, r=vlad
--HG--
extra : transplant_source : %FEc%1C%F59X%27%A8%3B%A7%10Db%ABA1%CDR%D4%89
2009-03-04 12:32:11 -08:00
Blake Kaplan
3aa6182e81 Bug 481434 - Fix up the logic a bit. r+sr=bzbarsky 2009-03-04 12:17:11 -08:00
Igor Bukanov
896a95119f bug 477706 - fixing most VC 2005 warnings. r=gal,mrbkap 2009-02-26 09:49:39 +01:00
Andreas Gal
1cbf259c3c Improve blacklisting (479109, r=graydon). 2009-02-25 18:47:22 -08:00
Andreas Gal
78ba6b4a54 Make arrays with less than 256 entries always dense (479386, r=brendan). 2009-02-25 14:48:07 -08:00
Jason Orendorff
c864be7509 Bug 477351 - Assertion failure: cx->bailExit (from js_ReportAllocationOverflow from js_ConcatStrings). r=gal.
--HG--
extra : rebase_source : 52b5fea9846cfb36eeb4e295005634d9d490598e
2009-02-25 13:11:34 -06:00
Jason Orendorff
fff3f2d0f5 Bug 480016 - js/tests/js1_8_1/extensions/regress-477187.js uses timeout() but doesn't expectExitCode(6). r=bc.
--HG--
extra : rebase_source : b95ba1ccbbdf318786e2446276d80885602d574a
2009-02-25 12:41:41 -06:00
Jason Orendorff
ad88e65f08 Bug 381963 - Missing parens around genexp in |while|. r=Waldo.
--HG--
extra : rebase_source : c87b642082bf9e05c8fb7993fa8a37d3fa63b4ce
2009-02-25 11:36:39 -06:00
Jason Orendorff
243d477a55 Bug 479887 - Remove vestigial #ifdef MOZILLA_1_8_BRANCH. r=Waldo.
--HG--
extra : rebase_source : e5ea3d25ae24e6e9900819656f18e1e3830c5bdd
2009-02-23 17:37:36 -06:00
David Mandelin
3f004a5d96 Bug 477576: memory spike on Dromaeo string due to missing GC_POKE, r=igor 2009-02-25 11:09:21 -08:00
Jason Orendorff
3a3700435e Bug 480126 - jsstack.js static analysis errors in js_GetCurrentBytecodePC and specializeTreesToMissingGlobals. r=bsmedberg. 2009-02-25 11:42:39 -06:00
Robert Sayre
a5180ef247 Bug 465371 - Native JSON stringification aborts on functions and xml but returns JS_TRUE. r=shaver 2009-02-25 00:53:49 -05:00
David Anderson
10ded87ae6 Fixed breakage of type stability guarantees between linked trees, and fixed using the wrong global typemap in LeaveTree (bug 476653, r=gal). 2009-02-24 22:52:09 -05:00
Blake Kaplan
13ddb4e6e3 Bug 480035 - Don't iloop if we GC exactly once. r=gal 2009-02-24 16:16:28 -08:00
David Anderson
1764059a8f Fixed emitTreeCall crashing on deep aborts (bug 472508, r=gal). 2009-02-24 15:26:59 -05:00
Jason Orendorff
be299388d1 Bug 477279 - Tune dense array growth. r=brendan.
--HG--
extra : rebase_source : 4493d59e8bd46c1635d2f8cef39f87904d83e09f
2009-02-23 17:31:02 -06:00
Jason Orendorff
2f464f3348 Bug 479826 - Remove cx->pcHint. r=gal.
--HG--
extra : rebase_source : caf9fef929fe161fad2f6a98b53cb3d00e43f31f
2009-02-23 17:29:40 -06:00
Jason Orendorff
44263bbd33 Bug 479551 - Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread, at js/src/jsapi.cpp:957 after typing EOF at js shell prompt. r=igor and mrbkap.
--HG--
extra : rebase_source : 56a0fc0823e7a9500befc65da530d86bba564a97
2009-02-23 17:28:46 -06:00
Leon Sha<leon.sha@sun.com>
604e62a813 Bug 476042 - Integrate sparc nanojit intro tracemonkey. Put the flush instruction cache code to the correct place. r=gal 2009-02-24 12:46:27 +08:00
Andreas Gal
d8bfd089e8 Backout 479109. Breaks trace-tests. 2009-02-23 12:29:08 -08:00
Blake Kaplan
ffb311cd1c Fix build bustage from bug 479109. 2009-02-23 12:11:44 -08:00
Andreas Gal
8ee9d2df93 Merge. 2009-02-23 11:34:50 -08:00
Andreas Gal
c36a8ab483 Improve blacklisting algorithm (479109, r=graydon). 2009-02-23 11:31:20 -08:00
Robert Sayre
12943580cf Merge m-c to tracemonkey. 2009-02-23 12:44:23 -05:00
Igor Bukanov
45a09793e2 bug 479701 - single-threaded js shell now compiles on Windows again (regression from bug 479252) 2009-02-22 21:21:16 +01:00
Jeff Walden
5d932d1110 Bug 478968 - TM: equalityHelper can call toString or valueOf erroneously when tracing obj == undefined. r=brendan 2009-02-21 23:33:58 -08:00
Mook
7042bfbd1e Bug 437922 - use JS_MAX instead of the max() macro in prmjtime due to mingw-w64 bustage; r=mrbkap 2009-02-23 02:08:00 +01:00
Blake Kaplan
24cf18952c Fix compiler warning in jstracer.cpp. No bug, r=brendan/jorendorff 2009-02-21 14:35:05 -08:00
Blake Kaplan
adf5d20bc2 Fix bustage from checkin for bug Bug 479566 2009-02-21 14:25:43 -08:00
Jason Orendorff
15b9f03458 Bug 479566 - Rename array "dense length" to capacity. r=shaver. 2009-02-21 15:33:50 -06:00
Jason Orendorff
bf8b9e17e4 Bug 479353 - Crash [@ Detecting] or "Assertion failure: (uint32)(index_) < atoms_->length, at ../jsobj.cpp". r=igor. 2009-02-20 18:22:51 -06:00
Jason Orendorff
f6405f0cb3 Bug 479381 - js_FinalizeStringRT dies with multi-threaded app. r=igor. 2009-02-20 18:15:58 -06:00
Igor Bukanov
fe9a728583 bug 479252 - avoiding watchdog ticks when idle in jsshell. r=gal 2009-02-20 13:47:46 +01:00
Andreas Gal
7fe73224c5 Back out a2b6a4c57a05 (bug 24968). Cross-platform orange. 2009-02-19 22:13:13 -08:00
Andreas Gal
28fe969521 Trace reading undefined properties (478512, r=brendan). 2009-02-19 19:41:03 -08:00
Nicholas Nethercote
bf6590048b Bug 478340 - TM: kill many of the warnings when building 'js'. r=mrbkap 2009-02-19 11:17:31 -08:00
Igor Bukanov
7ac32de806 bug 478543 - fixing warnings about casts between function and data pointers. r=brendan 2009-02-19 09:33:37 +01:00
Jim Blandy
2d6ea8b787 Bug 478075: Remove parent argument to js_GetCallObject. r=brendan 2009-02-18 23:57:24 -08:00
Bob Clary
1efa71ae97 bug 479538 - Sishyphus - JavaScript tests - patterns maintenance. 2009-02-20 16:57:11 -08:00
Bob Clary
1c1c5bc488 bug 4758354 - JavaScript Test by Brendan Eich. 2009-02-20 16:57:10 -08:00
Bob Clary
a186b54de4 bug 479202 - correct bug numbers in tests. 2009-02-20 16:57:09 -08:00
Bob Clary
e80aff11fd bug 476869 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:06 -08:00
Bob Clary
fa7fcd9755 bug 476940 - JavaScript Test by T. Rosenau. 2009-02-20 16:57:06 -08:00
Bob Clary
039811b3fb bug 477048 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:05 -08:00
Bob Clary
d93e5187d3 bug 477053 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:05 -08:00
Bob Clary
b450fe231d bug 477158 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:05 -08:00
Bob Clary
22ef6e4947 bug 477187 - JavaScript Test by Andreas Gal. 2009-02-20 16:57:05 -08:00
Bob Clary
e41abeddb5 bug 477234 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:04 -08:00
Bob Clary
ee97625d06 bug 477581 - JavaScript Test by Jason Orendorff. 2009-02-20 16:57:04 -08:00
Bob Clary
d7e85cff05 bug 477758 - JavaScript Test by David Greenspan. 2009-02-20 16:57:04 -08:00
Bob Clary
7c6f609f0d bug 478205 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:03 -08:00
Bob Clary
667f8aabea bug 478314 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:03 -08:00
Bob Clary
5fd6ac892d bug 383269 - modify test to handle uncaught exception. 2009-02-20 16:57:03 -08:00
Bob Clary
346a28f9db bug 328897 - modify test to handle uncaught exception. 2009-02-20 16:57:03 -08:00
Bob Clary
fef6c1fa3a bug 372331 - modify test to handle uncaught exception. 2009-02-20 16:57:02 -08:00
Bob Clary
595ef6177d bug 354998 - modify test to handle uncaught exception. 2009-02-20 16:57:02 -08:00
Bob Clary
de2854f550 bug 451974 - in order to exclude randam passes on platforms that do not support jit, require jit time to be less than 1/2 non jit time in order to pass. 2009-02-20 16:57:02 -08:00
Bob Clary
d37da53734 bug 470739 - in order to exclude randam passes on platforms that do not support jit, require jit time to be less than 1/2 non jit time in order to pass. 2009-02-20 16:57:01 -08:00
Bob Clary
0cf0335d8a bug 469927 - in order to exclude randam passes on platforms that do not support jit, require jit time to be less than 1/2 non jit time in order to pass. 2009-02-20 16:57:01 -08:00
Bob Clary
e3d80f9559 bug 478047 - JavaScript Test by Norris Boyd and modify tests to handle new TypeError setting a property with only a getter. 2009-02-20 16:57:01 -08:00
Bob Clary
36c37e0712 bug 476414 - JavaScript Tests by Gary Kwong, Jesse Ruderman. 2009-02-20 16:57:00 -08:00
Bob Clary
275b555766 bug 476427 - JavaScript Test by Gary Kwong. 2009-02-20 16:57:00 -08:00
Bob Clary
e8b8283fb2 JavaScript Tests - merge js/src/trace-test.js into js/tests/js1_8_1/trace/trace-test.js - bug 462027, bug 463243, bug 465915, bug 468782, bug 469044, bug 472533, bug 473075, bug 474769, bug 474771, bug 475761, bug 476873, bug 477158, bug 477581 2009-02-20 16:57:00 -08:00
Bob Clary
6198f45561 bug 470187 - JavaScript Test by Jesse Ruderman. 2009-02-20 16:57:00 -08:00
Bob Clary
20ac3ce9b8 bug 474771 - JavaScript Test by Jesse Ruderman. 2009-02-20 16:56:59 -08:00
Bob Clary
8b24670471 bug 470310 - JavaScript Test by Jesse Ruderman. 2009-02-20 16:56:59 -08:00
Bob Clary
8f4db81fb4 bug 469397 - JavaScript Test by Adam L. Peller. 2009-02-20 16:56:59 -08:00
Bob Clary
e02bc98591 bug 469044 - JavaScript Test by Jesse Ruderman. 2009-02-20 16:56:59 -08:00
Bob Clary
7d826a9a38 bug 453955 - JavaScript Test by Gary Kwong. 2009-02-20 16:56:58 -08:00
Bob Clary
dbce9f6699 bug 455464 - remove extraneous statements in test. 2009-02-20 16:56:58 -08:00
Bob Clary
3f240b1db4 bug 476447 - JavaScript Test by simonzack. 2009-02-20 16:56:58 -08:00
Bob Clary
0b89a5a620 bug 476458 - fix bisect.sh to handle local changes in the source tree during hg bisect. 2009-02-20 16:56:57 -08:00
Bob Clary
fb6d1a966e bug 466787 - JavaScript Test by Jesse Ruderman. 2009-02-20 16:56:57 -08:00
Bob Clary
49bfaafaaa bug 465454 - JavaScript Test by Jesse Ruderman. 2009-02-20 16:56:57 -08:00
Bob Clary
1eddea09d7 bug 462459 - JavaScript Test. 2009-02-20 16:56:57 -08:00
Bob Clary
de8c030441 bug 475645 - JavaScript Test by Carsten Book. 2009-02-20 16:56:56 -08:00
Bob Clary
30c99353c8 bug 466905 - JavaScript Tests by Jesse Ruderman and Jeff Walden. 2009-02-20 16:56:56 -08:00
Doug Turner
f13be3aee2 Bug 318077
7 - reverting the work around for PR_MemMap on windows CE. r=blassey
2009-02-20 11:56:31 -08:00
Benjamin Smedberg
c3c3067a9f Followup to bug 478443 - The creation of these directories also depends on the existence of nsinstall. This was found in tryserver clobber builds. 2009-02-19 21:52:17 -05:00
Brian Crowder
6475c0218b Fixing a typo 2009-02-19 15:15:32 -08:00
Brian Crowder
9ec3c823ee Bug 479320 - improving JS_STATIC_ASSERT macrology for WinCE, r=jorendorff 2009-02-19 15:00:46 -08:00
Jason Orendorff
c2b7c85bf9 Backed out changeset 1145cd361cac. 2009-02-19 14:59:02 -06:00
Jason Orendorff
6921fec1a3 Change definition of JS_STATIC_ASSERT macro to avoid declaring a function, which causes mysterious trouble on Windows CE. Sort of reviewed by blassey, approved-ish by sayrer.
--HG--
extra : rebase_source : 042111fb93c8d743b55642ce3baea1e437c6e6ee
2009-02-19 13:33:06 -06:00
Jason Orendorff
e84dbf81b7 Bug 432361 - "Assertion failure: script->code[offset] == JSOP_NOP" with trap, dis. r=crowder. 2009-02-18 18:33:09 -06:00
Jason Orendorff
c936fbe2d4 Bug 463239 - JS_SetTrap alters code execution. r=brendan. 2009-02-18 18:31:09 -06:00
Benjamin Smedberg ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
d40f9751c8 Bug 476643 - JS_REQUIRES_STACK errors in nsXPCWrappedJSClass::CallMethod. Mozilla code uses some JS-internal APIs and needs to bail off trace before doing so. This shouldn't affect performance now becuase XPConnect methods are not traceable yet. r=mrbkap, sr=mrbkap. 2009-02-18 12:47:16 -06:00
Jason Orendorff
4dbb549ebc Bug 477143 - jsstack.js static analysis error in js_GetPropertyHelper. r=mrbkap. 2009-02-18 13:14:41 -06:00
Jeff Walden
1fd43d31f4 Followup nitfixes to bug 463243 not noted in final reviews. Egads, how'd I miss some of these? 2009-02-17 10:27:24 -08:00
Jason Orendorff
6431f3391d Bug 476716 - Split ip_adj into two pointer fields, pc and imacpc. r=brendan. 2009-02-16 17:09:59 -06:00
Jason Orendorff
4e85d8fc3e Bug 384758 - A statement can follow an expclo without an intervening semicolon. r=igor. 2009-02-16 16:37:08 -06:00
Leon Sha<leon.sha@sun.com>
128a82a274 Bug 476042 - Integrate sparc nanojit intro tracemonkey. r=gal, r=jim. 2009-02-16 10:10:03 +08:00
Blake Kaplan
ddb759753a Bug 478314 - Improve this error message and the corresponding comment to help future debuggers. r=gal 2009-02-13 14:07:45 -08:00
Blake Kaplan
e36a2a81d8 Bug 478314 - Eagerly call f2i to root out constant values. r=gal
--HG--
extra : rebase_source : cef514efb5b94f9974f918b118548e0d6fa06ee3
2009-02-13 13:44:12 -08:00
Robert Sayre
d0521c26b5 Bug 459161 - Process first argument to JSON stringify and parse methods as specified by ES3.1. r=shaver 2009-02-13 15:34:39 -05:00
Blake Kaplan
67ff39ca4e Bug 478317 - Don't jump based on uninitialized memory. r=dmandelin 2009-02-13 11:11:16 -08:00
David Mandelin
11b3722269 Bug 468840 refix: count JS_realloc memory more accurately, r=mrbkap 2009-02-12 16:18:04 -08:00
David Mandelin
59e090f927 Bug 478205: assert in new tableswitch generator with non-numeric input, r=gal 2009-02-12 12:57:45 -08:00
Robert Sayre
695b4646c3 Merge tm to mc 2009-02-19 11:48:08 -05:00
Benjamin Smedberg
2027008879 Bug 478443 - fix for pymake: provide an explicit value for RM so that we don't rely on the gmake implicit value. Fix some rules in js/src that don't make much sense r=ted 2009-02-19 10:33:11 -05:00
Jim Blandy
ede7e6d142 Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Ginn Chen
0d910885ae Bug 476448 fix for Sun Studio Express r=jim 2009-02-18 19:45:21 +08:00