Commit Graph

13840 Commits

Author SHA1 Message Date
Igor Bukanov
6ee38d80d3 bug 476934 - JS_(Set|Clear)ContextThread() must wait bfor the GC. r=brendan 2009-02-07 05:05:32 +01:00
Jason Orendorff
24cc1c161c 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
bac3e197a2 Bug 477174 - Always release this file descriptor. r=brendan 2009-02-06 14:28:48 -08:00
Blake Kaplan
3bc711a48b 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
6ba852af34 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
268b391c28 Bug 465656: word-at-a-time compiled regexp matching, r=gal 2009-02-06 13:41:21 -08:00
Robert Sayre
6440ac75ae Fix bustage from Bug 476873 2009-02-06 12:36:14 -08:00
David Mandelin
17a9e2875a Merge 2009-02-06 12:00:40 -08:00
David Mandelin
e160552f40 Bug 476560: nanojit assembler needs to clear its state before each compilation, r=gal 2009-02-06 11:59:54 -08:00
Jason Orendorff
bf95da92e7 Fix compilation errors on Windows due to a misplaced __fastcall introduced in changeset 527b21f9ab77. 2009-02-06 13:53:29 -06:00
Jason Orendorff
94a4f791be Bug 476873 - TM: Trace JSOP_ARRAYPUSH. r=brendan. 2009-02-06 13:19:06 -06:00
Andreas Gal
d58e39985e 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
026e52d0f6 Bug 477048 - Assertion failure: cg->stackDepth == loopDepth, at ../jsemit.cpp. r=brendan. 2009-02-06 11:04:49 -06:00
Jason Orendorff
e57e12ab87 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
c043e98d42 Back out 21494181fdb8 and subsequent merges because they turned OS X red. 2009-02-05 15:42:45 -08:00
Andreas Gal
34e4536dba Merge. 2009-02-05 15:16:17 -08:00
Andreas Gal
d3628b9149 Merge. 2009-02-05 15:15:50 -08:00
Blake Kaplan
0fa948a984 Bug 477053 - Protect against evil E4X jsvals in args_resolve. r=brendan 2009-02-05 14:50:26 -08:00
Andreas Gal
7084a164c4 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
57a0783dbb Merge. 2009-02-05 11:18:43 -08:00
Andreas Gal
3e7fe9f714 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
fd0b4312be 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
6a2b631cfd 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
e57456b67f 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
6043733d94 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
1ff6d486e9 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
8981e06c54 Fix warning for unhandled switch cases 2009-02-04 18:58:07 -08:00
David Mandelin
e0e531b116 Fix initialization order warning 2009-02-04 18:49:54 -08:00
Andreas Gal
8f7b2e0707 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
738b8bead3 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
812dd0b3be Merge tm to m-c 2009-02-04 12:47:50 -08:00
Graydon Hoare
2a6984d9a8 Bug 469625 - Deoptimize special own-properties, r=brendan. 2009-02-04 11:08:31 -08:00
Andreas Gal
4d4cf406c8 Merge. 2009-02-04 01:47:57 -08:00
Andreas Gal
e83ca07b1b 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
54cd1afabf 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
00af576c49 Merge. 2009-02-03 23:58:16 -08:00
Andreas Gal
1c4e14c01b Merge. 2009-02-03 23:57:34 -08:00
Andreas Gal
fd2c16143c 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
e3fc5665b8 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
008912c359 b=476786; tracemonkey crash with verbose in debug mode; r=gal 2009-02-03 21:20:59 -08:00
Vladimir Vukicevic
e6fedb285c b=474517; add option for trace-test to skip slow tests; r=shaver 2009-02-03 21:11:09 -08:00
Andreas Gal
82012c50cc Merge. 2009-02-03 20:31:19 -08:00
Andreas Gal
e0622d35d0 Backed out bug 475396. Suspected of causing Linux orange-ness. 2009-02-03 20:31:05 -08:00
Andreas Gal
4e965ca1ba 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
59f7da1cd7 Bug 462042 - TM: Allow GC with traced machine code on stack. r=brendan. 2009-02-03 18:25:18 -06:00
Jason Orendorff
2643f0f19a Bug 462027 - Bail off trace when reentering interpreter. r=gal. 2009-02-03 18:25:12 -06:00
Jeff Walden
3b82f419a6 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
0b939d9ca1 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
0ce51de14d Bug 476800 - kill variadic macro warnings r=ted 2009-02-10 08:33:58 -05:00
Peter Weilbacher
08c37b92c0 [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
dd5030f55c 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
488a3b8022 Fixed signed/unsigned compare warning 2009-02-03 10:59:24 -08:00
Jason Orendorff
71f3920afd 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
22a1b4eab2 Revert to 07be1f190a3d. Revision 5f5c1cd63641 should not have been pushed. 2009-02-03 12:38:44 -06:00
Jason Orendorff
8ca73fdbfa Merge. 2009-02-03 12:22:55 -06:00
Jason Orendorff
9f613c85ec 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
e4b5aefd40 bug 474732 - Rerunning configure causes the world to be rebuilt, r=ted 2009-02-03 16:29:21 +01:00
Nickolay_Ponomarev
e729d0aede 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
3b0b239378 Give up on automation due to intermittent redness (r=jst). 2009-02-02 18:51:47 -08:00
Jason Orendorff
69c2368fed Bug 462042 - TM: Allow GC with traced machine code on stack. r=brendan. 2009-02-02 20:49:53 -06:00
Jason Orendorff
c9e5602d7f [mq]: bug-462027-v9 2009-02-02 20:42:46 -06:00
Andreas Gal
3a187c3da2 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
457a95ea02 Merge. 2009-02-02 17:26:22 -08:00
Andreas Gal
5fcbf234da 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
d37b43ed25 Try hardest of all (last time) to fix redness (r=nthomas). 2009-02-02 16:49:28 -08:00
Brendan Eich
10441ba669 Try hardest to fix redness (r=me). 2009-02-02 15:15:07 -08:00
Brendan Eich
67b6788451 Try harder to fix redness (r=bsmedberg). 2009-02-02 14:34:45 -08:00
Brendan Eich
150dd825db Try to fix redness (r=ted). 2009-02-02 14:17:43 -08:00
Brendan Eich
7ed86291c9 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
1fc0438afd 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
a7efd80fdd Merge. 2009-02-01 23:16:39 -08:00
Andreas Gal
b64966b336 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
Jeff Walden
e921ae03d9 Back out bug 474501; it has a problem with one Mochitest. 2009-01-30 20:00:52 -08:00
Ben Turner
50ce98b98a Bug 460882. r+sr=mrbkap. 2009-02-16 13:16:13 -08:00
Jim Blandy
daca0390d5 Bug 461841: xpcshell: default to non-interactive when isatty is missing. r=roc 2009-02-16 16:27:13 +01:00
Aiko
7af554269e Bug 446689 - xpcshell's load() function doesn't close file handle; r+sr=mrbkap 2009-02-15 17:23:50 +01:00
Jesse Ruderman
ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
Vladimir Vukicevic
9f362eae15 b=477727; add WINCE_WINDOWS_MOBILE define and associated configure flag; r=ted 2009-02-12 18:26:01 -08:00
Jeff Walden
0d8bb6cf8d I hate LiveConnect. 2009-01-30 18:17:13 -08:00
Jeff Walden
b0a037ae7a Bustage fix, not updated for changes in c0b2c82a524e 2009-01-30 17:59:12 -08:00
Jeff Walden
25d8fabaaa Bug 474501 - JSON literals shouldn't have prototype setters run during evaluation. r=brendan 2009-01-30 17:40:33 -08:00
Jason Orendorff
ebfc4b4f53 Fix for red caused by rev 932126be5356. 2009-01-30 18:02:35 -06:00
Jason Orendorff
e7b29758e9 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
1bd89e55b9 Merge. 2009-01-30 15:16:43 -08:00
Andreas Gal
33841e0a4f 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
2dcfb9a29a Remove unused variable declaration (bug 472702 followup, r=gal) 2009-01-30 10:34:54 -08:00
Andreas Gal
5245bcfbcf 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
47c870b541 Merge. 2009-01-29 22:04:21 -08:00
Andreas Gal
5a86905925 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
c3da57a60c Bug 475474 - Minor followups to fix build warnings and trace-test output, r=danderson. 2009-01-29 17:51:14 -08:00
Graydon Hoare
4f11cfcaf5 Bug 475474 - Maintain globalSlots per global, not just one per JIT instance, r=danderson. 2009-01-29 15:59:52 -08:00
Blake Kaplan
6c157b6873 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
196e202090 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
bef69f676f Backed out changeset 7246c4dcf997 (bug 469625) due to trace-test.js failures. 2009-01-28 22:26:46 -05:00
brendan@mozilla.org
d4a74db4aa Conservatively track modifications along the prototype chain of arrays (469625, r=jorendorff). 2009-01-28 16:16:20 -08:00
Andreas Gal
1a7c5ba3c1 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
f66fcb2aad 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
caef58e9a8 Trigger a new build. 2009-01-28 04:24:13 -08:00
Andreas Gal
c83d6719d6 Abort if we hit SETGVAR with a NULL slot (465567, r=brendan). 2009-01-28 00:35:20 -08:00
Andreas Gal
fe3b4d73fc 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