Commit Graph

4932 Commits

Author SHA1 Message Date
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
Wladimir Palant
0028837f26 Bug 475334 - Don't trigger debugger hooks until frame initialization is complete. r=mrbkap 2009-02-11 22:28:55 +01:00
Jason Orendorff
c9b0918474 Bug 477142 - _FAIL builtins need to be GC-safe. r=brendan.
--HG--
extra : rebase_source : 10515f7d1f5a85c1965c812f55d91d3d0f49a28e
2009-02-11 13:33:17 -06:00
Blake Kaplan
7a049d6777 Bug 477758 - If we fall into the regexp getter case, we need to pass the original object in, not the prototype. r=brendan 2009-02-10 17:48:00 -08:00
Andreas Gal
3c8ad838ca Merge. 2009-02-10 17:19:42 -08:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Andreas Gal
fd4421f8bd Don't try to align fragment entry with nopl since some processors do not support it (473552, r=graydon). 2009-02-10 17:18:57 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic
ecf8d0a67a b=477735; fix XPCOMUtils.generateQI to handle null/undef members in array; r=sayrer 2009-02-10 15:10:07 -08:00
Andreas Gal
f94a259662 Merge. 2009-02-10 14:07:31 -08:00
Andreas Gal
93eb39269d Substitute operation counting with a watchdog thread (477187, 3nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-10 14:07:01 -08:00
Robert Sayre
7401f9c47c Merge tm to m-c 2009-02-10 16:03:33 -05:00
Blake Kaplan
d9f6caa753 Bug 477128 - Don't throw if XPCNativeWrapper is called as a function but passed a primitive value to allow for safe primitive testing. r+sr=jst 2009-02-10 12:06:56 -08:00
Jason Orendorff
0fcee1ed9f Bug 477713 - Allow LIR_ret at end of trace. r=edwsmith. 2009-02-10 13:23:27 -06:00
Boris Zbarsky
eebf50ce30 No longer need these gcparam calls to improve performance. In fact, even on hardware with a lot of RAM we're faster running the mandelbrot tests without these calls. 2009-02-10 13:22:21 -05:00
Graydon Hoare
5a88071db0 Bug 477425 - Fix pathological doubling in Fragmento uncovered by new pressure on lirbuf, r=jorendorff. 2009-02-10 10:08:58 -08:00
Andreas Gal
474d0d308f Backout bug 477187. 2009-02-10 09:54:14 -08:00
Andreas Gal
f796bcd60a Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-10 03:45:36 -08:00
Andreas Gal
7ea402f38c Merge. 2009-02-09 22:54:41 -08:00
Andreas Gal
2a20c2a6de Backing out bug 477187. Breaks xpcshell. 2009-02-09 22:54:05 -08:00
Graydon Hoare
ed7d2bc1e7 Bug 466747 - Flush script-associated fragments more correctly by unlinking from hash chain, r=jorendorff. 2009-02-09 20:54:08 -08:00
Andreas Gal
2e46d80547 Merge. 2009-02-09 18:21:15 -08:00
Andreas Gal
cbfbbd3cac Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-09 18:20:50 -08:00
Graydon Hoare
8c3802fc54 Bug 466747 - Flush fragments for a JSScript when it is destroyed, r=gal. 2009-02-09 16:58:39 -08:00
Graydon Hoare
d459aeaced Bug 477425 - Allocate TreeInfo and UnstableExit in LirBuffer, r=gal. 2009-02-09 16:49:25 -08:00
Jason Orendorff
fe52baef8e Bug 477581 - "Assertion failure: !JSVAL_IS_PRIMITIVE(regs.sp[-2]), at ../jsinterp.cpp:3237" with generator on trace. r=brendan. 2009-02-09 14:23:24 -06:00
Ben Turner
ddcf726aa4 Bug 477319 - "Some objects left locked in tracer code". r=brendan, a=blocking1.9.1+. 2009-02-08 16:36:55 -08:00
Jeff Walden
19207254e5 Remove some trailing whitespace to maybe kick build machines out of an orange 2009-02-08 03:30:29 -08:00
Jeff Walden
31fdce5e81 Bug 467747 - JS version/option unsyncing results in JS modules not being loaded with the very latest JS version, resulting in syntax errors when loading modules that use new JS syntax. r=brendan 2009-02-07 23:23:01 -08:00
Blake Kaplan
843dd4928c Bug 469405 - Handle an __iterator__ implementation returning a primitive value on trace. r=brendan 2009-02-07 11:28:23 -08:00
Igor Bukanov
277f1a0d54 bug 477021 - make sure that js_(New|Destroy)Context() do not race against the GC. r=brendan 2009-02-07 12:39:57 +01:00
Igor Bukanov
61cd533870 bug 476934 - JS_(Set|Clear)ContextThread() must wait bfor the GC. r=brendan 2009-02-07 05:05:32 +01:00
Jason Orendorff
c2b586c1f2 Bug 477234 - TM: "Assertion failure: v != JSVAL_ERROR_COOKIE, at ../jstracer.cpp" with proto, getter. r=gal.
--HG--
extra : rebase_source : b5836e7c7475463f690341f8e5f505cf3a263675
2009-02-06 16:30:48 -06:00
Blake Kaplan
3741d9d37a Bug 477174 - Always release this file descriptor. r=brendan 2009-02-06 14:28:48 -08:00
Blake Kaplan
79c0a0ed2b Bug 476940 - Report an error when a script tries to use duplicate flags on a regexp. r=brendan 2009-02-06 14:28:48 -08:00
Jeff Walden
a14b2eefd1 Bug 477158 - TM: "Assertion failure: v == JSVAL_TRUE || v == JSVAL_FALSE, at ../jsapi.h". r=gal 2009-02-06 13:53:27 -08:00
David Mandelin
31fc461439 Bug 465656: word-at-a-time compiled regexp matching, r=gal 2009-02-06 13:41:21 -08:00
Robert Sayre
4bd2cf8d3d Fix bustage from Bug 476873 2009-02-06 12:36:14 -08:00
David Mandelin
83754b8113 Merge 2009-02-06 12:00:40 -08:00
David Mandelin
e38c9322a4 Bug 476560: nanojit assembler needs to clear its state before each compilation, r=gal 2009-02-06 11:59:54 -08:00
Jason Orendorff
a6c94cb8ca Fix compilation errors on Windows due to a misplaced __fastcall introduced in changeset 527b21f9ab77. 2009-02-06 13:53:29 -06:00
Jason Orendorff
b93b5173f2 Bug 476873 - TM: Trace JSOP_ARRAYPUSH. r=brendan. 2009-02-06 13:19:06 -06:00
Andreas Gal
a4a912921f If js_AddAsGCBytes is called from trace and wants to GC and we can bail off trace then do so instead of returning an error (476869, r=jorendorff). 2009-02-06 10:11:45 -08:00
Jason Orendorff
8a3b35c57e Bug 477048 - Assertion failure: cg->stackDepth == loopDepth, at ../jsemit.cpp. r=brendan. 2009-02-06 11:04:49 -06:00
Jason Orendorff
dcbe94da52 Bug 473075 - TM: HasProperty can call into exotic lookupProperty hooks. r=brendan.
--HG--
extra : rebase_source : 3a242c9fc4d0c41747169e39831ecf08e8b79017
2009-02-05 19:49:54 -06:00
Jeff Walden
2ec31b1171 Back out 21494181fdb8 and subsequent merges because they turned OS X red. 2009-02-05 15:42:45 -08:00
Andreas Gal
a863ed57b4 Merge. 2009-02-05 15:16:17 -08:00
Andreas Gal
40c6989500 Merge. 2009-02-05 15:15:50 -08:00
Blake Kaplan
2ba33695f7 Bug 477053 - Protect against evil E4X jsvals in args_resolve. r=brendan 2009-02-05 14:50:26 -08:00
Andreas Gal
7f9ae88519 If js_AddAsGCBytes is called from trace and wants to GC and we can bail off trace then do so instead of returning an error (476869, r=jorendorff). 2009-02-05 14:43:17 -08:00
Andreas Gal
b7ee7cba05 Merge. 2009-02-05 11:18:43 -08:00
Andreas Gal
0491e2d094 Add skip() to LirFilter so we can pass skip-requests through instead of going to the LirBufWriter directly (477089, r=shaver). 2009-02-05 11:14:44 -08:00
Igor Bukanov
5fb2f0b511 bug 467495 - JSOP_DEFUN fixes to deal with non-top-level function statements redeclaring local argument and variables. r=brendan 2009-02-05 14:11:04 +01:00
Jeff Walden
8f06b55946 How in the world did jstracer.cpp accumulate so much trailing whitespace? Kicking Linux this time around... 2009-02-05 01:09:54 -08:00
Jeff Walden
56f45fc062 Kill trailing whitespace in jstracer.h to kick a box out of a bogus orange 2009-02-04 22:57:25 -08:00
Jeff Walden
ece84ef199 Bug 474501 - JS array and object literals should define properties, not set them, to avoid calling getters or setters along the prototype chain. r=brendan 2009-02-03 23:14:36 -08:00
Jeff Walden
3c038a63cb Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan 2009-02-03 13:56:25 -08:00
David Mandelin
e145a4b2b7 Fix warning for unhandled switch cases 2009-02-04 18:58:07 -08:00
David Mandelin
63ebd4662c Fix initialization order warning 2009-02-04 18:49:54 -08:00
Andreas Gal
53a6d45f78 Assert that we don't leak JSVAL_ERROR_COOKIE along the JSVAL_BOXED path (r=me, debug only.) 2009-02-04 17:42:34 -08:00
Andreas Gal
4b139856e3 Don't expect to pass test for bug 458838 in trace-tests.js until we have upvar (r=me, no code changes.) 2009-02-04 14:59:47 -08:00
Robert Sayre
6e83ebc016 Merge tm to m-c 2009-02-04 12:47:50 -08:00
Graydon Hoare
d1049135f4 Bug 469625 - Deoptimize special own-properties, r=brendan. 2009-02-04 11:08:31 -08:00
Andreas Gal
52dd4013fb Merge. 2009-02-04 01:47:57 -08:00
Andreas Gal
359fa8c1b5 Backout bug 474501. Causes a massive slowdown in trace-tests.js that needs to be investigated. 2009-02-04 01:47:44 -08:00
Mark Banner
11f1eafae9 Bug 476676 --enable-static builds (for comm-central apps) broken on trunk due to xpcshell requiring libxul - disable building of xpcshell for static builds. r=ted.mielczarek 2009-02-04 08:15:24 +00:00
Andreas Gal
dbd6b23ded Merge. 2009-02-03 23:58:16 -08:00
Andreas Gal
e11aacb012 Merge. 2009-02-03 23:57:34 -08:00
Andreas Gal
b67445e7eb Re-land bug 475396. It seems it didn't cause the orange-ness after all. 2009-02-03 23:57:12 -08:00
Jeff Walden
6a3bcef361 Bug 474501 - JS array and object literals should define properties, not set them, to avoid calling getters or setters along the prototype chain. r=brendan 2009-02-03 23:14:36 -08:00
Vladimir Vukicevic
4aacd882a6 b=476786; tracemonkey crash with verbose in debug mode; r=gal 2009-02-03 21:20:59 -08:00
Vladimir Vukicevic
fc839e5b69 b=474517; add option for trace-test to skip slow tests; r=shaver 2009-02-03 21:11:09 -08:00
Andreas Gal
b4e92e708c Merge. 2009-02-03 20:31:19 -08:00
Andreas Gal
71d9ce93bc Backed out bug 475396. Suspected of causing Linux orange-ness. 2009-02-03 20:31:05 -08:00
Andreas Gal
3d1dd7285b Object_p_hasOwnProperty and Object_p_propertyIsEnumerable should be BOOL_FAIL, not BOOL_RETRY (476760, r=brendan). 2009-02-03 18:49:43 -08:00
Jason Orendorff
1a135641c5 Bug 462042 - TM: Allow GC with traced machine code on stack. r=brendan. 2009-02-03 18:25:18 -06:00
Jason Orendorff
e4c1fb1cfd Bug 462027 - Bail off trace when reentering interpreter. r=gal. 2009-02-03 18:25:12 -06:00
Jeff Walden
461e28ae88 Backed out changeset ca733f2cc237; looks like some include system weirdness is biting where an old version of jsapi.h is being included which then causes a *newer* included version to miscompile. Weird, still investigating... 2009-02-03 15:48:30 -08:00
Jeff Walden
e356cf1d3a Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan 2009-02-03 13:56:25 -08:00
Benjamin Smedberg
b2badb073f Bug 476800 - kill variadic macro warnings r=ted 2009-02-10 08:33:58 -05:00
Peter Weilbacher
d026151ac5 [OS/2] Bug 474020: add AVMPLUS_OS2 to get through the js's configure, r=ted.mielczarek 2009-02-10 13:48:41 +01:00
Blake Kaplan
db79b857e5 Bug 475396 - Disable upvar optimizations under JS_EvaluateUCInStackFrame because we can't vouch for the display being right. r=brendan 2009-02-03 13:20:19 -08:00
David Mandelin
e62fb21f2a Fixed signed/unsigned compare warning 2009-02-03 10:59:24 -08:00
Jason Orendorff
27c16ff3b1 Bug 476666 - TM: Crash reading near 0 @Detecting, regression due to bug 476238. r=gal. 2009-02-03 12:39:46 -06:00
Jason Orendorff
4e3f2cfd40 Revert to 07be1f190a3d. Revision 5f5c1cd63641 should not have been pushed. 2009-02-03 12:38:44 -06:00
Jason Orendorff
fd4bd7a53c Merge. 2009-02-03 12:22:55 -06:00
Jason Orendorff
f8ca22b197 Bug 476666 - TM: Crash reading near 0 @Detecting, regression due to bug 476238. r=gal. 2009-02-03 12:19:50 -06:00
Robert Kaiser
1ef654b1ca bug 474732 - Rerunning configure causes the world to be rebuilt, r=ted 2009-02-03 16:29:21 +01:00
Nickolay_Ponomarev
1820b09634 Bug 472258 - Reinitializing one-shot timers by resetting delay (->SetDelay) doesn't work anymore - fix callers; r+sr=bzbarsky 2009-02-03 15:42:21 +01:00
Brendan Eich
2cbed5bed4 Give up on automation due to intermittent redness (r=jst). 2009-02-02 18:51:47 -08:00
Jason Orendorff
df4d8addef Bug 462042 - TM: Allow GC with traced machine code on stack. r=brendan. 2009-02-02 20:49:53 -06:00
Jason Orendorff
f6ffd1d380 [mq]: bug-462027-v9 2009-02-02 20:42:46 -06:00
Andreas Gal
68e8901a4a Bake the value of fp->imacpc into the trace and report it at recording time when detecting inside JSOP_GETELEM (follow-up for 476238, r=brendan,jorendorff). 2009-02-02 18:21:28 -08:00
Andreas Gal
37c6216a54 Merge. 2009-02-02 17:26:22 -08:00
Andreas Gal
3682914dfd Leave a hint for GetProperty in the context so it can figure out the current bytecode location without de-optimizing (476238, r=jorendorff). 2009-02-02 17:25:59 -08:00
Brendan Eich
8616d3c893 Try hardest of all (last time) to fix redness (r=nthomas). 2009-02-02 16:49:28 -08:00
Brendan Eich
eaee2dba84 Try hardest to fix redness (r=me). 2009-02-02 15:15:07 -08:00
Brendan Eich
526f6564d7 Try harder to fix redness (r=bsmedberg). 2009-02-02 14:34:45 -08:00
Brendan Eich
95121367a0 Try to fix redness (r=ted). 2009-02-02 14:17:43 -08:00
Brendan Eich
c2c9e37e08 Bug 476181 - imacros.c.out out of date; also Makefile.in bustage/cleanup (r=ted/jorendorff). 2009-02-02 13:53:35 -08:00
Igor Bukanov
70bfc5a80d bug 476049 - optimizing js_CheckRedeclaration for the common case of non-existing properties. r=brendan 2009-02-02 20:53:56 +01:00
Andreas Gal
9ae445580b Merge. 2009-02-01 23:16:39 -08:00
Andreas Gal
4d4966294d Assert that JSVAL_ERROR_COOKIE doesn't leak from the JIT into the interpreter (r=me, debug only). 2009-02-01 23:16:00 -08:00
Blake Kaplan
561c7c3f03 Add a mochitest for bug 477431. 2009-02-26 17:01:42 -08:00
Serge Gautherie
dbc82ba905 Bug 480227 - check-sync-dirs.py : (further) improve output format
(Av1) Be (some) more consistent, internally and externally
2009-03-02 17:13:27 +01:00
Robert Sayre
63eb5825cc Merge. 2009-03-02 01:33:33 -05:00
Robert Sayre
ae78a8d6dc Bug 464159 - Quickstubs leaks IIDs. r=jorendorff 2009-03-02 01:32:40 -05:00
Walter Meinl
4ad9fe786b Bug 426639 - Fix the test harness to work on OS/2; m-c *.mk files; r=mozilla@Weilbacher.org 2009-03-02 07:28:09 +01:00
Robert Sayre
5bdafd3aba Merge tm to m-c. 2009-02-28 12:38:33 -05:00
Vladimir Vukicevic
a9f156bfa4 b=480659; special-case 1-char match nodes for ARM jit; r=dmandelin 2009-02-27 15:37:13 -08:00
Benjamin Smedberg
b47e9606c5 Bug 480069 - Recursive submakes without shell loops, r=ted 2009-02-27 16:03:53 -05:00
Ginn Chen
db99836469 Bug 476042 Integrate sparc nanojit, fix for LDUB/LDUH, r=gal 2009-02-27 17:17:08 +08:00
Doug Turner
dae242de12 bug 473180. remove TARGET_DEVICE=emulator. It was an old hack to get builds working on wince simulators. no longer needed r=ted+jimb 2009-02-26 12:23:25 -08:00
Vladimir Vukicevic
a8f8d5c9c7 b=479525; fix nanojit on Windows CE (calling conventions, disable regexp double-char optimization); r=dmandelin 2009-02-26 12:04:37 -08:00
Atsushi Sakai
56eb68cdb6 Bug 478161 - 5th arg of mktime should begin at zero; r=ted.mielczarek 2009-02-26 18:27:41 +01:00
Blake Kaplan
b6d30b3a27 Bug 478433 - Use a better method to create this function. r+sr=jst 2009-02-25 17:33:54 -08:00
Blake Kaplan
db3e4717db Bug 477431 - The JS spec says that we have to iterate over string properties only. r+sr=jst 2009-02-25 17:33:12 -08:00
Blake Kaplan
086c266705 Bug 435151 - XPCSafeJSObjectWrapper's construct hook was not correct. r+sr=jst 2009-02-25 17:32:23 -08:00
Blake Kaplan
14658eb0ed Bug 479288 - Move wrapping back into the outerObject hook. r+sr=bent/jst 2009-02-25 17:32:09 -08:00
Robert Sayre
d9eda25bc6 Merge tracemonkey to m-c. 2009-02-25 15:05:47 -05:00
Jason Orendorff
83d8c84902 Bug 480126 - jsstack.js static analysis errors in js_GetCurrentBytecodePC and specializeTreesToMissingGlobals. r=bsmedberg. 2009-02-25 11:42:39 -06:00
Serge Gautherie
3ae5b8a3f4 Orange fix for "changeset: 4f3614d130da" of
Bug 442109 - youtube videos don't play; r=vladimir
which missed to sync this file
2009-02-25 18:21:48 +01:00
Robert Sayre
96c418bc43 Merge tracemonkey to m-c. 2009-02-25 04:03:41 -05:00
Peter Van der Beken
1e22744844 Fix for bug 471395 ( "Illegal Value" exception when accessing XHR request within an extension). r=mrbkap, sr=jst. 2009-02-24 17:44:31 +01:00
Serge Gautherie
a5a2252e81 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell
(Ev2-MC) Rename the object tests directory
2009-02-23 19:28:20 +01:00
Sunil Mohan Adapa
7afd1bbd24 Bug 412610 - MAXPATHLEN too small for glibc's realpath(); m-c part; r=*
jsfile.cpp + reg.c + SpecialSystemDirectory.cpp : benjamin
lcms.h : bholley
XRemoteClient.cpp : roc
2009-02-23 19:28:12 +01:00
Jeff Walden
543f0d5a97 Back out bug 474501; it has a problem with one Mochitest. 2009-01-30 20:00:52 -08:00
Ben Turner
60956ac6bd Bug 460882. r+sr=mrbkap. 2009-02-16 13:16:13 -08:00
Jim Blandy
7defe5d8ef Bug 461841: xpcshell: default to non-interactive when isatty is missing. r=roc 2009-02-16 16:27:13 +01:00
Aiko
cad71e2047 Bug 446689 - xpcshell's load() function doesn't close file handle; r+sr=mrbkap 2009-02-15 17:23:50 +01:00
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
Vladimir Vukicevic
3bdaaf6021 b=477727; add WINCE_WINDOWS_MOBILE define and associated configure flag; r=ted 2009-02-12 18:26:01 -08:00
Jeff Walden
3ccb27836a I hate LiveConnect. 2009-01-30 18:17:13 -08:00
Jeff Walden
3fcb6ac3ea Bustage fix, not updated for changes in c0b2c82a524e 2009-01-30 17:59:12 -08:00
Jeff Walden
e961f82d89 Bug 474501 - JSON literals shouldn't have prototype setters run during evaluation. r=brendan 2009-01-30 17:40:33 -08:00
Jason Orendorff
7fbb18f1ed Fix for red caused by rev 932126be5356. 2009-01-30 18:02:35 -06:00
Jason Orendorff
37f2985bdf Bug 476177 - TM: cx->stackPool must not be accessed on trace. r=brendan.
--HG--
extra : rebase_source : 746d61b54aa38cbe18fe31bce4efcbbad4629678
2009-01-30 17:40:05 -06:00
Andreas Gal
8c35f95c27 Merge. 2009-01-30 15:16:43 -08:00
Andreas Gal
595570a83e Add debug hook to the threaded interpreter to trace instruction stream (476128, r=shaver). 2009-01-30 15:14:31 -08:00
Gordon P. Hemsley
917fd3a315 Remove unused variable declaration (bug 472702 followup, r=gal) 2009-01-30 10:34:54 -08:00
Andreas Gal
f6afbc63a0 Do not count control-flow merges twice in IFEQX, we already do it in IFEQ (fixed by brendan as part of 469625, r=me). 2009-01-29 23:45:16 -08:00
Andreas Gal
bd2e94ed79 Merge. 2009-01-29 22:04:21 -08:00
Andreas Gal
af99b5186c Don't try to immediately record a new tree when encountering a failed inner tree activation while recording the outer tree if we are no longer at the actual loop header (475916, r=danderson). 2009-01-29 22:03:43 -08:00
Graydon Hoare
e29aba563d Bug 475474 - Minor followups to fix build warnings and trace-test output, r=danderson. 2009-01-29 17:51:14 -08:00
Graydon Hoare
5219181495 Bug 475474 - Maintain globalSlots per global, not just one per JIT instance, r=danderson. 2009-01-29 15:59:52 -08:00
Blake Kaplan
69a2bec66d Bug 475834 - Multiline comments with newlines in them should not decompose to nothing. r=brendan 2009-01-29 12:22:26 -08:00
Jason Orendorff
2ba2f5d3ed Bug 475761 - TM: js_Any_GetProp and friends can reenter. r=brendan. Note that this patch alone does not fix the bug. The rest of the fix comes in bug 462027. 2009-01-29 00:13:03 -06:00
shaver@mozilla.org
728f9f9126 Backed out changeset 7246c4dcf997 (bug 469625) due to trace-test.js failures. 2009-01-28 22:26:46 -05:00
brendan@mozilla.org
14dd060156 Conservatively track modifications along the prototype chain of arrays (469625, r=jorendorff). 2009-01-28 16:16:20 -08:00
Andreas Gal
424b5e8997 Detect OOM condition and flush code cache when destroying the recorder and don't enter endAssembly when OOM (475821, r=danderson). 2009-01-28 15:12:31 -08:00
Jason Orendorff
6142999fde Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter (relanding with a bug fix). r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-28 09:24:35 -06:00
Andreas Gal
08c7886403 Trigger a new build. 2009-01-28 04:24:13 -08:00
Andreas Gal
7c6106e86d Abort if we hit SETGVAR with a NULL slot (465567, r=brendan). 2009-01-28 00:35:20 -08:00
Andreas Gal
ecba1bc0b1 Update the tracker if the global object's dslots are reallocated at recording time (475645, r=brendan). 2009-01-28 00:12:37 -08:00
Blake Kaplan
b30598d3ae Bug 475469 - Don't assume cx->fp is a scripted frame. r=dmandelin 2009-01-27 17:10:44 -08:00
Andreas Gal
c75755f18e Properly initialize demote flag (475479, r=danderson). 2009-01-27 17:06:38 -08:00
Andreas Gal
3aa2396acf Merge. 2009-01-27 16:42:29 -08:00
Andreas Gal
3361accf0e Merge. 2009-01-27 16:42:10 -08:00
Andreas Gal
1bbc35daad Backed out changeset d50d3681b94e (attempted re-landing of 474771). 2009-01-27 16:41:43 -08:00
Brendan Eich
60770fa5b5 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 16:40:40 -08:00
Brendan Eich
914f4ef313 Back out due to Mac Tp orange (454184). 2009-01-27 15:52:10 -08:00
Brendan Eich
335791e844 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 13:53:31 -08:00
Jason Orendorff
5b13be3f69 Bug 475593 - TM: Assertion failed: "Should not move data from GPR/XMM to x87 FPU": false (../nanojit/Nativei386.cpp:1851) (js_BooleanOrUndefinedToNumber emitted twice). r=brendan. 2009-01-27 15:33:45 -06:00
Robert Sayre
7dfa709a7f Merge m-c to tm. 2009-01-27 11:08:09 -08:00
Andrei Saprykin
7b91b30052 bug 474801 - Checking for MaybeGC conditions when allocating GC things in JS shell. r=igor 2009-01-27 18:21:51 +01:00
Igor Bukanov
65cda4b280 Backed out changeset 39b1c9f21064 - the patch again has triggered the crashtest timeout. 2009-01-27 15:11:47 +01:00
Andreas Gal
f17d7cf056 Set on-trace flag only during trace execution, not recording (474771, r=brendan, patch has failed before, please back out at the earliest sign of trouble). 2009-01-27 01:55:31 -08:00
Andreas Gal
868cf7c72c Backed out changeset ece63b96379b 2009-01-27 00:10:38 -08:00
Jason Orendorff
c0cc74fa99 Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-27 00:19:58 -06:00
Andreas Gal
519b56ea2f Correct incorrectly reversed order of argument types in builtin description (472533, r=brendan). 2009-01-26 21:05:59 -08:00
Graydon Hoare
170e5b5921 Bug 473688 - provide a 2-level hash map (global, pc) -> tree, r=gal. 2009-01-26 19:53:19 -08:00
Andreas Gal
56a9096701 Merge. 2009-01-26 18:16:11 -08:00
Andreas Gal
13ebda54e6 LirNameMap gets large over time and searching it with binary search is slow (475127, r=shaver). 2009-01-26 18:15:39 -08:00
Blake Kaplan
a84029c4e6 Bug 475449 - JS shell gets stuck on EOF. r=brendan
--HG--
extra : rebase_source : 1de44569fe303339b1d1a28b1709918a4569daf0
2009-01-26 16:47:25 -08:00
Blake Kaplan
663d23ef5d Bug 475426 - GetPDA returns n copies of the first entry. Bug noticed by Mads Bondo Dydensborg <mbd@dbc.dk>. r=brendan
--HG--
extra : rebase_source : 1f5e87ad1fb88c3174c17cb5f0b89ff09dd6e6ad
2009-01-26 16:47:22 -08:00
Blake Kaplan
500f0a0301 Bug 467499 - Pass the proper size argument to ResizeSlots. r=shaver/crowder 2009-01-26 16:20:05 -08:00
Robert Sayre
cd3999104d Merge m-c to tm. 2009-01-26 13:54:59 -08:00
Benjamin Smedberg
7ee0b42cb8 Bug 474996 - JS_REQUIRES_STACK violation in TraceRecorder::hasIteratorMethod, r=jorendorff 2009-01-26 14:26:24 -05:00
Igor Bukanov
ae33cd4a05 bug 475146 - fixing gczeal checks in RefillDoubleFreeList. r=mrbkap 2009-01-26 19:51:20 +01:00
Ginn Chen
d522f048c8 Bug 476448 -KPIC is obsolete in Sun Studio 12 SPARC r=jim 2009-02-09 14:21:09 +08:00
Brian Crowder
7d64f6851c Bug 469397 - (0.5).toFixed(0) is 0, should be 1. r=bz,mrbkap 2009-02-07 12:31:10 +01:00
L. David Baron
89a43a453a Merge backout of changeset 423eea03fb54 (Bug 460882) for being one of the two changesets that may be causing chrome and a11y tests not to start. 2009-02-06 20:57:35 -08:00
L. David Baron
9cd8a585e6 Backed out changeset 423eea03fb54 (Bug 460882) for being one of the two changesets that's causing chrome and a11y tests not to start. 2009-02-06 20:57:11 -08:00
Ben Turner
6a62636303 Bug 467900 - 'nsScriptSecurityManager not thread-safe called by IsCallerChrome'. p=timeless+bent, r+sr=jst, a=blocking1.9.1+ 2009-02-06 16:01:21 -08:00
Ben Turner
a6d6b36d50 Bug 460882. r+sr=mrbkap, a=blocking1.9.1 2009-02-06 16:01:16 -08:00
timeless@mozdev.org
d1cce1fe24 Bug 475898 - jsdIDebuggerService.idl changed without changing uuid, r+sr=bz 2009-02-04 22:43:56 -08:00
Benjamin Smedberg
c43bd56aa5 Backed out changeset 64d5b7cdeb69 - bug 476643 because of Windows bustage (js_LeaveTrace is not a friend API) 2009-02-05 20:20:03 -05:00
Benjamin Smedberg
2a67684f74 Bug 476643 - mozilla code uses some JS-internal APIs and needs to bail off trace before doing so. This shouldn't actually affect runtime now, because XPConnect doesn't use traceable natives. But in the 1.9.2 future we want to use traceable natives r=mrbkap r=jorendorff 2009-02-05 19:57:34 -05:00
Benjamin Smedberg
46dcd9a715 Bug 475199 - PPC builds crash on startup. I moved the output of JS_STACK_GROWTH_DIRECTION inside a !CROSS_COMPILE block incorrectly in bug 269538. This just moves it back. 2009-01-26 10:11:07 -05:00
Peter Van der Beken
690b96a622 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-26 14:12:37 +01:00
Robert Sayre
b5cd4ca3dc Backout c0b2c82a524e. 2009-01-25 22:36:46 -08:00
Andreas Gal
e481ee3eb8 Only set onTrace flag while running native code, not when recording (474771, r=brendan). 2009-01-25 20:24:25 -08:00
David Anderson
d1ac280790 Fixed multitrees assert regression from bug 469044 (bug 474935, r=gal). 2009-01-23 22:24:58 -05:00
Andrew Paprocki
a4ec9c19ad Bug 471716 - jsobj.cpp DEBUG / js_DumpObject crash on JSFunction with null proto. r=jorendorff 2009-01-23 17:20:14 -08:00
Brendan Eich
c13882a292 Bug 470187 - TM: "Assertion failure: entry->kpc == (jsbytecode*) atoms[index]" with valueOf, regexp (r=jorendorff). 2009-01-23 14:33:42 -08:00
Brendan Eich
196e15a45e Bug 473282 - TM: Crash [@ JS_CallTracer] (r=jwalden). 2009-01-23 14:31:07 -08:00
Andreas Gal
184fc63cd1 Backout bug 468782. Confirmed to leak. 2009-01-25 16:38:31 -08:00
Graydon Hoare
da2b8f5507 Bug 472180 - Move fragment hit and blacklist counts to hashtable in oracle, r=gal. 2009-01-23 14:24:50 -08:00
David Anderson
0e4418db16 Bug 473880 - TM: Add a way to keep stack values alive without emitting guard code. r=gal. 2009-01-23 15:21:55 -06:00
Jason Orendorff
c9961fe054 Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-22 16:39:26 -06:00
Andreas Gal
0feab81363 Backout bug 475048, it causes mochitests to hang. 2009-01-25 15:26:52 -08:00
Andreas Gal
8a264cf6ce Only emit alias check in for *PROP if the object's shape matches the global object's shape (475048, r=brendan, relanding). 2009-01-23 10:41:44 -08:00
Vladimir Vukicevic
63e0570b8d [arm] fix up ARM floating point comparisons; fixes ARM trace-test (relanding) 2009-01-23 00:53:15 -08:00
Brendan Eich
0122eef654 Bug 453955 - "Assertion failure: sprop->setter != js_watch_set || pobj != obj, at jsdbgapi.c" (r=mrbkap, relanding). 2009-01-23 00:50:35 -08:00
Andreas Gal
9460746d1d Fixed correctness and leak regression from bug 469044 landing (bug 474769, r=gal, relanding). 2009-01-25 09:05:21 -08:00
Andreas Gal
570f41d3b7 Fix incorrect reliance on the identity of the global object on trace (474888, r=brendan, relanding). 2009-01-25 09:04:03 -08:00
Andreas Gal
1d277bc633 Backout all patches since last mozilla-central merge (Thu Jan 22 19:14:02 2009 -500 by sayrer). 2009-01-25 02:58:22 -08:00
Andreas Gal
af714b621b Backed out changeset 716fe0739e2b which fixes a spelling bug to force a tinderbox build. 2009-01-24 12:10:05 -08:00
Andreas Gal
02bdd40353 I heard fixing spelling mistakes makes the tinderboxes happy (106386, r=me). 2009-01-23 22:28:34 -08:00
Andreas Gal
ccc90ead5f Compilation fix for bug 474771 (r=me). 2009-01-23 20:33:14 -08:00
Andreas Gal
b94ebfcf08 Merge. 2009-01-23 20:22:41 -08:00
Andreas Gal
1baff988de Only set onTrace flag while running native code, not when recording (474771, r=brendan). 2009-01-23 20:22:23 -08:00
David Anderson
5554e7d6ae Fixed multitrees assert regression from bug 469044 (bug 474935, r=gal). 2009-01-23 22:24:58 -05:00
Andrew Paprocki
ad291a3ff2 Bug 471716 - jsobj.cpp DEBUG / js_DumpObject crash on JSFunction with null proto. r=jorendorff 2009-01-23 17:20:14 -08:00
Andreas Gal
610cc42b01 Merge. 2009-01-23 16:57:04 -08:00
Andreas Gal
a9682f9dff Backed out changeset 05cbbc9f1ae2, which backed out bug 24106 (so this is re-landing 24106). 2009-01-23 16:56:38 -08:00
Andreas Gal
4f323318a5 Merge. 2009-01-23 15:16:03 -08:00