Commit Graph

4723 Commits

Author SHA1 Message Date
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