Commit Graph

4277 Commits

Author SHA1 Message Date
Aiko
aae680fe23 Bug 341901 - versioninfo for js3250.dll is bad. r=bsmedberg 2008-12-07 15:34:58 +01:00
Brendan Eich
1c1214a195 Bug 449657 - JS_SealObject fails on Array objects (r=mrbkap, a=sayrer). 2008-12-07 00:03:12 -08:00
Wan-Teh Chang
289d854372 Bug 466531 - Crash/hang [@ mult][@ Balloc] when loading pages on PPC; Proposed patch for JS (trunk); r=jim 2008-12-06 16:50:49 +01:00
Justin Wood
0a12c9f85c Bug 467050, add config.mk to the GLOBAL_DEPS list as well
r=ted
2008-12-05 23:04:01 -05:00
Peter Van der Beken
d17bae28e1 Partially back out fix for bug 461563 to try to fix Txul regression on Windows. 2008-12-05 14:38:05 +01:00
Peter Van der Beken
71f8bac27f Partially back out fix for bug 461563 to try to fix Txul regression on Windows. 2008-12-05 10:42:17 +01:00
Bob Clary
7c477545da bug 466990 - fix incorrect option in js1_5/Regress/regress-322430.js. 2008-12-04 04:49:27 -08:00
Bob Clary
2d0135a63a bug 450833 - JavaScript Test by Andreas Gal. 2008-12-04 04:49:26 -08:00
Bob Clary
54bc26a732 bug 455973 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:24 -08:00
Bob Clary
5e4dbdf1ab bug 456470 - JavaScript Test by Andreas Gal. 2008-12-04 04:49:21 -08:00
Bob Clary
da840a0a84 bug 460870 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:20 -08:00
Bob Clary
6c60d49c73 bug 461930 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:18 -08:00
Bob Clary
b153a2c2dc bug 461932 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:15 -08:00
Bob Clary
6bf0d544ec bug 462879 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:14 -08:00
Bob Clary
43a4168bc5 bug 463334 - JavaScript Tests by Jesse Ruderman. 2008-12-04 04:49:11 -08:00
Bob Clary
e1ce26fdcd bug 463782 - JavaScript Test by Gavin Sharp. 2008-12-04 04:49:10 -08:00
Bob Clary
979016c1a7 bug 462470 - JavaScript Test - modify expected results for js1_8_1/decompilation/regress-350991.js due to bug 461233. 2008-12-04 04:49:08 -08:00
Bob Clary
7f5a43a62a bug 464334 - JavaScript Test by Igor Bukanov. 2008-12-04 04:49:06 -08:00
Bob Clary
33b1fd39f6 bug 464403 - JavaScript Test by Gary Kwong and Jesse Ruderman. 2008-12-04 04:49:04 -08:00
Bob Clary
f703ab42bd bug 464418 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:01 -08:00
Bob Clary
de4d3987bc bug 464978 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:59 -08:00
Bob Clary
d6316f08fe bug 465013 - JavaScript Test by Brendan Eich. 2008-12-04 04:48:58 -08:00
Bob Clary
60862a6708 bug 465135 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:56 -08:00
Bob Clary
d281d8d85f bug 465136 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:54 -08:00
Bob Clary
62e6e5cdbd bug 465137 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:52 -08:00
Bob Clary
6e56fa5092 bug 465220 - JavaScript Test by Brendan Eich. 2008-12-04 04:48:50 -08:00
Bob Clary
ecdd0cd446 bug 465234 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:48 -08:00
Bob Clary
67c7cf0ed4 bug 465239 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:45 -08:00
Bob Clary
6e3e11c64a bug 465241 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:44 -08:00
Bob Clary
4fec1fd920 bug 465249 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:42 -08:00
Bob Clary
e7da24f622 bug 465262 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:39 -08:00
Bob Clary
522b70b68c bug 465261 - JavaScript Test by Gary Kwong. 2008-12-04 04:48:38 -08:00
Bob Clary
79a5c9b9bf bug 436741 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:36 -08:00
Bob Clary
9a991caef8 imported patch perl-permissions 2008-12-04 04:48:34 -08:00
Bob Clary
ed04c834db update public failures and universe.data. 2008-12-04 04:48:32 -08:00
Jeff Walden
443bee95c7 Bug 397227 - Forgot to sync js's config/rules.mk; it would have been helpful if that were checked at build time rather than 'check' time. r=redness still 2008-12-04 00:56:31 -08:00
Jeff Walden
f9ce0e9aa7 Bug 397227 - Reduce the effort needed to write C++ tests. r=ted 2008-12-03 22:25:00 -08:00
Brad Lassey
fdb2d669b4 Bug 464052 - windows compilers don't like variables named far r=crowder 2008-12-03 08:41:12 -05:00
Brian Crowder
91cded4902 Bug 462912 - THIS is defined on windows mobile r=jim 2008-12-03 08:41:12 -05:00
Benjamin Smedberg
438d35294c Merge backout of bug 466486 2008-12-02 17:18:28 -05:00
Benjamin Smedberg
2adc9eec08 Backed out changeset f71446b6fc7e: bug 466486- directories are getting skipped, causing things like xpcshell not to be built 2008-12-02 17:17:41 -05:00
Benjamin Smedberg
f8a9c1a885 Bug 467579: --with-static-checking is broken in spidermonkey. There is currently no useful static checking infrastructure for spidermonkey, so disable it for the time being, r=jimb 2008-12-02 14:46:37 -05:00
Benjamin Smedberg
69b2ad97cb Merge bug 466492, bug 466486, bug 463289, bug 442012, and bug 463420 2008-12-02 14:08:12 -05:00
Igor Bukanov
8626be1ad8 bug 466990 - check for valid option name in js shell. r=crowder 2008-12-02 14:03:30 +01:00
Peter Van der Beken
e58d168174 Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst. 2008-12-02 11:07:34 +01:00
Ben Hearsum
611df67e19 Version bump mozilla-central to 3.2a1pre/1.9.2a1pre. CLOSED TREE 2008-12-01 12:17:55 -05:00
Jesse Ruderman
8641b22aca Add bug 453935 crashtest to CLOSED TREE 2008-11-29 19:13:55 -08:00
Jesse Ruderman
42252a60cc Add crashtest for bug 400349. sdwilsh gave me permission to check in crashtests in today's CLOSED TREE. 2008-11-29 18:12:46 -08:00
Blake Kaplan
f32e0ba3e6 Bug 454142. r=brendan, r=igor, a=beltzner 2008-11-28 18:15:06 -08:00
Shawn Wilsher
60611b98b8 merge to tip after backout 2008-11-28 17:05:05 -08:00
Shawn Wilsher
d4bf0c5514 Backed out changeset a4495a0cf2ff (bug 458397) to investigate Txul regression (bug 467102) 2008-11-28 17:04:16 -08:00
Blake Kaplan
f0ec5c81f8 Bug 464788 - Fix warnings in XPConnect. r/sr=jst, a191=beltzner. 2008-11-28 11:08:37 +01:00
Blake Kaplan
128130b215 Bug 456284 - JSExtendedClass requires an equality hook. r=crowder, a191=beltzner. 2008-11-28 11:06:30 +01:00
Shawn Wilsher
1558aa2eeb Merge to tip for backout of bug 461566. 2008-11-27 20:33:33 -08:00
Shawn Wilsher
b5ea3312de Backed out changeset 037f635ced9f (bug 561566) 2008-11-27 20:32:48 -08:00
Shawn Wilsher
3bc6a3921f Merge to tip for peterv's bundle 2008-11-27 20:07:06 -08:00
Justin Wood
2c68d67b74 Bug 463824, Introduce GLOBAL_DEPS to build system
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
(really include js bits this time, forgot to *not* use |hg qref -s|)
2008-11-27 21:58:44 -05:00
Philipp Kewisch
b18d4c4fbd Fix bug 435474 - Provide a readline function for xpcshell to read a line from stdin. r/sr=mrbkap,a191=beltzner,p=philipp,dbo 2008-11-27 18:25:35 -08:00
Shawn Wilsher
1aec67653d Merge for backout of bug 453865 2008-11-27 14:18:21 -08:00
Shawn Wilsher
bd1f24e85b Backed out changeset 17842a2d0c7f (bug 453865) due to test failures 2008-11-27 14:16:55 -08:00
Shawn Wilsher
177e7e9738 Merge for bent's worker thread bundle. 2008-11-27 13:07:14 -08:00
Shawn Wilsher
ce713b89cc Merge to mozilla central for a whole lot of JavaScript tests. 2008-11-27 10:56:04 -08:00
Peter Van der Beken
9b83315e60 Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst. 2008-11-27 18:50:52 +01:00
Peter Van der Beken
c747cab7cf Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst. 2008-11-27 18:47:58 +01:00
Peter Van der Beken
97f5b22d33 Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst. 2008-11-27 18:45:25 +01:00
Bob Clary
05175de922 bug 462470 - JavaScript Tests - deal with changes in decompilation and behavior from bug 461233. 2008-11-27 04:38:43 -08:00
Bob Clary
d51b739a21 bug 466606 - JavaScript Tests - Do not force language version upon non-Gecko browsers. 2008-11-27 02:29:40 -08:00
Bob Clary
effe471e27 bug 466617 - JavaScript Tests - default browser tests to non jit. 2008-11-27 02:29:38 -08:00
Bob Clary
a997fd0bae bug 462939 - JavaScript Tests - update slow-n.tests, add branch specific slow-1.8.1.tests, slow-1.9.0.tests, slow-1.9.1.tests. 2008-11-27 02:29:36 -08:00
Jim Blandy
72886d4e95 Bug 461180: Fix test case result comparison function.
The old code fails when actual is Number.NaN and expected is a number.

