Commit Graph

4848 Commits

Author SHA1 Message Date
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
Ben Turner
640a5fdfa3 Bug 477924 - 'Context switch in mozJSComponentLoader::ImportInto without suspending outer context's request'. r+sr=jst, a=blocking1.9.1+ 2009-02-17 20:11:09 -08:00
Robert Sayre
a3ab3a989e Merge tm to m-c. 2009-02-17 20:08:01 -05:00
Graydon Hoare
195e361c59 Bug 477425 - Back out lirbuf-based allocation of fragments and treeinfos, r=gal. 2009-02-11 21:59:57 -08:00
Robert Sayre
d6d739fcba Merge mc to tm 2009-02-11 23:05:46 -05:00
Blake Kaplan
42b1e63a5b Bug 478047 - Assignments to a property that has a getter but not a setter should throw a TypeError. r=igor 2009-02-11 19:48:00 -08:00
David Mandelin
39b9e72a0c Bug 475115: LIR_jtbl: jump tables to implement jsop_tableswitch, r=gal,r=edwsmith 2009-02-11 17:40:27 -08:00
Leon Sha<leon.sha@sun.com>
3b110ae248 Bug 477187 - Eliminate operationCount. Add signal.h to include files. gal: review+ 2009-02-12 09:37:41 +08:00
Jason Orendorff
0e5b827700 Bug 477052 - Make some nanojit classes initialize their members. r=edwsmith,gal.
--HG--
extra : rebase_source : 2f2c77ab6f4d4e373466ef766f0532450af5d370
2009-02-11 18:40:54 -06:00
Blake Kaplan
5ccd8f59ba Bug 472450 - Don't record after js_GetScopeChain, since we can't successfully recover from a side exit. r=gal 2009-02-11 15:16:20 -08:00