Commit Graph

4480 Commits

Author SHA1 Message Date
Andreas Gal
7ddb12bdbc Merge. 2008-12-12 16:28:34 -08:00
Oleg Romashin
a356fe2d9a Bug 468824 - libosso.h and hildon-uri.h should be defined in system-headers list. r=benjamin. 2008-12-13 00:22:41 -05:00
Andreas Gal
f7da8821da Branch-exit and attach traces on shape mismatches (r=danderson). 2008-12-12 14:26:55 -08:00
Robert Sayre
443f738d12 Backed out changeset f682453c06d0. Failing scriptaculous unit tests, doesn't build on windows or mac ppc. 2008-12-11 20:43:32 -08:00
Brendan Eich
ece10ee8df Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-11 17:50:56 -08:00
Graydon Hoare
39ed76ba7c Bug 468484 - Back out further arm-wince breakage from recent merging activity. 2008-12-11 17:09:45 -08:00
Graydon Hoare
aac4a6a13a Bug 468484 - Back out further arm-wince breakage from recent merging activity. 2008-12-11 16:11:29 -08:00
Jason Orendorff
b20c028359 Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 3 of 4, call objects, r=brendan)
--HG--
extra : rebase_source : 14a82b2b08c8b7dbae5e72623685b7c3947df603
2008-12-11 17:53:05 -06:00
Jason Orendorff
acc67a8b40 Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 2 of 4, stack, r=gal)
--HG--
extra : rebase_source : f8e3e4853793d02e0771ea663cebe7e1a0d98e4e
2008-12-11 17:53:05 -06:00
Jason Orendorff
999ec8e790 Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 1 of 4, easy stuff, r=gal)
--HG--
extra : rebase_source : 46b26c86f02bb0db70ca357ed71f5a8a9464dc9c
2008-12-11 17:53:04 -06:00
Blake Kaplan
6dd93666f1 Bug 470129 - Skip parentheses when doing optimizations based on parse node type. r=igor 2009-01-06 15:13:57 -05:00
Jeff Walden
d39a0ed158 Move trace-test-math.js to math-trace-tests.js and remove trace.js because they defy my tab-complete-fu
--HG--
rename : js/src/trace-test-math.js => js/src/math-trace-tests.js
2009-01-05 18:28:48 -08:00
Andreas Gal
89c862278e Merge. 2009-01-05 16:23:07 -08:00
Andreas Gal
135f143d10 Backed out changeset adbe8e4b21dc due to tinderbox failures/timeouts (453157). 2009-01-05 16:22:42 -08:00
Andreas Gal
8582d80da4 Merge. 2009-01-05 16:14:14 -08:00
Andreas Gal
61a1479f3e Don't try to deallocate the trace recorder from inside one of its own instance methods (472049, r=brendan). 2009-01-05 16:13:53 -08:00
Andrei Saprykin
9f7c96f36f bug 453157 - watchdog thread as an alternative to operation count. r=myself,mrbkap 2009-01-05 22:09:23 +01:00
Andreas Gal
deb8272b88 Merge. 2009-01-02 15:51:25 -08:00
Andreas Gal
6a2d183fee Stop generating LIR when running out of memory in the regexp compiler (471924, r=danderson). 2009-01-02 15:50:56 -08:00
David Mandelin
4202e18d74 Bug 463997: JS regression test bug with 'with (window) ...', r=mrbkap 2009-01-02 13:11:46 -08:00
Robert Sayre
1afdec58da Merge tm to m-c. 2008-12-11 15:17:58 -08:00
Blake Kaplan
f3228fcb87 Bug 464092 - Censor access to block objects when they're the parents of functions. r=igor a=beltzner 2008-12-11 14:16:46 -08:00
Graydon Hoare
bb7e9793cf Bug 468484 - back out most of changeset 2963765d5585 and ifdef-guard members of avmplus::Config, fix arm build.
* * *
Bug 468484 - ifdef-guard members of avmplus::Config structure that broke ARM build.
2008-12-11 13:50:55 -08:00
Benjamin Smedberg
6205031244 Bug 466486 - Don't use a subshell to recurse over DIRS when DIRS is empty (try #2) r=ted 2008-12-19 09:50:24 -05:00
Brendan Eich
db295b5972 Back out patch for bug 469625, it mysteriously busts stuff. 2008-12-19 01:38:09 -08:00
Ted Mielczarek
39e658d4df bug 468515 - configure doesn't set OS_TEST properly in 64-bit OS X builds. r=bsmedberg 2008-12-11 09:52:18 -05:00
Graydon Hoare
3cbd1cd998 Bug 450000 - Back out nanojit jump-patching machinery, r=danderson. 2008-12-10 17:31:17 -08:00
Graydon Hoare
ba3dc13800 Bug 468484 - Minor adjustments to match changes in tamarin, r=gal. 2008-12-10 17:25:46 -08:00
Graydon Hoare
37cfe58e72 Bug 468484 - Rename avmplus::AvmConfiguration, adjust sites of use, r=gal. 2008-12-10 17:19:40 -08:00
Benjamin Smedberg
e8ea9cf02d Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Jeff Walden
6afac16038 Bug 465255 - Rewrite TraceRecorder::cmp, take five. (Three, sir!) Three! r=gal 2008-12-08 21:11:56 -08:00
Boris Zbarsky
dc570eacdd Bug 466935. Make JS_JIT_SPEW non-DEBUG build again. r=dmandelin,brendan 2008-12-11 13:55:04 -05:00
Benjamin Smedberg
893f114acb Bug 468717 - enable static analysis for js/src, r=jorendorff
--HG--
rename : xpcom/analysis/static-checking.js => config/static-checking.js
rename : xpcom/analysis/string-format.js => config/string-format.js
rename : xpcom/analysis/static-checking.js => js/src/config/static-checking.js
rename : xpcom/analysis/string-format.js => js/src/config/string-format.js
rename : xpcom/analysis/jsstack.js => js/src/jsstack.js
2008-12-11 11:40:04 -05:00
Jim Blandy
1e6522ed70 Bug 463339: Have js/src use symlinks when installing in dist. r=bsmedberg
A directory's 'libs' target should create symlinks in the top-level
dist/bin and dist/lib directories to the libraries (and any other
generated files) in the build tree, so that when one has changed
sources in $src/js/src, simply running 'make' in $obj/js/src and then
re-running $obj/dist/bin/firefox will pick up the new libraries.