(Patch from mrbkap, jimb, and Waldo.)
2008-11-27 02:29:34 -08:00
Jim Blandy
8fc7de6553 bug 466269 - fall out from getTestCase numeric/NaN comparison bug 461180. 2008-11-27 02:29:32 -08:00
Bob Clary
c1b001ef6e No bug - JavaScript Tests - sync js/tests/js1_8_1/trace/trace-test.js and js/src/trace-test.js 2008-11-27 02:29:31 -08:00
Bob Clary
1abc2e3f7f bug 452786 - JavaScript Test by Joachim Kuebart. 2008-11-27 02:29:29 -08:00
Bob Clary
30460da8fc bug 453915 - JavaScript Test by Chris Evans. 2008-11-27 02:29:27 -08:00
Bob Clary
2cd8e802bf bug 462470 - JavaScript Tests - deal with changes in decompilation and behavior from bug 461233. 2008-11-27 02:29:24 -08:00
Bob Clary
c04f6c6b19 bug 465272 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:22 -08:00
Bob Clary
40038f4476 bug 465276 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:20 -08:00
Bob Clary
2e86fe355b bug 465308 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:18 -08:00
Bob Clary
7016d41548 bug 465337 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:16 -08:00
Bob Clary
c8fb546113 bug 465347 - JavaScript Test by Brendan Eich. 2008-11-27 02:29:14 -08:00
Bob Clary
b21bd95276 bug 465424 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:12 -08:00
Bob Clary
ea85ddc0ce bug 465453 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:09 -08:00
Bob Clary
91a9e8c470 bug 465483 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:07 -08:00
Bob Clary
0c287595ba bug 465688 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:06 -08:00
Bob Clary
9eb31b3bab bug 466128 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:04 -08:00
Bob Clary
f80040df9b bug 466262 - JavaScript Test by Jesse Ruderman. 2008-11-27 02:29:02 -08:00
Bob Clary
22565b0407 bug 466951 - Sisyphus - JavaScript Tests - add option to perform depends builds to bisect.sh. 2008-11-27 02:28:55 -08:00
Bob Clary
1f14cf220d bug 460569 - JavaScript Test - fix test so iframe is properly appended to document. Diagnosis by Ben Turner. 2008-11-27 02:28:54 -08:00
Bob Clary
5f08e0cb8b bug 466952 - Sisyphus - JavaScript Tests - update known failures. 2008-11-27 02:28:52 -08:00
Roy Tam
d3c6e1f3d0 Bug 453636 Make nanojit build with VC7.1 r=danderson a191=beltzner 2008-11-27 10:21:22 +00:00
Igor Bukanov
306805aa02 bug 466206, r=brendan a191=beltzner 2008-11-27 10:16:30 +00:00
Ben Turner
0c73f1437e Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst. 2008-11-27 01:16:41 -05:00
Ben Turner
d1e776def5 Bug 459790 - 'Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] ).' Followup fix for JS impls. r+sr=jst, a=blocking1.9.1+ 2008-11-27 01:16:41 -05:00
Boris Zbarsky
a0adc7dc83 Merging in bug 453432 2008-11-26 16:54:54 -05:00
Benjamin Smedberg
5a96be0cbd Bug 466492 - test for the existence of jar.mn in make, rather than in a shell script: this allows us to avoid launching the subshell in the common case where a jar.mn is not present r=ted 2008-11-26 14:43:59 -05:00
Benjamin Smedberg
a3f1bc7d9c Bug 466486 - Don't launch subshells to build subdirectories if there aren't any subdirectories to build r=ted 2008-11-26 14:43:26 -05:00
Benjamin Smedberg
92e9d4714f Bug 463420 - SIMPLE_PROGRAMS leads to bustage with generated.pdb r=ted 2008-11-26 14:38:09 -05:00
Igor Bukanov
427be2e6d3 bug 457521, r=brendan a191=blocking 2008-11-26 10:16:48 -08:00
Andrei Saprykin
651c16ba12 Bug 453432 - Checking for MaybeGC conditions when allocating GC things.
r=igor,mrbkap a191=blocker
2008-11-26 18:09:24 +01:00
Igor Bukanov
54b6b33d7d bug 461158, r=brendan a191=blocker 2008-11-26 20:59:47 -05:00
Boris Zbarsky
5ab8d15933 Marge backout 2008-11-26 17:56:02 -05:00
Boris Zbarsky
55472dc351 Backed out changeset 7bc1ba9f91fe to fix test orange 2008-11-26 17:54:40 -05:00
Ben Hearsum
952efa1bf3 bug 463036: version/config bumps for Firefox 3.1b2. r=anodelman CLOSED TREE 2008-11-25 14:59:40 -05:00
Igor Bukanov
1c6685433f Backed out changeset 700ae4e59496 - bug 453157 caused talos oranges. CLOSED TREE 2008-11-24 11:36:44 +01:00
Andrei Saprykin
3cfcbdb3c5 bug 453157 - watchdog thread as an alternative to operation counting, r=igor,mrbkap a19b2=beltzner (CLOSED TREE) 2008-11-24 00:15:46 +01:00
Igor Bukanov
957d522969 Backed out changeset 04cecb0ec24c to see if it fixes tinderbox oranges. CLOSED TREE 2008-11-22 16:33:09 +01:00
Andrey Saprykin
b6507b326f bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a19b2=beltzner (CLOSED TREE) 2008-11-22 01:53:37 +01:00
Igor Bukanov
b7df88f931 Backed out changeset c54f1957d564 - bug 453157 - build system changes caused mouchi test failures. CLOSED TREE 2008-11-22 00:13:42 +01:00
Andrey Saprykin
c87e2d80c8 bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a1.9.0b2=beltzner (CLOSED TREE) 2008-11-21 22:58:16 +01:00
Blake Kaplan
24f49eeef4 Bug 465705 - There must always be at least one source note. r=brendan a=sayrer
Pushing on a CLOSED TREE with a=josh
2008-11-21 12:03:58 -08:00
Blake Kaplan
c1a551e9d9 Bug 465901 - DVG confused by |let|. r=brendan a=sayrer 2008-11-21 12:03:28 -08:00
Igor Bukanov
b13ff5429c Backed out changeset 8329a91db67d - bug 453157, CLOSED TREE 2008-11-21 00:18:43 +01:00
Andrei Saprykin
9fea491071 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=beltzner 2008-11-20 22:25:34 +01:00
Edwin Smith
b5094e7c4a Bug 468484 - isQuad(LIR_callh) on 32bit cpu's should be false (r=dvander+), r=danderson. 2008-11-20 15:39:45 -05:00
Ben Turner
f3e5b8842d Bug 459790 - "Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] )". r+sr=jst, a=mconnor. 2008-11-20 10:34:02 -08:00
timeless@mozdev.org
dd62a51a03 Backed out changeset 1d817f9d842f per beltzner
the windows leak tests were red and osx talos tests were orange
2008-11-20 16:23:57 +01:00
Andrei Saprykin
aed08c8c99 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=blocker 2008-11-20 10:43:06 +01:00
David Anderson
7356da10de Fix CALLPROP not guarding that the callee is not NULL (bug 465580, r=gal). 2008-11-19 20:41:45 -08:00
Edwin Smith
6415706f0d Bug 468484 - Fixed a couple more small nanojit injections, r=danderson. 2008-11-19 15:16:20 -05:00
David Anderson
a776f7137a Fixed unsafe coercion of JSVAL_VOID to string on trace entry (bug 465483, r=brendan). 2008-11-18 19:48:02 -06:00
Robert O'Callahan
72029ea360 Backing out bug 463339 due to Mac build failure 2008-11-19 14:52:16 +13:00
Ben Turner
214ca641e9 Bug 462389. Solaris bustage fix. r=neil@httl.net,sr=jst,a=beltzner 2008-11-19 14:16:15 +13:00
Jim Blandy
772d66ffe6 Bug 463339. Have js/src use symlinks when installing in dist. r=bsmedberg,a=sayrer 2008-11-19 14:14:04 +13:00
Vladimir Vukicevic
7a34f9500d Merge mozilla-central into tracemonkey 2008-11-18 13:54:21 -08:00
Brendan Eich
83c020dce3 Bug 465220 - nested imacro abort not cleanly handled (botches assertions) (r=mrbkap, a=beltzner). 2008-11-17 16:56:01 -08:00
Brendan Eich
37c40ca7c0 Merge. 2008-11-17 16:29:40 -08:00
Simon Bünzli
ce05a1e500 Bug 462774: Drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner 2008-11-17 13:57:43 +00:00
Igor Bukanov
b31f8300ea bug 452913 - fixing sprop management, r=brendan, a.9.1b2=sayer 2008-11-17 13:59:39 +01:00
Igor Bukanov
a76c374322 bug 464334 - removal of no longer applicable asserts that sp <= static spdepth. r=brendan a1.9.1b2=beltzner 2008-11-17 13:48:57 +01:00
Andreas Gal
27b72971da Removed bogus assert when stringifying objects (465209, r=brendan, a=mconnor). 2008-11-17 01:12:18 -08:00
Ginn Chen
5600ce1618 Bug 452390 Tracemonkey will crash if the compiler doesn't have FASTCALL r=danderson 2008-11-17 07:02:06 +08:00
Andreas Gal
f7ca65fe0f Don't demote multiplication, even if result is demoted and inputs are demotable (465308, r=danderson). 2008-11-17 01:39:49 -08:00
Andreas Gal
36cc27f654 Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan, 2nd attempt to push). 2008-11-17 01:20:54 -08:00
Andreas Gal
4287473ba2 Merge. 2008-11-17 00:05:59 -08:00
Andreas Gal
cdbe1015e3 Don't attempt to do CSE across labels (465276, r=danderson). 2008-11-17 00:05:29 -08:00
Brendan Eich
4f1fb4a478 No else after return if you please. 2008-11-16 23:16:30 -08:00
David Anderson
442b376986 Fixed regression from recent constant folding patch (bug 465272, r=gal). 2008-11-16 22:52:15 -08:00
Andreas Gal
c19528a655 Inline int32 to id fast path into the builtins (465268, r=danderson). 2008-11-16 22:20:34 -08:00
Andreas Gal
a9d9eff7ee Merge. 2008-11-16 22:13:37 -08:00
Andreas Gal
3c5889df4e Fix tracing of JSOP_IN (465241, r=danderson). 2008-11-16 22:13:13 -08:00
David Anderson
a653ef6015 Fixed branch traces being erroneously marked as dependent trees (bug 464979, r=gal). 2008-11-16 21:58:35 -08:00
David Anderson
637ce7666a Merge. 2008-11-16 21:37:28 -08:00
David Anderson
d46ed014cf Fixed edge case in nanojit register allocation for shl/shr (bug 465135, r=gal). 2008-11-16 21:36:33 -08:00
Andreas Gal
bd10f75bdb Can't bypass ECMADoubleToInt32 in js_StringToInt32 (465239, r=danderson). 2008-11-16 20:43:13 -08:00
Andreas Gal
0218a2502b Merge. 2008-11-16 20:22:52 -08:00
Andreas Gal
b1e33fe0ff JIT affects truthiness of "" <= null (465234, r=Waldo). 2008-11-16 20:22:01 -08:00
David Anderson
6f0cd7b8ba Constant fold additions to avoid erroneous isPromoteInt detection (bug 465249, r=gal). 2008-11-16 20:14:27 -08:00
Jeff Walden
7c2bb3cab6 Bug 465137 - TM: JIT thinks !NaN is false. r=gal 2008-11-16 18:28:51 -08:00
David Anderson
43c8a3cb27 Fixed deep abort logic when onTrace is set without a recorder (bug 465192, r=gal). 2008-11-16 17:55:01 -08:00
Andreas Gal
43dcf98a44 Backed out changeset 2601301b793d 2008-11-16 16:50:19 -08:00
Andreas Gal
cd3869dd9c Use regexp string as key for the regexp fragment cache (464866, r=brendan). 2008-11-16 15:17:16 -08:00
Andreas Gal
78fbb9e673 Merge. 2008-11-16 13:53:02 -08:00
Andreas Gal
012365500f Removed bogus assert when stringifying objects (465209, r=brendan). 2008-11-16 13:51:29 -08:00
David Anderson
db46b11fa1 Fixed recorders already deeply aborted being pushed onto the deep abort stack (bug 465145, r=gal). 2008-11-16 02:34:51 -06:00
Brendan Eich
93a63ea9b2 Avoid bogus assertbotch (more work needed to reconstruct imacro stack depth). 2008-11-15 23:56:49 -08:00
Andreas Gal
4da6188c80 Implement ordered comparison for objects (465133, r=brendan). 2008-11-15 23:19:46 -08:00
David Anderson
321ce0dc05 Deep abort recorders outer recorders if we need to flush the JIT cache early (bug 463829, r=brendan,gal). 2008-11-15 18:54:24 -06:00
Jeff Walden
dded0f5f95 Bug 462060 - TM: JIT: Initializing an array to a constant in a loop doesn't work for some constant values. r=brendan 2008-11-15 16:42:35 -08:00
Brendan Eich
d3da4b8e87 Fast followup to pick nit in last commit. 2008-11-15 12:49:00 -08:00
Brendan Eich
eb9a67cd20 Bug 465013 - TM: General Error trying to play video on CNN (r=gal). 2008-11-15 12:41:26 -08:00
Brendan Eich
bab1f697ee Bug 464978 - TM: hang with "[] + null" (r=danderson). 2008-11-15 10:33:50 -08:00
Graydon Hoare
acc4b45377 Bug 450000 - Support script timeouts in compiled code, r=gal. 2008-11-14 16:56:00 -08:00
Jeff Walden
8e7fb5c94b Bug 464986 - Crash trying to compile a trace generated from stdin in debug build. r=danderson 2008-11-14 14:36:32 -08:00
Jim Blandy
2798283907 Bug 464127 - Don't use -Os with Intel C/C++ compilers r=ted.mielczarek
Intel recommends against the use of -Os, and using it seems to produce
incorrect code in many recent versions of Intel's compilers.

