Commit Graph

4382 Commits

Author SHA1 Message Date
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
Blake Kaplan
fb9e760b6d Fix style inconsistency I just introduced in bug 485840 2009-03-29 22:09:57 -07:00
Blake Kaplan
888c327f3d Bug 485840 - Protect against reentrancy in deferred releases. r+sr=roc 2009-03-29 22:03:07 -07: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
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
Andreas Gal
1b154f72a6 Merge. 2009-01-23 15:15:34 -08:00
Andreas Gal
920ecc2113 Backed out changeset 17663da1b840 (bug 462027). 2009-01-23 15:14:46 -08:00
Andreas Gal
347e44c31a Backed out changeset 9fe03078c765 (bug 475048). 2009-01-23 15:13:57 -08:00
Brendan Eich
94412bc214 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
4ade60e63d Bug 473282 - TM: Crash [@ JS_CallTracer] (r=jwalden). 2009-01-23 14:31:07 -08:00
Graydon Hoare
0b98b2e8cb Bug 472180 - Move fragment hit and blacklist counts to hashtable in oracle, r=gal. 2009-01-23 14:24:50 -08:00
David Anderson
ee93602364 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
Andreas Gal
c7f9743a3d Only emit alias check in for *PROP if the object's shape matches the global object's shape (475048, r=brendan). 2009-01-23 10:41:44 -08:00
David Anderson
dc86ddce2f Fixed correctness and leak regression from bug 469044 landing (bug 474769, r=gal). 2009-01-22 22:40:59 -05:00
Andreas Gal
b566ed290a Merge. 2009-01-22 17:59:16 -08:00
Andreas Gal
d940283d33 Fix incorrect reliance on the identity of the global object on trace (474888, r=brendan). 2009-01-22 17:58:18 -08:00
Robert Sayre
7dc95917f4 Merge mozilla-central to tracemonkey. 2009-01-22 19:14:02 -05:00
Jason Orendorff
9ff9140ae0 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.
--HG--
extra : rebase_source : 585d590aace159914629a786489b0883d23cf2a8
2009-01-22 16:39:26 -06:00
Andreas Gal
631ccfe72b Merge. 2009-01-23 10:42:18 -08:00
Igor Bukanov
9394fa361f Backed out changeset 6657640cbbb2 - the patch from the bug 474801 caused leak and crash test failures 2009-01-23 15:40:57 +01:00
Andrei Saprykin
02565c4f0d bug 474801 - Checking for MaybeGC conditions when allocating GC things in JS shell 2009-01-23 13:27:19 +01:00
Vladimir Vukicevic
7679b7a4be [arm] fix up ARM floating point comparisons; fixes ARM trace-test 2009-01-23 00:53:15 -08:00
Brendan Eich
629c3385c4 Bug 453955 - "Assertion failure: sprop->setter != js_watch_set || pobj != obj, at jsdbgapi.c" (r=mrbkap). 2009-01-23 00:50:35 -08:00
Benjamin Smedberg
6be1c639ca + has a higher precendence than <<, so this needs to be parenthesized more... followup to bug 269538 2009-01-22 15:40:41 -05:00
Andreas Gal
6e5593d5b7 Make sure vpnum is not used incorrectly in the future (follow-up for 469044, r=shaver). 2009-01-22 12:02:17 -08:00
Benjamin Smedberg
9b1b7b99df Followup to bug 269538 - Use explicit casts instead of L/LL/int64, r=crowder 2009-01-22 14:52:28 -05:00
Andreas Gal
039fe38bed Test-case for bug 465915 (r=me). 2009-01-22 01:43:28 -08:00
David Anderson
b3ff178462 Specialize trees to global types, so global type instability does not flush the cache (bug 469044, r=gal,brendan). 2009-01-22 01:45:19 -05:00
Graydon Hoare
a2f947e2a1 Bug 470310 - Interpreter errors or pending exceptions should abort trace, r=brendan. 2009-01-21 12:14:47 -08:00
David Mandelin
88e1a66b75 Bug 465784: Trace cache OOM crash due to misplaced OOM check 2009-01-21 11:36:52 -08:00
Igor Bukanov
348de1aa60 Backed out changeset a0e1d4a2404f - the patch for the bug 474586 causes timeouts in crash tests on Mac and Windows. 2009-01-21 20:22:42 +01:00
Andrei Saprykin
375373bb9b bug 453432 - Checking for MaybeGC conditions when allocating GC things 2009-01-21 16:47:17 +01:00
Blake Kaplan
5f7e26cdd5 Bug 474236 - Only throw errors when we have to. r=brendan 2009-01-20 16:31:10 -08:00
Jeff Walden
25c8ed99e7 Fix typo noted by bclary in bug 471214 2009-01-20 15:20:21 -08:00
Blake Kaplan
9735f35124 Bug 474236 - Propagate EOF flags harder. r=brendan 2009-01-20 14:41:43 -08:00
Benjamin Smedberg
748193ada5 Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted - fixed patch: XRE_GetBinaryPath gets the file of the executable: we want to pass the parent directory to XPCOM. 2009-01-20 14:56:44 -05:00
Brendan Eich
849c76814c Give up on automation due to intermittent redness (r=jst). 2009-02-02 18:52:12 -08:00
Brendan Eich
b4ebc2d09d Try hardest of all (last time) to fix redness (r=nthomas). 2009-02-02 16:49:43 -08:00
Brendan Eich
f851419b1a Try hardest to fix redness (r=me). 2009-02-02 15:15:19 -08:00
Brendan Eich
20c89faa69 Try harder to fix redness (r=bsmedberg). 2009-02-02 14:33:03 -08:00
Brendan Eich
e69c309ec4 Try to fix redness (r=ted). 2009-02-02 14:17:59 -08:00
Brendan Eich
ef51420787 Bug 476181 - imacros.c.out out of date; also Makefile.in bustage/cleanup (r=ted/jorendorff). 2009-02-02 13:56:34 -08:00
Jason Orendorff
67419dff52 Bug 476466 - jsstack.js static analysis error in js_GC. r=bsmedberg. 2009-02-02 11:30:53 -06:00
Ted Mielczarek
e175cfbb93 bug 470914 followup - don't normalize symlinks in xpcshell's __LOCATION__. r+sr=mrbkap 2009-02-02 08:53:23 -05:00
Wesley W. Garland
55e7c279f0 Bug 475393 Standalone Spidermonkey should build on Solaris with GCC r=jim 2009-02-02 18:54:48 +08:00
Walter Meinl
d8710dccee Bug 474366: follow-up patch, r=ted.mielczarek 2009-02-01 10:03:41 +01:00
Robert Sayre
aa3aaf69b2 Merge tracemonkey to mozilla-central. 2009-01-31 11:45:24 -08:00
Atul Varma
3ab92bc3a0 bug 445873 - let callers of Components.utils.Sandbox specify JS version; r+sr=mrbkap 2009-01-30 13:17:23 -08:00
Peter Weilbacher
5018346dd2 Bug 474366: OS/2 build break in xpcshell.cpp due to bug 470914, p=wuno@lsvw, r=ted.mielczarek 2009-01-30 10:19:43 +01:00
Brad Lassey
6bd9b9d833 bug 473411 - the rule for DIST_FILES should create dist/bin, syncing config/rules.mk with js/src/rules.mk r=ted 2009-01-30 00:22:04 -05:00
Robert Sayre
7a7d5be9e1 Merge tracemonkey to mozilla-central. 2009-01-28 10:56:08 -08:00
Jim Blandy
ae65f2b142 Bug 475064: Use 'test !', not '! test' in configure scripts. r=bsmedberg 2009-01-28 09:01:40 -08:00
Bob Clary
d7ff11e034 bug 458838 - JavaScript Test by Boris Zbarsky. 2009-01-28 08:34:12 -08:00
Brendan Eich
3fcd3cab28 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 19:56:55 -08:00
Reed Loden
01509bcf5d Apply rules.mk section of bug 460913's patch to js's separate rules.mk in order to fix orange. 2009-01-27 19:56:49 -06:00
Blake Kaplan
ce01acfd86 Bug 475185 - Add a crashtest. 2009-01-27 15:34:16 -08:00
Igor Bukanov
0d085b6a80 Backed out changeset e74857ea8248 - this caused unit test failures on Mac 2009-01-20 17:11:09 +01:00
Andrei Saprykin
63a490ceb1 bug 453432 - Checking for MaybeGC conditions when allocating GC things 2009-01-20 15:50:39 +01:00
Robert Sayre
cc7d610ee3 Merge mozilla-central to tracemonkey. 2009-01-18 14:45:56 -05:00
Ted Mielczarek
42c738edc4 bug 470914 - add a __LOCATION__ field to the global object for files loaded on the commandline in xpcshell. r=timeless 2009-01-18 12:01:15 -05:00
Graydon Hoare
4a62a31460 Bug 470353 - Limit skip() allocations in tracer, r=gal. 2009-01-16 14:43:15 -08:00
Jeff Walden
a7f81d75f6 Unbreak optimized builds so that jitstats typo-checking doesn't affect them; in builds without the global tracemonkey property, we won't have any known jitstats, so check for that case and don't do typo-checking when jitstats tests can't actually be performed. r=graydon 2009-01-16 12:13:13 -08:00
Blake Kaplan
0b7c1577e8 Bug 475185 - Fast natives don't enforce minargs, so we have to do it ourselves. r=jorendorff sr=brendan 2009-01-26 16:55:53 -08:00
Blake Kaplan
b4c4aae1e9 Bug 475291 - Avoid roundtripping arbitrary jsids through JSAtom *s. r=brendan 2009-01-26 16:55:43 -08:00
Peter Van der Beken
367cc8bd4d Backed out changeset 81428de4b5dc (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.). 2009-01-26 09:09:22 +01:00
Peter Van der Beken
3529749b50 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-26 08:44:22 +01:00
Brendan Eich
e019755a59 Argh. 2009-01-25 14:04:53 -08:00
Brendan Eich
f4ec0e5fa0 Warning policing (please check and avoid adding). 2009-01-25 13:59:59 -08:00
Peter Van der Beken
d692e5fef1 Fix for bug 443483 (Closed windows need two cycle collections to be collected). r=bent, sr=jst, a=jst. 2009-01-25 15:34:26 +01:00
Peter Van der Beken
810702a01e Back out changeset e919f0c1dfa9 (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to try to fix red on leak tinderboxes. 2009-01-24 23:13:29 +01:00
Peter Van der Beken
e3d2fe16b2 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-24 18:28:40 +01:00
Peter Van der Beken
7522cec61c Fix DEBUG_CC build. NPOTB. 2009-01-24 18:28:33 +01:00
Brian Crowder
1859a1f07b Bug 465808 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; r=brendan 2009-01-24 01:20:10 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
315b289f84 Backed out changeset e81a7ff740bd for proper checkin (test drive, sorry :() 2009-01-24 01:17:07 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
551cda4c65 Bug 4658080 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; p=bcrowder,r=brendan 2009-01-24 01:02:29 -08:00
Benjamin Smedberg
82ba665418 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Serge Gautherie
beb21941b4 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell; (Av1a-MC) Move the source harness directory; r=ted.mielczarek
--HG--
rename : tools/test-harness/xpcshell-simple/Makefile.in => testing/xpcshell/Makefile.in
rename : tools/test-harness/xpcshell-simple/README => testing/xpcshell/README
rename : tools/test-harness/xpcshell-simple/example/Makefile.in => testing/xpcshell/example/Makefile.in
rename : tools/test-harness/xpcshell-simple/example/unit/test_sample.js => testing/xpcshell/example/unit/test_sample.js
rename : tools/test-harness/xpcshell-simple/execute_test.js => testing/xpcshell/execute_test.js
rename : tools/test-harness/xpcshell-simple/head.js => testing/xpcshell/head.js
rename : tools/test-harness/xpcshell-simple/tail.js => testing/xpcshell/tail.js
rename : tools/test-harness/xpcshell-simple/test_all.sh => testing/xpcshell/test_all.sh
rename : tools/test-harness/xpcshell-simple/test_one.sh => testing/xpcshell/test_one.sh
2009-01-22 19:39:02 +01:00
Arpad Borsos
4af1852ab6 Bug 472332 - Remove unused files from build/autoconf; +aclocal cleanup; r+sr=ted.mielczarek 2009-01-22 19:01:24 +01:00
Brad Lassey
36b666091c bug 470914 - fixing build bustage in xpcshell, GetCurrentDirectoryW doesn't exist on windows ce, punt on that platform r+sr=mrbkap 2009-01-22 10:17:22 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Blake Kaplan
a0d6f6e2e6 Backed out changeset 5d3af3ff9639. It doesn't allow UniversalXPConnect scripts to arbitrarily unwrap XPCNativeWrappers. 2009-01-16 19:36:38 -08:00
Blake Kaplan
38471d2166 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst
--HG--
extra : rebase_source : 628b9152dd0bd16cc5d211e949fe1921070d01a2
2009-01-16 18:05:14 -08:00
Jim Blandy
9746bd2c6d Bug 461841: Use configure-defined macros in #ifdefs for WinCE in js/src. r=crowder
Perform the appropriate configure-time tests, and hard-code the
answers for targets that don't support autoconf-style tests.  Check
for the io.h header, and the setbuf and isatty library functions.

In js/src/xpconnect/shell/xpcshell.cpp, use configure-#defined
preprocessor symbols to decide what to #include and use.  The
top-level configure script defines the preprocessor symbols used here.

In js/src/prmjtime.cpp, use them to select the appropriate method for
retrieving fine-grained time information for Windows and WinCE.  The
js/src/configure script defines the preprocessor symbols used here.

(This should cover the issues addressed by patch.v2 in bug 461841,
except for the stdint issue.)
2009-01-16 14:10:48 -08:00
Jim Blandy
9efe7e6f90 Bug 461841: Unshuffle system-specific definitions of PRMJ_Now. r=crowder
Every piece of the body of js/src/prmjtime.cpp's PRMJ_Now function was
in a preprocessor conditional --- it was three entirely independent
implementations shuffled together.  Unshuffling them prepares the way
for adding a new WinCE definition.
2009-01-16 14:10:47 -08:00
L. David Baron
bb123815cb Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
Mark Banner
be8637a9f4 bug 473760 - browser components broken (checking in as bustage fix, asking for post-facto review from bsmedberg) - copy Ted's fix to js/src/config to fix TUnit bustage 2009-01-16 14:28:44 +00:00
timeless@mozdev.org
3d9be831e9 Bug 422340 Firefox 3 beta 4 gives unhelpful slowscript warning on leaving gmail, r+sr=mrbkap 2009-01-15 20:02:21 -08:00
Phil Ringnalda
4d8777d31a Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Jeff Walden
1b3b3e48d2 Bug 470364 - Make behavior of +/- when one operand is an object with a custom valueOf consistent with non-JIT, even if for the moment that behavior is non-standard. r=brendan 2009-01-13 19:06:03 -08:00
Jim Blandy
dbedefb398 Bug 454704: Protect sharpObjectMap in the presence of wrapped getters. r=igor 2009-01-16 09:59:46 -08:00
Blake Kaplan
390a28ac59 Bug 473709 - Protect |str| across the call to js_NewRegExp. r=jwalden 2009-01-15 17:54:05 -08:00
Igor Bukanov
7997a602cd backout merge 2009-01-15 22:28:58 +01:00
Igor Bukanov
67cfa559e2 Backed out changeset 562d8990f33a - with the fix for bug 473721 this workaround is no longer necessary. 2009-01-15 22:27:36 +01:00
Igor Bukanov
53891469d3 bug 473721 - fixing JS_GetOperationLimit to return the proper limit. r=mrbkap 2009-01-15 22:22:46 +01:00
Robert Sayre
d7829f7c2d Merge m-c to tm. 2009-01-15 15:06:16 -05:00
Ted Mielczarek
8b62a1f836 bug 462004 - fixup visibility of readline symbols. r=bsmedberg 2009-01-15 07:18:28 -05:00
Robert Sayre
5c5f08101f wallpaper for bug 473721 2009-01-15 03:38:09 -05:00
Blake Kaplan
894f57b435 Bug 473631 - Don't attempt to compile a null buffer. r=igor 2009-01-14 15:36:19 -08:00
Robert Sayre
e21c1a1d06 Merge m-c to tracemonkey.
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2009-01-14 18:25:22 -05:00
David Mandelin
fa9fb77bda Bug 472440: JS tracing crash, typo in record_JSOP_CALL_GVAR, r=mrbkap 2009-01-14 11:42:35 -08:00
Jeff Walden
f4e1b714ea Oops, backed out the wrong patch last time 2009-01-14 11:35:08 -08:00
Jeff Walden
132c6462f3 Backed out changeset de45be487415, the real change I wanted to back out 2009-01-14 11:34:39 -08:00
Jeff Walden
8c72a2399b Back out 71cd51a61b67 because tinderboxen are intermittent-orange, but I absolutely cannot believe this is the problem that they're hitting 2009-01-14 11:30:28 -08:00
Jeff Walden
01bff439bc Backed out changeset 71cd51a61b67 2009-01-14 11:28:59 -08:00
Ted Mielczarek
5c59b97c70 fix check-sync-dirs to use the magic words for error output. (no bug) 2009-01-14 12:55:43 -05:00
Igor Bukanov
c032867e33 bug 472702 - using watchdog thread in js shell to trigger operation callback 2009-01-14 18:23:51 +01:00
Jeff Walden
873ec9adae Remove a tab, kick tinderboxen to see if oranges are spurious or not 2009-01-13 23:03:42 -08:00
Jeff Walden
e975013016 Bug 470364 - Make behavior of +/- when one operand is an object with a custom valueOf consistent with non-JIT, even if for the moment that behavior is non-standard. r=brendan 2009-01-13 19:06:03 -08:00
Alexander Sack
7657ab39b7 Bug 471359 - export js/ system_wrappers to their own directory. r=jim 2009-01-13 19:56:41 +01:00
Benjamin Smedberg
49bde88ff3 Merge backout of bug 269538 2009-01-21 17:34:51 -05:00
Benjamin Smedberg
09ffef3261 Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Blake Kaplan
dade53b4d3 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst 2009-01-16 18:05:14 -08:00
Benjamin Smedberg
db11be65b9 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Arpad Borsos
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Masatoshi Kimura
d67cc57992 Bug 471854 - Build error in accessible/public/msaa on x64 Windows with VC8; r=(m_kato + ted.mielczarek) 2009-01-21 16:12:35 +01:00
Ginn Chen
0db9f1a489 Bug 472622 prmjtime.cpp failed to compile on SunOS 5.* r=jim,crowder 2009-01-21 18:24:03 +08:00
Bobby Holley
ccbee91b18 Bug 469558: --enable-system-lcms build option should be removed.r=bsmedberg,sr=ted.
Relanding after 8f347bf50a53 was backed out in e1da61348dda. Issues should be fixed.
2009-01-20 21:02:43 -08:00
Benjamin Smedberg
361067676a Merge backout of bug 470971 2009-01-20 19:00:24 -05:00
Benjamin Smedberg
4e93b0aaec Backed out changeset 700bca4b693f due to reftest failure (bug 470971) 2009-01-20 18:59:20 -05:00
Benjamin Smedberg
ca209777c0 Copy xpcshell instead of symlinking it, so that it knows where it is... Followup to bug 470971 2009-01-20 17:21:03 -05:00
Benjamin Smedberg
0218b0f59a Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted 2009-01-20 14:56:44 -05:00
Andrei Saprykin
d61ea463a8 bug 413735 - consistent readline usage 2009-01-13 16:35:47 +01:00
Jeff Walden
367ca9d882 Bug 470997 - TM: trace-test.js should throw an error when |test.jitstats| contains an unrecognized property name. r=gal 2009-01-12 18:06:22 -08:00
Andreas Gal
99c4876ef2 Extend tree on shape mismatch (473277, r=danderson). 2009-01-12 19:49:03 -08:00
Andreas Gal
46c4fe89b3 Trampolines can be 2 words, so take that into account when reserving space for LIR_call instructions (473225, r=danderson). 2009-01-12 19:46:13 -08:00
Andreas Gal
4737199830 Merge. 2009-01-12 19:40:09 -08:00
Andreas Gal
4fb7be0fff Backed out changeset 8775c279e59c 2009-01-12 19:39:55 -08:00
Andreas Gal
e580261ef3 Merge. 2009-01-12 17:16:41 -08:00
Andreas Gal
162f124fd9 Trampolines can be 2 words, so take that into account when reserving space for LIR_call instructions (473225, r=graydon). 2009-01-12 17:16:21 -08:00
Jeff Walden
d1f00e6d29 Add new jitstats to the list in trace-test.js, and add a comment to jitstats.tbl noting that the two lists must be synchronized. 2009-01-12 16:37:09 -08:00
Jeff Walden
c0e7964c90 Fix typos in jitstats property name; it's "sideExitIntoInterpreter", not "sideExits"; also bump iteration counts so it's more obvious at a glance that bug 471214 is unfixed (and that when it's fixed the fixedness will be clear). 2009-01-12 16:12:54 -08:00
Blake Kaplan
775c6927fb Fix the vim modeline.
--HG--
extra : rebase_source : 9a9ca3f9eb0d33fa6c43bf798612de7dbe9ae076
2009-01-12 15:07:31 -08:00
Jeff Walden
ec7f94e0da Bug 472599 - TM: "Assertion failure: JSVAL_IS_INT(STOBJ_GET_SLOT(callee_obj, JSSLOT_PRIVATE))" with __proto__, call, toString. r=gal 2009-01-12 13:10:09 -08:00
Jeff Walden
4230c8101b Bug 465980 - Some array methods don't work right on ginormous arrays. r=brendan 2009-01-12 13:07:48 -08:00
Jeff Walden
136daf85e6 Bug 484495 - new String(obj) asserts when tracing. r=brendan, r=gal 2009-03-22 12:49:15 -07:00
Igor Bukanov
f7b0f5ece5 bug 455981 - duplicated arguments no longer supported when destructuring pattern is used. r=brendan 2009-03-22 10:54:17 +01:00
Igor Bukanov
f28d80b499 Backed out changeset e117c22cc1d1 - the landed patch for bug 437325 has a shutdown leak. 2009-03-22 10:15:27 +01:00
Igor Bukanov
a61176553e bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-22 10:07:14 +01:00
Andreas Gal
5bb4584e92 Don't reason about fragment when deep aborting (484543, r=brendan). 2009-03-21 14:46:06 -07:00
Vladimir Vukicevic
0a72958c35 b=484561; [arm] minimal fix to get LIR_alloc working 2009-03-21 08:40:19 -07:00
Andreas Gal
47a36bca0d Property close loops even in the presence of partially constant loop conditions (482800, r=brendan). 2009-03-21 01:07:51 -07:00
Andreas Gal
6368b53aa8 Don't attempt to call fast native constructors on trace (484531, r=brendan). 2009-03-21 00:40:39 -07:00
Andreas Gal
b438fd1512 Can't allocate new stack chunks while on trace (484524, r=brendan). 2009-03-21 00:26:03 -07:00
Vladimir Vukicevic
a7b8dad8aa arm bustage fix 2009-03-20 19:40:54 -07:00
Andreas Gal
0827d2a92d Remove all traceable natives from jsstr.cpp that don't have any fast path code in them (463238 part 2, r=brendan). 2009-03-20 18:53:07 -07:00
Andreas Gal
43feef625d Support calling arbitrary JSFastNatives from trace (463238, r=brendan). 2009-03-20 18:52:11 -07:00
Andreas Gal
9bee45ca8e trace JSOP_CALLELEM (484334, r=mrbkap) 2009-03-20 17:21:57 -07:00
Andreas Gal
4017bf1be3 str_match should use js_GetCurrentBytecodePC (484308, r=mrbkap). 2009-03-20 17:07:30 -07:00
Andreas Gal
7b58dd1b90 Make new String() trace (484333, r=brendan). 2009-03-20 16:30:31 -07:00
Vladimir Vukicevic
3e006f19eb void -> bool 2009-03-20 16:10:31 -07:00
Vladimir Vukicevic
3b44833a46 call underrunProtect more aggressively, and remove some LD32_nochks that weren't being protected 2009-03-20 15:53:38 -07:00
Vladimir Vukicevic
005b46e678 b=484196; fix softfloat due to missing iu2fArg call; r=gal 2009-03-20 15:53:35 -07:00
Vladimir Vukicevic
d317d0075d b=480796; detect whether ARM chip has VFP and/or v6t2 instructions; r=gal 2009-03-20 15:53:33 -07:00
Vladimir Vukicevic
904d0dce27 Fix asm_quad to use existing load instructions; fix branch macros to use existing conditional branch macro 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
ffb503790f trace-tests: Add int overflow/underflow test 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
0034034e03 [arm] b=481761; use movw/movt when possible for loading 32-bit constants; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
b72889b918 [arm] b=481761; clean up load and store instructions; change move macro to follow covention; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
6ec71623d5 [arm] b=481761; rename MOV instructions to match ARM, not x86; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
7d6eca6372 [arm] b=481761; fix up asm_cmov; assert on non-qcmov; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
d0fa8fe9c9 [arm] b=481761; Finish up ALU op conversions; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
b992e5da9e [arm] b=481761; ARM ALU step 1; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
4afdab4e12 [arm] b=481761; Rename ccName -> condName, rename Scratch to IP; r=graydon 2009-03-20 15:53:14 -07:00
Jeff Walden
bb500538a7 Bug 483103 - Better fixes for getting the lengths of strings and String objects. r=brendan 2009-03-20 15:31:01 -07:00
Andreas Gal
2018b20826 Bump maxbranches to 32 (484341, r=dmandelin). 2009-03-20 14:24:23 -07:00
Igor Bukanov
05591c4681 bug 426827 - removing incorrect assert. r=mrbkap 2009-03-20 12:37:20 +01:00
Igor Bukanov
f0dbec109f 436700 - fixing backref assert. r=dmandelin 2009-03-20 12:30:40 +01:00
Peter Van der Beken
2d53648dcd Fix --enable-shark build bustage, r=ted. This is a temporary fix, real fix will be in bug 473563. 2009-01-14 16:47:43 +01:00
Ted Mielczarek
405f3caf99 followup from bug 467862, forgot to sync up js/src/config/rules.mk 2009-01-14 08:56:13 -05:00
Peter Van der Beken
e557d2b23c Make DEBUG_CC compile again (broken by the fix for bug 458099). r=bent, NPOTB. 2009-01-14 13:24:10 +01:00
Phil Ringnalda
425a26e188 Bug 473485 - snarf is no longer built by default in js.cpp, among other reverted changes, r=jorendorff, a=NPOTDB 2009-01-23 21:55:29 -08:00
Blake Kaplan
2ddd004009 Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan 2009-01-23 15:44:01 -08:00
Brad Lassey
4326214d10 Brad Lassey - bug 463561 - mkdepend crashes while compiling freetype, follow up push to js/src r=bsmedberg a191=beltzner 2009-01-23 16:06:15 -05:00
Benjamin Smedberg
f9db07aa38 Bug 475027 - only MSVC needs jscpucfg.h... everyone else should be using jsautocfg.h and the configure-generated defines. If you're doing something crazy like cross-compiling from FreeBSD to Windows using MSVC, this will make your life happier r=crowder 2009-01-23 14:46:15 -05:00
Peter Van der Beken
5a2f84bb76 Back out changeset 32dc89bc34ad (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to fix orange. 2009-01-23 17:05:05 +01:00
Peter Van der Beken
9157343457 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-23 15:47:24 +01:00
Brendan Eich
db675f458e Bug 453955 - "Assertion failure: sprop->setter != js_watch_set || pobj != obj, at jsdbgapi.c" (r=mrbkap). 2009-01-23 00:54:12 -08:00
Ginn Chen
ea9689bd2a Bug 474757 Several build failures on Solaris build for js/src r=danderson 2009-01-23 16:09:27 +08:00
Ginn Chen
9473943bf6 Bug 474757 Several build failures on Solaris build for js/src r=danderson 2009-01-23 15:57:54 +08:00
Blake Kaplan
52a4e552ea Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst 2009-01-15 16:34:55 -08:00
Blake Kaplan
57f49c4364 Bug 473437 - DumpJSStack() can set a pending exception in cx. r+sr=jst 2009-01-15 16:34:54 -08:00
Jeff Walden
314cf39c41 Bug 472592 - unbox_jsval is infallible, make the signature reflect that. r=gal 2009-01-11 13:57:42 -08:00
Jeff Walden
179a1749fb Despite the previous log message, the previous push was r=brendan 2009-01-10 15:25:03 -08:00
Jeff Walden
949fc3d056 Bug 466905 - Fix JSOP_NEWARRAY to be not-buggy and use it when possible. NOT REVIEWED YET 2009-01-10 12:15:08 -08:00
Blake Kaplan
a403a02f00 Bug 472787 - Eagerly set the return value. r=brendan 2009-01-09 18:32:04 -08:00
Andreas Gal
73fd6451b9 Track timeout side exits separately in jitstats (472761, r=jwalden). 2009-01-09 16:38:57 -08:00
Andreas Gal
4a9dbdaf12 Push a dummy copy of EBP onto the stack to make sure EBP is aligned in the new stack frame (472791, r=graydon,edwsmith). 2009-01-09 15:18:00 -08:00
Jason Orendorff
436a268bae Fix trace-test bustage due to my last checkin. 2009-01-09 17:12:20 -06:00
Robert Sayre
8e5f7ba091 Merge m-c to tracemonkey. 2009-01-09 01:23:32 -05:00
Robert Sayre
8549b885a1 Bug 466781 - TM: inconsistent (0 in d) where d is a String. r=brendan 2009-01-09 00:59:24 -05:00
Jeff Walden
75243b3b86 Destroying the temporary context used in evalcx and also doing a GC invalidates shape numbers, which kinda makes testing hard because it breaks shapeOf(evalcx("lazy")) === shapeOf(evalcx("lazy")); don't GC. rs=brendan 2009-01-08 17:54:04 -08:00
Jason Orendorff
cf74ec9191 Bug 471540 - TM: "Assertion failure: cp >= buf" at homicideReport.php. r=gal.
--HG--
extra : rebase_source : 7f3bc4e8db9ce307360792b889943d8609e8ff6e
2009-01-08 17:09:16 -06:00
Graydon Hoare
e0464655cd Bug 472594 - Make analysis-tests work in out-of-tree objdir, r=jorendorff. 2009-01-08 10:40:36 -08:00
Igor Bukanov
85bdf95da4 bug 419086 - replacing the branch callback with the operation callback. r=brendan 2009-01-08 00:44:52 +01:00
Graydon Hoare
8424af9530 Bug 472553 - Annotations required by jsstack.js analysis, r=jorendorff. 2009-01-07 14:14:51 -08:00
Igor Bukanov
3d5269621d bug 465030 - Support terminating long-running scripts without using extra threads or signals. r=gal,sayrer 2009-01-07 18:45:13 +01:00
Igor Bukanov
33ba59a269 Backed out changeset 763b96e81579 - I committed the wrong patch 2009-01-07 18:44:50 +01:00
Igor Bukanov
01c091bb60 bug 465030 - Support terminating long-running scripts without using extra threads or signals. r=gal,sayrer 2009-01-07 18:40:58 +01:00
Robert Sayre
9aa7891d67 Merge m-c to tracemonkey. 2009-01-07 11:42:59 -05:00
Graydon Hoare
6383e1d5d2 Bug 470388 - Tighten assertion for JSFRAME_POP_BLOCKS on trace-entry frame, r=brendan. 2009-01-06 18:20:33 -08:00
Jesse Ruderman
22cd32241d Add five crashtests 2009-01-06 16:47:56 -08:00
Jason Orendorff
7f92f10b08 Bug 468641 - TM: Add bytecode disassembly to JS_JIT_SPEW output (r=crowder) 2009-01-06 16:51:32 -06:00
Jason Orendorff
be00149c86 Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 4 of 4, rename recoveryDoublePool to reservedDoublePool, r=brendan)
--HG--
extra : rebase_source : d865549cb727aada20fbaa78286de37a97b85bca
2009-01-06 13:39:14 -06:00
Blake Kaplan
c878e5becb Bustage fix from bug 458020 2009-01-06 14:34:16 -05:00
Blake Kaplan
63803e5282 Bug 458020 - Ensure that the display is correct when evaluating a script in a stack frame. r=brendan
--HG--
extra : rebase_source : 01aba83379c17c0abda66ce44adb5d04686fc923
2009-01-06 14:17:12 -05:00
Blake Kaplan
872a17cbfa Bug 470720 - Don't automatically unwrap XOWs or SJOWs in XPCNativeWrappers. r+sr=jst
--HG--
extra : rebase_source : a670c95a103ae0ced9ff50b31d07c7f7958d9339
2009-01-06 14:17:02 -05:00
Blake Kaplan
d269689358 Bug 471366 - Deal with XPCNativeWrapper.prototype correctly. r+sr=jst
--HG--
extra : rebase_source : d651d4f31f41e17a5c31b586cb5906eb7aaab271
2009-01-06 14:16:58 -05:00
Brian Crowder
36fd05589c Bug 471513 - invalid C++ in jsopcode.cpp, r=brendan 2009-01-06 09:18:36 -08:00
Brian Crowder
5bd03bd9a9 Bug 411726 - Use localtime_r when available, to improve Date reporting for locales like Venezuela on platforms like OS X. r=mrbkap, r=ted (for build changes) 2009-01-06 09:18:35 -08:00
Brian Crowder
ca4eed1e1d Bug 433073 - jsregexp.cpp should use dependent strings, r=igor 2009-01-06 09:18:35 -08:00
Robert Sayre
34560c2aa8 Merge m-c to tracemonkey. 2009-01-02 12:37:55 -08:00
Andreas Gal
a59109830e Use a single lirbuf for the tracer and rewind lirbuf during GC (471821, r=danderson). 2009-01-02 10:55:02 -08:00
Andreas Gal
a046abd718 Merge. 2009-01-01 17:57:11 -08:00
Andreas Gal
8b28ae8610 Store frame state information in the code cache and merely put a pointer to it onto the native call stack (470375, r=danderson). 2009-01-01 17:55:43 -08:00
Robert Sayre
ed2bf0b595 Mergre mozilla-central to tracemonkey. 2009-01-01 14:25:18 -08:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Phil Ringnalda
b6f4c63c3c Backed out changeset e0cce6a738c9 (Bug 466224 - Make quickstubs call nsINode/nsINodeList methods) for failing mochitest 2008-12-31 18:21:52 -08:00
David Mandelin
90baccb99f Bug 471602 part 1: make regexp compiler use one shared LIR buffer, r=gal 2008-12-31 16:41:33 -08:00
Brendan Eich
67cd92d2ce Bug 471531 - js1_7/decompilation/regress-379925.js | js1_8_1/decompilation/regress-371802.js FAIL (r=jorendorff). 2008-12-31 12:32:35 -08:00
David Mandelin
5ca9583177 Merge. 2008-12-31 11:46:10 -08:00
David Mandelin
77dfbdd679 Attempted fix for bug 470492: top crash in regexp LIR generation, r=gal 2008-12-31 11:43:50 -08:00
Peter Van der Beken
9f2cfc5446 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2008-12-31 14:55:20 +01:00
Robert Sayre
98792ddd09 Merge. 2008-12-31 01:53:26 -05:00
Andreas Gal
e47badd3c9 Merge. 2008-12-30 17:04:04 -08:00
Andreas Gal
21b0d26f45 Allocate the next page to be used in a lirbuf early to avoid running OOM during a page overflow (471316, r=danderson). 2008-12-30 17:03:43 -08:00
Peter Van der Beken
78fa6325a2 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Bo Yang
86206e20f5 Bug 453094 - Some strong type conversion make GCC not complain; r=jorendorff sr=peterv 2009-01-02 07:21:26 +01:00
Brendan Eich
bf1a6adcb8 Bug 470374 - Decompiler fixes from bug 469625 (r=jorendorff). 2008-12-29 23:22:23 -08:00
Andreas Gal
1abb0dc188 Merge. 2008-12-29 15:30:54 -08:00
Andreas Gal
8cebbe8e58 Backed out changeset 4acb47a25eb5 2008-12-29 15:30:25 -08:00
Andreas Gal
8d9dc45719 Merge. 2008-12-29 14:27:15 -08:00
Andreas Gal
c05bef5b82 Convert String objects into primitive strings when invoking String functions on them (470609, r=jorendorff). 2008-12-29 14:26:51 -08:00
Jeff Walden
6f05e9de07 Make similar-acting code similar-reading as well (but not shared due to the +/- difference), no bug 2008-12-29 07:59:06 -06:00
Igor Bukanov
b2f4132cb7 bug 471197 - during GC call js_GetTopStackFrame only for contexts with frames. r=brendan 2008-12-27 00:05:15 +01:00
Jeff Walden
af717d86d5 Bug 470739 - Trace more == cases. r=gal 2008-12-26 14:48:33 -05:00
Robert Sayre
c36cc631e9 Ho ho ho, it's a lump of hg coal. Merge.
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-25 20:19:52 -05:00
Igor Bukanov
72063471f8 bug 471044 - fixing upgvar detection for for-in loop. r=mrbkap 2008-12-25 01:23:38 +01:00
Blake Kaplan
22b6fad69e Bug 470758 - Don't generate upvars on the left side of a for-in loop. r=brendan 2008-12-23 15:45:44 -08:00
Phil Ringnalda
7663cc21c2 Merge for backout of changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:51:35 -08:00
Phil Ringnalda
2d35d8d90f Backed out changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:49:53 -08:00
Phil Ringnalda
6b1e0c2bec Merge for backout of changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097) 2008-12-25 19:28:31 -08:00
Phil Ringnalda
46e630cc96 Backed out changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097) 2008-12-25 19:27:15 -08:00
Ted Mielczarek
b597404d2c bug 467862 - Build system should support building both a static and a shared library from the same Makefile. r=bsmedberg 2008-12-24 14:04:43 -05:00
Igor Bukanov
81c3a2b632 Backed out changeset 2d5e6b1c7254 - busted the WINNT 5.1 talos tracemonkey. 2008-12-23 19:24:09 +01:00
Andrei Saprykin
11dac3f234 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap 2008-12-23 16:12:11 +01:00
Jesse Ruderman
dba23c0ab9 Fix bustage 2008-12-22 16:07:49 -08:00
Jeff Walden
5d25aca194 Bug 470737 - TM: "switch(1/0){case Infinity:}" 4X slower with JIT enabled. r=gal 2008-12-22 15:42:24 -08:00
Jim Blandy
1107758ffc Bug 469225: Move HAVE_ARM_SIMD test after header file tests. r=vladimir
This should have no effect; the test there is in the midst of a
section titled, "Checks for header files", and doesn't belong there.

I've made the same change in both the top-level configure.in and
js/src/configure.in, just to keep things parallel.
2008-12-22 13:59:28 -08:00
Jim Blandy
d22127996a Bug 467583: Make js/src share the 'dist' tree with the enclosing build. r=ted.mielczarek 2008-12-22 13:22:38 -08:00
Benjamin Smedberg
6f98baeeca Bug 470000 - JS_GET_SCRIPT_ATOM needs to use cx->fp safely, r=brendan 2008-12-22 11:07:40 -05:00
Jeff Walden
5d05cfd543 Bug 470409 - TM: Crash [@ js_EqualStrings]. r=brendan 2008-12-21 21:26:08 -08:00
Jeff Walden
6f0de3c4e0 Bug 470137 - TM: Behavioral difference in addition of objects between JIT, non-JIT. r=brendan 2008-12-21 21:26:08 -08:00
Igor Bukanov
136838d60b Backed out changeset 7184e014cd05 - the patch for bug 453157 bursted tgfx test on Windows. 2008-12-21 21:49:06 +01:00
Andrei Saprykin
c68c632137 bug 453157 - watchdog thread as an alternative to operation count 2008-12-21 17:16:09 +01:00
Igor Bukanov
5d5cb0738c bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 12:55:09 +01:00
Igor Bukanov
8062218e55 Backed out changeset 605fd1985d05 - more merge typos. 2008-12-21 12:50:36 +01:00
Igor Bukanov
1be7edd38e bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 12:31:38 +01:00
Igor Bukanov
635ca1d23a Backed out changeset f13e2a2a5d66 - I was not careful when merging the unary op changes 2008-12-21 12:23:08 +01:00
Michael Ventnor
f3922bdde6 Bug 470165 - Cleanup the GTK nsFilePicker code; r+sr=roc 2008-12-21 02:33:04 +01:00
Igor Bukanov
3388b615ce bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 00:16:41 +01:00
Jeff Walden
4710efd8a4 Bug 469942 - TM: 20% slower to compute unary +/-. r=brendan 2008-12-19 19:30:09 -08:00
Jeff Walden
aa66ca5eb0 Whitespace patrol, move some tests before mandelSet where they should have been, add big scary warnings about not putting anything after mandelSet because they won't get run very often (not until just pre-commit, usually). 2008-12-19 19:09:27 -08:00
Ted Mielczarek
e41c278e04 bug 467271 - JS not being PGOed on win32. r=bsmedberg 2009-01-08 13:52:38 -05:00
Ted Mielczarek
d8bff4cf58 bug 471188 - stop calling 'make install' for spidermonkey. r=bsmedberg,jimb 2009-01-08 13:51:27 -05:00
Graydon Hoare
67237b98c7 Bug 469012 - crashing LirBufWriter::insLinkToFar, r=danderson. 2008-12-19 16:20:51 -08:00
Graydon Hoare
77e4ed2e26 Bug 464862 - Calculate call-argument deltas relative to last word of LirCallIns, not first, r=danderson. 2008-12-19 16:20:13 -08:00
Blake Kaplan
d34f6dd726 Bug 468552 - Enforce 'funobj' conditions in the XPCNativeWrapper case. r+sr=jst
--HG--
extra : rebase_source : 6023cc8a797167551461fe6f8fb003d98b4f5b9b
2008-12-19 15:47:20 -08:00
Blake Kaplan
bab2bf9e49 Bug 468581 - Use a better function to compute principals. r=brendan
--HG--
extra : rebase_source : 137705045b8b528c49405a52f91455306ecf9857
2008-12-19 15:47:20 -08:00
Brendan Eich
7826ab3e9f Fix warnings pointed out by Waldo from apply patch (465214). 2008-12-19 14:15:35 -08:00
Robert Sayre
ee109c9def Merge m-c to tracemonkey. 2008-12-19 15:50:52 -05:00
Jim Blandy
41e717de51 Bug 462914: Test for setlocale at configure time in js/src r=crowder 2008-12-19 10:31:43 -08:00
Jim Blandy
b3a9d80456 Bug 469225: Make js/src/configure take a --disable-arm-vfp option. r=vladimir
This controls whether NJ_ARM_VFP is #defined in the SpiderMonkey
build.  By default it is enabled.

Note that commenting out the hard-wired definition of NJ_ARM_VFP in
js/src/nanojit/NativeARM.h makes that line of the file match what's in
tamarin-redux, so hopefully there won't be conflicts with whatever
arrangement Adobe comes up with to control this.
2008-12-19 10:20:36 -08:00
Brendan Eich
608700e168 Back out patch for bug 469625, it mysterious busts stuff. 2008-12-19 01:32:48 -08:00
Brendan Eich
16350be804 Merge, dammit! 2008-12-18 22:40:58 -08:00
Brendan Eich
b9cf426072 Bug 469625 - TM: Crash [@ js_String_getelem] (r=jorendorff). 2008-12-18 22:35:46 -08:00
Brendan Eich
90fd9c4313 Merge m-c into tm again. 2008-12-18 22:11:42 -08:00
Brendan Eich
9af4f618a7 Bug 470300 - "Assertion failure: StackBase(fp) + blockDepth == regs.sp" with |let| (r=gal). 2008-12-18 21:08:57 -08:00
Andreas Gal
bbf40348b6 Trace apply/call with an imacro (465214, r=brendan). 2008-12-18 19:20:47 -08:00
Graydon Hoare
d248d11954 Bug 470176 and bug 470173 - prevent traces from writing to imported properties, r=brendan. 2008-12-18 18:25:12 -08:00
Robert Sayre
c918482535 Merge m-c to tracemonkey. 2008-12-18 15:17:19 -05:00
Igor Bukanov
5f6b121715 bug 467441 - avoiding js_(Add|Remove)Root for regexp statics. r=crowder 2008-12-18 21:06:45 +01:00
Jeff Walden
201e000573 Bug 470133 - TM: fails to trace case with a type mismatch. r=gal 2008-12-18 10:35:09 -08:00
Igor Bukanov
1a1341cdb4 bug 465032 - operationCount as the first field in JSContext. r=brendan 2008-12-18 16:24:34 +01:00
Brendan Eich
3abd77d8ea Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap, a=sayrer). 2008-12-18 01:31:15 -08:00
Brendan Eich
8476ea6560 Bug 469940 - Automatic semicolon insertion wrongly done after var with multi-line initializer (r=mrbkap, a=sayrer). 2008-12-18 01:11:04 -08:00
David Anderson
dbab136074 Fixed bogus assertion in a rare type-instability case (bug 470061, r=gal). 2008-12-18 03:15:09 -05:00
Andreas Gal
589fb9eb38 Merge. 2008-12-17 23:09:55 -08:00
Andreas Gal
3af573343f Backed out changeset 95b210c2fc92 preemptively. Seems to crash the browser. 2008-12-17 23:09:26 -08:00
Andreas Gal
65b4bad89c XP_MACOSX and DARWIN are not set in the shell, so use __APPLE__ (another follow-up for 465460, r=danderson). 2008-12-17 22:58:02 -08:00
Andreas Gal
2dffadf0fb Merge. 2008-12-17 22:54:02 -08:00
Andreas Gal
62f0547add Trace apply/call using an imacro (465214, r=brendan). 2008-12-17 22:53:35 -08:00
Graydon Hoare
3477355ddd Bug 465443, bail off trace when readonly properties are written, r=brendan. 2008-12-17 20:50:05 -08:00
Robert Sayre
7b0ca330e8 Bug 423231. bustage fix. 2008-12-17 18:27:17 -05:00
Andreas Gal
4074f82a15 Return -0 for ceil if x < 0 and x > -1 (423231, r=jim). 2008-12-17 14:23:53 -08:00
Brendan Eich
bbd3fdab2a Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap). 2008-12-17 12:34:06 -08:00
Igor Bukanov
c67f58e20d bug 465377 - avoid useless duplication of Exception native. r=crowder 2008-12-17 20:31:24 +01:00
Benjamin Smedberg
a417fbee4c Bug 468937 - Add some basic tests for the red/green (cx->fp) analysis 2008-12-17 13:27:26 -05:00
Benjamin Smedberg
252eab1177 Bug 469995 - js_DecompileValueGenerator uses cx->fp and should be made safe, r=crowder+jorendorff 2008-12-17 13:15:08 -05:00