The js/src/Makefile.in 'install' target has many double-colon rules
with commands; we'd like to use these all in two circumstances:

. For 'make install' in a stand-alone js/src build.  Since we're
  following GNU behavior, this should copy the files it's installing.

. For 'make libs' in an in-tree js/src build.  To interact properly
  with the rest of the Mozilla build system, this should create
  symlinks as explained above.

To accomplish this, we use plain old $(INSTALL) in all the install
targets, have js/src/Makefile.in set NSDISTMODE to copy (to get the
GNU behavior), and then have config/js/Makefile.in override that (to
get the Mozilla in-tree behavior).
2008-12-08 09:35:58 -08:00
Ted Mielczarek
68f2eb86cc bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Ted Mielczarek
8370a127e4 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
Jim Blandy
a04892f62e Bug 465640: Use autoconf to declare stdint types on platforms that don't have stdint.h r=bsmedberg
At configure time, check for <stdint.h>.  If we don't have it, find
integer types of various sizes.  On Windows, where we can't run
compilation tests in configure, hard-code definitions suggesting the
use of the built-in __intN types for the exact-size types, and
<stddef.h> for the pointer-sized types.

Use namespace-clean names for the preprocessor macros we define.
Since these types are used in the public JavaScript API, the configure
script needs to place the definitions it finds in js-config.h, the
installed configure-generated header, so it can be used by jsapi.h and
that gang.

New header js/src/jsstdint.h does what it takes to get definitions for
the exact-size and pointer-size integral types.  It includes
<stdint.h> when available, uses the types found by configure.in to
define the {,u}int{8,16,32,64,ptr}_t types itself, or uses the __intN
types and the <stddef.h> header.