js/src/Makefile.in tries to use -Os only with G++, but it tests
INTEL_CC, not INTEL_CXX --- even though almost all the sources are
C++.  Check INTEL_CXX instead.
2008-11-14 14:15:02 -08:00
Jim Blandy
26611f0fb3 Bug 464379: remove committed debugging 'echo'. r=bsmedberg
Here's the commit that added this:

    1.1764 <benjamin@smedbergs.us> 2007-01-31 08:12
    No bug: checking to see which tinderboxes don't have python available.

It seems unlikely that this echo was meant to stay in the configure script.
2008-11-14 14:10:29 -08:00
Brendan Eich
264e667808 Fix bogus assertion left in bug 463334. 2008-11-14 13:17:40 -08:00
Rick Reitmaier
a70c5b7d48 Bug 468484 - LirBuffer has been modified to provide advance warning of out of memory (OOM) conditions, r=danderson.
LirBuffer has been modified to provide advance warning of
out of memory (OOM) conditions.

A new page is allocated LIR_BUF_THRESHOLD instructions
prior to reaching the end of page.  If the page allocation fails,
call to outOmem() will return true.  The buffer can still be
safely written to during during this period but it is assumed
the higher level code will catch this condition and handle
it appropriately as writing LIR_BUF_THRESHOLD instructions
past this point will cause a crash.

This opportunity was also taken to re-factor the code for
LirBufWriter making it more platform agnostic.
- All non-LInsp data in the instruction stream is now managed
  through structures that overlay the memory region.
- prepFor() was added to replace the multiple
  ensureReferenceable() calls for each instruction.
- insCall() was also modified somewhat in that the
  arguments are now stored growing downwards from
  the position of the pseudo instruction LirCallIns.

CodegenLIR now has LirBuffer checks at the granularity
of each emitXXX() call that is exposed publicly.  This seemed
like a reasonable approach since a client could potentially
call at this level indefinitely.  If we want to reduce the frequency
of these checks then we'd have to push the check up into the
verifier.

Assembler OOM handling has also changed.  The variable
_startingIns was added and contains the location at which
the assembler began writing code for the current
begin/assem/end sequence.   If an OOM condition occurs
the assembler will reset the current instruction pointer
to _startingIns, effectively overwriting the code that has
been generated.  This allows the assembler to produce
code indefinitely (and without error) until the upper layers
have noticed the error and respond accordingly.

The constant LARGEST_UNDERRUN_PROT was added
and needs to be set to a platform specific value that is
equal to or greater than the number of NIns written for
the largest possible instruction.  i.e.  you cannot write
more than this number of NIns to the buffer for each
call to underrunProtect().
2008-11-14 12:46:35 -08:00
Andreas Gal
10733f686b Merge. 2008-11-14 08:07:19 -08:00
Neil Rashbrook
297e12e670 Bug 463896 Make xterm updates work with PARALLEL_DIRS for those people not on -j19 r=ted 2008-11-14 14:11:18 +00:00
Dave Townsend
0c402e5439 Backed out changeset ec9a1864d1fb from bug 462774, drop JSON.jsm due to OSX
burning
2008-11-14 12:36:07 +00:00
Simon Bünzli
aa05a6321f Bug 462774: drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner 2008-11-14 12:11:11 +00:00
Andreas Gal
4deed08183 Merge. 2008-11-14 00:14:52 -08:00
Andreas Gal
8d8bb6d3bc Compile native code for regexp first and don't shrink bytecode (464867, r=dmandelin). 2008-11-13 22:41:33 -08:00
David Mandelin
3891561ee3 Fixing bug 463803. Fixing crash on Windows with native regexp compiler. r=gal 2008-11-13 17:10:18 -08:00
David Mandelin
e82bebbc82 Fixing bug 463789. Native regexp compiler regression sweet crash. r=gal 2008-11-13 17:08:57 -08:00
David Mandelin
309949e188 Bug 463803: win32 crash in w/ regex compiler, r=gal 2008-11-13 16:56:24 -08:00
Andreas Gal
acebe116c1 Don't flush JIT cache from within the recorder (464403, r=brendan). 2008-11-13 15:58:58 -08:00
Andreas Gal
3214b2fe7a Bug 464413 - "Assertion failed: _stats.freePages == _stats.pages". r=brendan 2008-11-13 10:33:45 -08:00
Edwin Smith
d1925631b4 Bug 468484 - trivial cleanups to simplify armjit merge (r=me), r=danderson. 2008-11-13 12:52:26 -05:00
Brendan Eich
9cbc195e82 Fix from Ginn Chen <ginn.chen@sun.com> for bug 464645. 2008-11-13 09:10:27 -08:00
Peter Van der Beken
c39cb1e482 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Jim Blandy
d79ee2ff98 Bug 462272: Record dependency on generated header javascript-trace.h, r=mrbkap, NPOB
Record object files' dependency on javascript-trace.h, when
HAVE_DTRACE is set.