Remove now-unnecessary and possibly conflicting definitions of intN_t
types from js/src/nanojit/avmplus.h.
2009-01-13 10:50:24 -08:00
Benjamin Smedberg
fc65bccce5 Followup to bug 463172 (implement --disable-jit) - this block needs to be outside of the SKIP_COMPILER_CHECKS block so that it affects Windows 2009-01-13 12:54:35 -05:00
Benjamin Smedberg
fec9af26d0 Bug 463172 - add a --disable-jit option, r=ted 2009-01-13 11:34:51 -05:00
Benjamin Smedberg
d42ae41122 Backed out changeset 8f347bf50a53 due to x86-64 build bustage, and the fact that the committed patch didn't match the reviewed patch in an important way (bug 469558) 2009-01-13 10:19:25 -05:00
Bobby Holley
475a3a6720 Bug 469558: --enable-system-lcms build option should be removed.r=vlad,sr=ted 2009-01-12 16:20:45 -08:00
Benjamin Smedberg
08c8aadf40 Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Ted Mielczarek
1603009445 bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Benjamin Smedberg
2e26c94375 Bug 472461 part 2 - jsgc crashes with !JS_TRACER, r=jorendorff for immediate bustage fix, and I'll get ex-post-facto review from Igor 2009-01-08 10:44:16 -05:00
Benjamin Smedberg
9d2a991be0 Bug 472461 part 1 - jsgc.cpp fails to compile with !JS_TRACER, initial patch by Igor, r=jorendorff with nits fixed by bsmedberg 2009-01-08 10:43:33 -05:00
Michael Ventnor
80e906d414 Bug 469880. Support a libnotify-based implementation of nsIAlertsService for GTK. r+sr=roc,r=ted
--HG--
extra : rebase_source : f9a6a01ffaf868712429a42193a275eecaf9a614
2009-01-08 21:12:16 +13:00
Robert Sayre
baff9704e9 Merge tracemonkey into mozilla-central. 2009-01-07 23:48:28 -05:00
timeless@mozdev.org
5efd1326d0 Bug 136292 jsdIValue doesn't handle Unicode string values at all
Bug 335098 Strings with \x00 are truncated
support non ascii strings from js engine, r+sr=jst
2009-01-07 20:42:15 -08:00
timeless@mozdev.org
c42ddc47be Bug 468045. r+sr=jst. 2008-12-07 16:15:54 -08:00
Ben Turner
f94fff590e Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst. 2008-12-07 16:15:49 -08:00
Ben Turner
7340738ad2 Bug 467162 - 'uninitialized local variable warning in xpcwrappedjsclass.cpp'. r+sr=jst, a=blocking1.9.1 2008-12-07 16:15:43 -08:00
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
Ted Mielczarek
3e3567237e bug 472877 - Add configure option to enable gczeal. r=crowder 2009-01-10 17:00:20 -05:00
L. David Baron
e84f7f11b1 Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap 2009-01-10 08:28:16 -08: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
Ben Turner
c16fd87aa3 Backed out changeset 4fc7c6f6f45e 2008-11-04 18:58:24 -08:00
Ben Turner
a3da8488d8 Bug 460811 - "Bring workers up to latest spec". r+sr=jst. 2008-11-04 18:01:05 -08:00
David Anderson
5ee0ea8b50 Fix using wrong regalloc helper in asm_ld peephole opt (r=rreitmai). 2008-11-04 16:52:25 -08:00
David Anderson
16b6dd740c Peephole optimize various LIR load patterns for x86 addressing (bug 444682, r=gal). 2008-11-04 16:34:13 -08:00
Graydon Hoare
6901121f8d Fix MSVC sensitivity to symbols called 'far' 2008-11-04 16:28:05 -08:00
David Mandelin
f96c978165 Fixing regexp compiler nanojit spew to conform with TM 2008-11-04 16:10:38 -08:00
David Mandelin
c761727be4 Adding JS_TRACER guards to regexp compiler for ppc builds & other non-tracing 2008-11-04 16:03:57 -08:00
David Mandelin
19ac0a15e0 Adding cast to make MSVC happy 2008-11-04 15:49:48 -08:00
Robert O'Callahan
cca234e798 Back out changeset b83d3c8ac166 (bug 460811) to try to fix bustage 2008-11-05 12:47:52 +13:00
Robert O'Callahan
01ff4e2538 Backing out changeset dc1aff36a411 (bug 462389) to try to fix bustage 2008-11-05 12:36:19 +13:00
David Mandelin
dca6d46eec Fixing Linux breakage, stupid jump crosses initialization errors 2008-11-04 15:21:23 -08:00
David Mandelin
d245bf6acb Fixing OSX build, seems related to namespace trickery 2008-11-04 15:17:51 -08:00
Andreas Gal
b8168d74d9 Merge. 2008-11-04 15:08:24 -08:00
Andreas Gal
cdec6ab0a7 Interpreter directly emits the this object found in the property cache for JSOP_CALLNAME, so do the same in the tracer (462989, r=mrbkap). 2008-11-04 15:07:38 -08:00
David Mandelin
c92c2000cc Bug 461050 WIP: compiling simple regexps, r=danderson,agal 2008-11-04 14:51:51 -08:00
Graydon Hoare
9198f045ad Bug 462228 - Add interface to disconnect and reconnect loops in nanojit, r=gal. 2008-11-04 14:20:19 -08:00
Graydon Hoare
5cfd909934 Bug 462228 - Merge code-patching functions in nanojit, r=rreitmai. 2008-11-04 14:18:17 -08:00
Peter Van der Beken
146cbb323b Bug 462926 - 'Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call'. r+sr=jst. 2008-11-04 13:50:50 -08:00
Ben Newman
7f61ea749a Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
--HG--
rename : dom/src/threads/nsAutoJSObjectHolder.h => js/src/xpconnect/public/nsAutoJSValHolder.h
2008-11-04 13:49:05 -08:00
Ben Turner
718025a3f8 Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst 2008-11-04 13:49:04 -08:00
Peter Van der Beken
fbe83f43ff Backed out changeset 47c0377779bb to fix orange 2008-11-04 20:56:16 +01:00
Peter Van der Beken
f4f6bc2300 Backed out changeset 47c0377779bb to fix orange 2008-11-04 20:55:48 +01:00
Peter Van der Beken
3bb228a9e8 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:50 +01:00
Peter Van der Beken
5a6c152342 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:08 +01:00
Benjamin Smedberg
6cd85a8589 Bug 462740 - Building spidermonkey on Windows with -j3 fails: conflicts in PDB files. Related to bug 382297 and bug 286179, where we flip-flop back and forth about this. Document the way things should actually be! 2008-11-04 14:38:40 -05:00
Peter Van der Beken
eac8c19c52 Fix for bug 462926 (Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call). r/sr=jst 2008-11-04 18:18:12 +01:00
Peter Van der Beken
24a73db424 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-04 18:10:43 +01:00
Robert Sayre
03d49a666b Merge mozilla-central to tracemonkey. 2008-11-04 02:05:05 -05:00
David Anderson
158e7f3bb0 Don't cache pointer to recorder since it might change in js_MonitorRecording (462980, r=gal). 2008-11-03 20:57:50 -08:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
David Anderson
db369008ec Fixed memory leak in LInsHashSet (bug 462826, r=gal). 2008-11-03 19:43:47 -08:00
David Mandelin
d0a8376658 Bug 462412: API to delete a single fragment, r=danderson 2008-11-03 16:14:44 -08:00
David Anderson
2be8898675 Merge. 2008-11-03 16:11:36 -08:00
David Anderson
65f7adbd31 Fixed OOM handling when starting a recorder or assembler (bug 451322, r=gal+rreitmai). 2008-11-03 16:10:20 -08:00
Blake Kaplan
dab238daea Bug 462910 - Add a JS_ValueToSource API. r=brendan 2008-11-03 14:28:36 -08:00
Brendan Eich
94ae1a5b36 Bug 462879 - "Assertion failure: UPVAR_FRAME_SKIP(uva->vector[i]) == 1" with nested eval (r=mrbkap). 2008-11-03 13:55:51 -08:00
Benjamin Smedberg
7954d6ff25 Bug 462730 - Parallel builds with -j20 don't build the submakefiles before recursing into them. Switch back to using $* in the rule because we found out the make 3.80 bug: it doesn't set $* in double-colon rules, but it does in single-colon rules. r=ted (copy rules.mk to the JS build system) 2008-11-03 14:30:05 -05:00
Peter Van der Beken
2b8cf3c2d4 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
ause<ause@sun.com>
0fd9e68163 Bug 462516 - add -isysroot to find fat version of system libraries 2008-11-03 13:05:30 +01:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Jim Blandy
e9a790f333 Bug 462356 - Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met; glib part; r=ted.mielczarek 2008-11-02 18:40:57 +01:00
Jim Blandy
75ebba4f18 Bug 462356 - Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met; elf-dynstr-gc part; r=ted.mielczarek 2008-11-02 18:39:54 +01:00
Brendan Eich
9eb3ee8b6a Bug 456692 - "Assertion failure: slot < fp2->script->nslots" with nested eval (r=mrbkap). 2008-11-02 01:15:06 -07:00
Edwin Smith
774d38113c Bug 468484 - Fix cascading register spilling bug 462522 (r=rreitmai+), r=danderson. 2008-10-31 15:56:02 -04:00
Jason Orendorff
413e752410 Bug 453564 - TM: Assertion failure: JSVAL_IS_NULL(vp[0]) || (!JSVAL_IS_PRIMITIVE(vp[0]) && OBJ_IS_ARRAY(cx, JSVAL_TO_OBJECT(vp[0]))). r=gal.
--HG--
extra : rebase_source : be08d1a4ca8a3765523b992a5d4e469e67ba8811
2008-12-09 11:43:32 -06:00
timeless@mozdev.org
b93635a72f Bug 454561 TM: Crash when JavaScript-Debugger is enabled [ @ jsd_lock ]
js_SynthesizeFrame needs to fill in all fields of JSInlineFrame.
r=brendan
2008-10-29 11:06:01 +01:00
Benjamin Smedberg
2ba4044e4b Bug 462440 - Creating directories is really racy, and has an rm -rf in the middle of the race, r=ted
Adding the other part to js/src/config like we had to do earlier today to fix windows orange.
2008-10-30 21:39:37 -04:00
Bob Clary
82ae2e6dbb bug 462435 - JavaScript Tests - update tests 2008-10-30 15:17:35 -07:00
Doug Turner
dfcd6ade60 merge to tip 2008-10-30 14:43:10 -07:00
Doug Turner
e5a3cd9352 Bug 462215 - javascript autoconf busted on windows mobile. r=ted 2008-10-30 14:41:21 -07:00
Mark Banner
dca5e94716 TUnit bustage fix from follow up to bug 461395 - fix a bug in make 3.80 by avoiding in pattern rules with explicit targets and keep mozilla/config and mozilla/js/src/config in sync. r=ted over irc 2008-10-30 21:28:21 +00:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Brendan Eich
b038cc78c9 Bug 456692 - "Assertion failure: slot < fp2->script->nslots" with nested eval (r=mrbkap). 2008-11-02 01:13:45 -07:00
David Mandelin
f8d1b7798b Preserve param1 over loop iters if it is used, desk r=danderson 2008-10-31 16:48:14 -07:00
Jason Orendorff
2c9b2dd1b4 Fix build breakage --with-static-checking. No bug#. 2008-10-31 11:54:48 -07:00
Andreas Gal
37b4dbe474 Don't manipulate stack during cpuid detection (fix for icc, r=danderson). 2008-10-30 17:56:27 -07:00
Andreas Gal
3a1c5becb7 Merge. 2008-10-30 17:47:55 -07:00
Andreas Gal
2a666c87e8 Emit JSOP_APPLY for .call(...) (462445, r=brendan). 2008-10-30 16:01:53 -07:00
David Anderson
00bfbb7d80 Make sure double slots are marked as undemotable when stabilizing a tree with failed speculation (bug 462407, r=gal). 2008-10-30 15:54:22 -07:00
Andreas Gal
2e3beeb970 Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan). 2008-10-30 15:38:10 -07:00
Andreas Gal
f5d2244679 Merge. 2008-10-30 14:18:06 -07:00
Andreas Gal
4eafb60801 Add 16-bit non-volatile loads to nanojit (454301, r=danderson). 2008-10-30 14:17:42 -07:00
David Anderson
48b976a104 Don't coerce void to string when compiling inner tree calls (bug 462388, r=gal). 2008-10-30 13:48:22 -07:00
Andreas Gal
047344b36b Merge. 2008-10-30 12:32:08 -07:00
Andreas Gal
0cc2b0cfdf Fixed assert (fallout from 462265). 2008-10-30 12:31:39 -07:00
David Anderson
9763f21aae Added multitrees test to trace-tests.js for bug 456479. 2008-10-30 11:52:48 -07:00
David Anderson
2f8b8195c3 Added multitrees test to trace-tests.js for bug 454315. 2008-10-30 11:42:12 -07:00
David Anderson
1f8d249207 Fixed not tracking linked peers as dependencies (bug 462282, r=gal). 2008-10-30 11:29:25 -07:00
Andreas Gal
948aa93d60 Perform Function.apply in the interpreter loop bypassing js_Invoke (462265, r=brendan). 2008-10-29 23:59:19 -07:00
Andreas Gal
b037831bd9 Merge. 2008-10-29 22:50:43 -07:00
Andreas Gal
fe13c87572 Fix missing JSOP_APPLY case in an assert and a condition (462292, r=brendan). 2008-10-29 22:46:56 -07:00
Boris Zbarsky
d1afdda41f Bug 462184. Make INCLUDE_VERBOSE_OUTPUT actually work, and rename it to JS_JIT_SPEW. r=brendan 2008-10-29 21:56:35 -07:00
David Anderson
685543cd89 Mark any double slot in an unstable exit as undemotable (bug 462071, r=gal). 2008-10-29 17:57:14 -07:00
Brendan Eich
1f02db1e77 ug 460870 - Round-trip change with RHS of || (r=jorendorff). 2008-10-29 17:37:12 -07:00
David Anderson
7247e3ffe4 Fixed trees stabilizing from the wrong peer fragment (bug 462240, r=gal). 2008-10-29 16:12:16 -07:00
David Anderson
7a4b84aa29 Bump XDR version, followup from changeset bd981b7737da (r=gal). 2008-10-29 15:36:30 -07:00
Andreas Gal
4548b3e585 Remove JSOP_UNUSED78 as 78 is now JSOP_APPLY (follow-up for 462209). 2008-10-29 13:43:53 -07:00
Andreas Gal
a0b3296770 Merge. 2008-10-29 13:31:07 -07:00
Andreas Gal
868e7934a2 Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan). 2008-10-29 13:30:41 -07:00
Graydon Hoare
f5f48d7fac Bug 461801 - Followup correctness fix. r=brendan. 2008-10-29 13:20:34 -07:00
Jason Orendorff
8a27d784a7 Bug 461233 - Incorrect decompilation of ({0: (4, <></>) }). r=brendan. 2008-10-29 11:36:08 -07:00
Graydon Hoare
a9b37c59c0 Bug 461801 - Bind containing function to eval script, so upvars work in decompiler. r=brendan 2008-10-29 11:25:36 -07:00
Brendan Eich
2dfbe828cf Prune deadwood missed in commit for bug 462103. 2008-10-29 00:19:06 -07:00
Brendan Eich
6ddc16bbe2 Bug 462103 - TM: We don't trace some variants of string + other type (gal+brendan red-headed stepchild). 2008-10-29 00:14:30 -07:00
Andreas Gal
7b8859883f Merge. 2008-10-28 22:41:05 -07:00
Andreas Gal
4eca106b8a Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson). 2008-10-28 22:40:10 -07:00
Jim Blandy
0704b2cc96 (fix tree burn; no bug): The js/src subtree needs its own copy of pgomerge.py.
--HG--
rename : build/win32/pgomerge.py => js/src/build/win32/pgomerge.py
2008-10-29 15:26:11 -07:00
Jim Blandy
11426062d7 Fix Win32 burn: js/src/config/autoconf.mk shouldn't override MOZ_MEMORY-related LIB and PATH exported from top-level config/autoconf.mk 2008-10-29 11:30:36 -07:00
Jim Blandy
e8bc490fa7 Bug 97954: Compare SpiderMonkey's copies of build files with originals at check time. r=luser
SpiderMonkey now has its own copy of some of the files from ./config
and ./build.  Since there is a decent amount of churn in that area, I
don't want it to become a burden to make merges back and forth.  This
patch adds a comment explaining the 'identical if present' policy, and
runs a script to verify that it's actually being observed.
2008-10-29 08:40:39 -07:00
Jim Blandy
216f4ef465 Bug 97954: Record configuration details in an installable header. r=bsmedberg
Have js/src/configure create a header file, js-config.h, that records
configure-controlled options that affect the SpiderMonkey API, like
'--enable-threadsafe'.  js-config.h is namespace-clean, so it can be
installed with jsapi.h.

This means that clients can configure SpiderMonkey however they like,
and then simply #include "jsapi.h" and have everything work; they
don't have to remember to match their own compiler -D flags with those
SpiderMonkey's configure script chose.  For example, mozilla-config.h
needn't concern itself with JS_THREADSAFE.

It seems to me this could also be done by having js-config --cflags
print -D options.  The approach taken here seems a bit more robust: if
you can find jsapi.h at all, then you know you're getting the right
settings.
2008-10-29 08:29:37 -07:00
Jim Blandy
f83d8c9ea3 Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile.  Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR.  Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR.  Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.

Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.

Give SpiderMonkey it its own copies of many of the files from ./config
and ./build.  These are all exact copies, except as follows:

. js/src/config/Makefile.in: js/src only has a subset of
  js/src/config, and thus a subset of the makefile targets.

. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
  variables to set, not set by the top-level configure script, so it
  needs a custom automake.mk template.

. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
  so that we can build without having an NSPR source tree handy.

Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.

Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.

Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library.  Don't include the js-config script in
Macintosh packages.

Teach client.mk how to rebuild js/src/configure.

Tell Mercurial to ignore files generated by autoconf in js/src.

Further work:

. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
  This is fixed in a subsequent patch.

. js/src/configure is a trimmed copy of ./configure.  It could be
  trimmed more.