Use $(CURDIR) where javascript-trace.h appears as a target or
dependency, to ensure that VPATH doesn't cause us to use a copy other
than the one in the object directory.
2008-11-13 14:51:37 +01:00
Brendan Eich
fab08e017c Fast followup to fix for-each-in (imacros bug, r=me). 2008-11-13 00:43:00 -08:00
Brendan Eich
cb47c4cf08 Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal). 2008-11-13 00:30:20 -08:00
David Anderson
30101c6443 Fixed recursion in thin loops accidentally trying to close the parent loop (bug 464089, r=gal). 2008-11-12 19:00:15 -08:00
Jesse Ruderman
e23679569a Remove '\n' from NanoAssertMsgf calls (made redundant by the patch in bug 452674) 2008-11-12 18:02:34 -08:00
David Mandelin
5d10ab6833 Bug 463789: regression suite stack oflow on windows with regex compiler, r=gal 2008-11-12 17:55:56 -08:00
Andreas Gal
074d900a57 Backed out changeset a40f2117bcc0 2008-11-12 17:39:48 -08:00
Brendan
0ca607d76b Add imacros to support conversion of arbitrary JSObjects (456511, r=gal). 2008-11-12 16:55:45 -08:00
Igor Bukanov
31d283c656 bug 464442 - various JSOP_APPLY fixes. r=brendan 2008-11-12 22:42:13 +01:00
Andreas Gal
d3c38eade4 Backed out changeset 313d3d61333d 2008-11-12 10:12:22 -08:00
Neil Rashbrook
23ff2e72e7 Followup to bug 462440 to remove redundant line r=ted a=beltzner 2008-11-12 12:16:21 +00:00
Andreas Gal
348e1dc001 Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan). 2008-11-11 23:58:36 -08:00
Andreas Gal
00f4a7853a Merge. 2008-11-11 22:48:26 -08:00
Andreas Gal
a994665c09 Don't allocate a new lirbuf if we already have a fragment for the regexp (464413, r=brendan). 2008-11-11 22:48:00 -08:00
David Mandelin
f7418603b9 Bug 464138: invalid use of regexp addr as unique key, r=gal 2008-11-11 19:20:18 -08:00
Jim Blandy
377dcbc87b Bug 462004: Use automatic variables in make rules, to allow VPATH to work. r=ted.mielczarek
Note that this applies to the js/src/Makefile.ref build system, not
the global Mozilla build system.