--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Jim Blandy
c18332dabc Bug 97954: Delete SpiderMonkey's custom build system for separate builds. r=bsmedberg
SpiderMonkey has, at present, two separate build systems: one used for
in-tree builds, and one used for SpiderMonkey-only builds.

The former is constituted entirely by js/src/Makefile.in.  This is a
typical Mozilla makefile, leaning on the top-level config/*.mk files
for most of the details.

The latter is comprised by a shadow build system, all in js/src:
Makefile.ref, config.mk, rules.mk, jsconfig.mk, and config/*.mk.
These are superseded by the separate build system implemented in a
later patch; we delete them all here.

This patch consists entirely of deletions; there are no textual changes.
2008-10-29 08:29:04 -07:00
Andreas Gal
7da6b31283 Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson). 2008-10-28 22:40:10 -07:00
Brendan Eich
8c2eead6a8 Keep testGlobalProtoAccess last. 2008-10-28 17:34:09 -07:00
David Anderson
55c302718d Fixed false-positive integer demotions on non-number types (bug 461945, r=gal) 2008-10-28 16:33:01 -07:00
Andreas Gal
25404443ff GC no longer flushes the JIT cache. Instead just make sure the shape of the global object will mismatch next time we try to record or execute code, which in turn will force a flush of the code cache (458288, r=brendan/danderson). 2008-10-28 16:22:08 -07:00