We would like to use VPATH to find js.cpp once it moves into a 'shell'
subdirectory.  However, the rules changed by this patch use $* (the
pattern stem) to generate their source filenames, not $<, which
expands to the filename found in the VPATH.
2008-11-11 16:54:20 -08:00
Andreas Gal
73f93b8abc Merge. 2008-11-11 15:16:31 -08:00
Andreas Gal
592b859e7e Merge with mozilla-central. 2008-11-11 15:16:04 -08:00
Blake Kaplan
093ecbb6c7 Bug 463715 - Be less wasteful when emitting escapes. r=sayrer 2008-11-11 15:09:20 -08:00
Bob Clary
e0a2040e7a JavaScript Tests - tests for bugs 461233, 458851, 459628, 460024, 460117, 461307, 461723, 462292, 462989, 463259, 460501, 461108, 461111, 461235, 461945, 462071, 462282, 462288, 462407, updated js1_8_1/trace/trace-test.js, updated failures 2008-11-11 13:08:13 -08:00
timeless@mozdev.org
de4863a534 Bug 464214 warnings in jstracer
r=gal
2008-11-11 11:21:12 +01:00
timeless@mozdev.org
1efe45f72f Bug 464212nanojit/Nativei386.cpp(148) : warning C4309: 'initializing' : truncation of constant value
r=gal
2008-11-11 11:20:07 +01:00
Andreas Gal
51726b48f9 Backed out changeset cb559a14ad77 2008-11-10 19:14:00 -08:00
Vladimir Vukicevic
7b53df46a7 b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer 2008-11-10 11:11:06 -08:00
Vladimir Vukicevic
1ad86545f7 [arm] b=462430, implement LIR_ldcs, re-enable regexp jit for ARM 2008-11-09 17:36:30 -08:00
Vladimir Vukicevic
55861cdf74 [arm] Fix up ARM nj backend to take into account exit block merging and other changes. Also simplify some branch code along the way. 2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
1ecb39bb70 [arm] Disable regexp tracer on ARM 2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
26b45638d4 whitespace/tab cleanup in NativeARM.cpp 2008-11-08 22:27:24 -08:00
Jeff Walden
c90c1d272e Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions, take two. r=gal, r=edwsmith on the first iteration as well 2008-11-08 01:45:50 -08:00
Jeff Walden
932287a573 Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions. r=gal, r=edwsmith 2008-11-08 01:45:50 -08:00
timeless@mozdev.org
04d8f53350 Bug 464099 jit pref isn't honored by regexp code
r=dmandelin
2008-11-11 00:16:19 +01:00
Jim Blandy
d50747d1a8 Bug 462451: Restore js/src/Makefile.ref and supporting files. r=brendan
This patch simply restores the deleted files unchanged, except for the
following:

o Makefile.ref now generates the js-config.h header file, based on the
  values of JS_THREADSAFE and JS_GC_ZEAL it is invoked with.

o The subdirectory containing platform-specific files for Makefile.ref
  has been renamed from 'config' to 'ref-config'; the former name
  conflicts with the new unified build system.  config.mk has been
  updated accordingly.
2008-11-10 12:55:46 -08:00
Jim Blandy
07a52be674 Bug 462451: Don't find generated SpiderMonkey headers via VPATH. r=bsmedberg 2008-11-10 12:55:46 -08:00
Jim Blandy
6721e0d7d2 Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past.  So use $(CURDIR)/$(MDDEPDIR) instead.

Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically.  Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too.  Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Andreas Gal
fbb6976032 Backed out changeset dbb2a6559cf5 2008-11-10 12:49:56 -08:00
David Mandelin
f17c0039c2 Bug 463545: lazy compilation of regexps to native, r=gal 2008-11-10 12:04:07 -08:00
Vladimir Vukicevic
1667535360 b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer 2008-11-10 11:20:07 -08:00
Robert Sayre
a1bf2f89c4 Merge mozilla-central to tracemonkey. 2008-11-08 02:21:20 -05:00
Andreas Gal
34deb27634 Merge. 2008-11-07 18:19:52 -08:00
Andreas Gal
55c5823950 Backed out changeset 594ec832d9a8 2008-11-07 18:19:35 -08:00
Andreas Gal
533b7866b1 Add back typedef for JSTraceMonitor (compilation fix for legacy C use of JS engine includes, no bug). 2008-11-07 16:58:36 -08:00
Andreas Gal
54ba19de70 Trace Function.apply and Function.call (462482, r=brendan). 2008-11-07 15:58:52 -08:00
Andreas Gal
43daeaca87 Don't spill type definitions in avmplus.h into the global namespace (462288, r=danderson). 2008-11-07 15:52:51 -08:00
Andreas Gal
41cc8a6bd1 Merge. 2008-11-07 15:24:16 -08:00
Andreas Gal
e609f0bb95 Cleanup GuardRecord, SideExit, and InterpStruct and extract VM-dependant fields (463313, r=danderson). 2008-11-07 15:23:43 -08:00
Robert Sayre
8e4a6beb13 Bug 462778. Fix JSON top crash. r=brendan 2008-11-07 18:10:39 -05:00
David Mandelin
cc483659e4 Fixing build bustage and nits from bug 464138. 2008-11-11 17:23:15 -08:00
David Mandelin
5fc0b531f5 Bug 464138 - Intermittent JS regexp error on tinderbox. r=gal a=dsicore 2008-11-11 17:05:45 -08:00
Brendan Eich
40acf84539 Bug 443071 - Assertion failure with "for (;;[]=[])" (r=mrbkap). 2008-11-07 14:01:11 -08:00
David Anderson
fa14a92fe7 Fixed multitrees assert when building failed speculated branches (bug 463490, r=gal). 2008-11-07 13:22:05 -08:00
Robert Sayre
f976ddfecf Merge mozilla-central to tracemonkey. 2008-11-06 11:12:04 -05:00
Peter Van der Beken
c39e172979 Backed out changeset 874aba8a9a8a to fix orange 2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-06 12:09:30 +01:00
Ben Newman
6b0b398a1c Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst. 2008-11-05 22:42:51 -08:00
Ben Turner
c031080e02 Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst. 2008-11-05 22:41:52 -08:00
Andreas Gal
96aec85318 If the regexp cache runs full flush it and make sure to keep bytecode version around in case the native code was thrown away (463281). 2008-11-05 22:30:19 -08:00
Leon Sha<leon.sha@sun.com>
314e79c76f Bug 468484 - Bug 463182 - Can not build tamarin-redux on solaris with Sun compiler. stejohns: review+, r=gal. 2008-11-06 13:37:37 +08:00
Andreas Gal
a19551a824 Fix GC hangs when OOM during recovery pool re-allocation (463190, r=brendan). 2008-11-05 19:09:12 -08:00
Blake Kaplan
d3f8a13075 Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst 2008-11-06 18:06:32 -08:00
Andreas Gal
56b1b4e24a Merge. 2008-11-05 14:27:16 -08:00
Andreas Gal
2b6b89a66e Use GuardRecord/SideExit provided by the tracer in regexp (463281, r=danderson). 2008-11-05 14:26:51 -08:00
Brendan Eich
7f1675516e Bug 463259 - "Assertion failure: VALUE_IS_FUNCTION(cx, fval)" (r=mrbkap). 2008-11-05 14:25:39 -08:00
Bob Clary
37e2ea771c bug 399387 - JavaScript Tests - update public failures, universe data 2008-11-05 14:08:19 -08:00
David Mandelin
0dd975151b Bug 461050: remove extraneous comment, indexed loads are generated automatically 2008-11-05 11:46:49 -08:00
David Mandelin
69cebc3c8d Bug 461050: regexp compiler, style fixes, r=brendan 2008-11-05 11:38:18 -08:00
David Mandelin
45e1fa1027 Bug 461050: oom handling, somehow omitted from original commit, r=gal 2008-11-04 20:07:37 -08:00
Andreas Gal
bf204b37e3 Merge. 2008-11-04 19:33:29 -08:00
David Anderson
a6c715fb81 Fixed memory leak in nanojit's LabelStateMap (no bug, r=gal). 2008-11-04 19:22:13 -08:00
Andreas Gal
0d6e29aa6c Scale down regexp native code cache to 1MB and delete cache on shutdown (r=danderson). 2008-11-04 19:11:23 -08:00