Commit Graph

4480 Commits

Author SHA1 Message Date
Andreas Gal
bbf40348b6 Trace apply/call with an imacro (465214, r=brendan). 2008-12-18 19:20:47 -08:00
Graydon Hoare
d248d11954 Bug 470176 and bug 470173 - prevent traces from writing to imported properties, r=brendan. 2008-12-18 18:25:12 -08:00
Robert Sayre
c918482535 Merge m-c to tracemonkey. 2008-12-18 15:17:19 -05:00
Igor Bukanov
5f6b121715 bug 467441 - avoiding js_(Add|Remove)Root for regexp statics. r=crowder 2008-12-18 21:06:45 +01:00
Jeff Walden
201e000573 Bug 470133 - TM: fails to trace case with a type mismatch. r=gal 2008-12-18 10:35:09 -08:00
Igor Bukanov
1a1341cdb4 bug 465032 - operationCount as the first field in JSContext. r=brendan 2008-12-18 16:24:34 +01:00
Brendan Eich
3abd77d8ea Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap, a=sayrer). 2008-12-18 01:31:15 -08:00
Brendan Eich
8476ea6560 Bug 469940 - Automatic semicolon insertion wrongly done after var with multi-line initializer (r=mrbkap, a=sayrer). 2008-12-18 01:11:04 -08:00
David Anderson
dbab136074 Fixed bogus assertion in a rare type-instability case (bug 470061, r=gal). 2008-12-18 03:15:09 -05:00
Andreas Gal
589fb9eb38 Merge. 2008-12-17 23:09:55 -08:00
Andreas Gal
3af573343f Backed out changeset 95b210c2fc92 preemptively. Seems to crash the browser. 2008-12-17 23:09:26 -08:00
Andreas Gal
65b4bad89c XP_MACOSX and DARWIN are not set in the shell, so use __APPLE__ (another follow-up for 465460, r=danderson). 2008-12-17 22:58:02 -08:00
Andreas Gal
2dffadf0fb Merge. 2008-12-17 22:54:02 -08:00
Andreas Gal
62f0547add Trace apply/call using an imacro (465214, r=brendan). 2008-12-17 22:53:35 -08:00
Graydon Hoare
3477355ddd Bug 465443, bail off trace when readonly properties are written, r=brendan. 2008-12-17 20:50:05 -08:00
Robert Sayre
7b0ca330e8 Bug 423231. bustage fix. 2008-12-17 18:27:17 -05:00
Andreas Gal
4074f82a15 Return -0 for ceil if x < 0 and x > -1 (423231, r=jim). 2008-12-17 14:23:53 -08:00
Brendan Eich
bbd3fdab2a Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap). 2008-12-17 12:34:06 -08:00
Igor Bukanov
c67f58e20d bug 465377 - avoid useless duplication of Exception native. r=crowder 2008-12-17 20:31:24 +01:00
Benjamin Smedberg
a417fbee4c Bug 468937 - Add some basic tests for the red/green (cx->fp) analysis 2008-12-17 13:27:26 -05:00
Benjamin Smedberg
252eab1177 Bug 469995 - js_DecompileValueGenerator uses cx->fp and should be made safe, r=crowder+jorendorff 2008-12-17 13:15:08 -05:00
Andreas Gal
954913ca57 Follow-up fix for the follow-up fix for 465460 (r=me, again). 2008-12-16 21:19:00 -08:00
Andreas Gal
74a6ad1f62 Trivial follow-up fix for 465460 (r=me). 2008-12-16 21:16:03 -08:00
Brendan Eich
6bfce6b6b0 Windows lacks ssize_t, who knew? 2008-12-16 20:42:39 -08:00
Brendan Eich
56658da21f Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-16 19:03:42 -08:00
Blake Kaplan
c3dc1ab151 Bug 469761 - Protect against apply on a non-function. r=gal 2008-12-16 15:09:05 -08:00
Benjamin Smedberg
c088c75c85 Bug 469191 - jsstack.js: give better locations for errors, r=dmandelin 2008-12-16 16:20:19 -05:00
David Mandelin
7f85908dd4 Bug 469177 - red/green analysis (cx->fp) doesn't actually run the analysis, r=jorendorff 2008-12-16 16:15:09 -05:00
Blake Kaplan
3c05b67fc0 Bug 469582 - Add -j to the ./js usage string if the tracer is enabled. r=brendan 2008-12-15 17:03:05 -08:00
Blake Kaplan
3f3f4048f8 Bug 469621 - Protect the new scope object from garbage collection. r=crowder 2008-12-15 16:42:40 -08:00
Jim Blandy
dc9a66856f Bug 461180: Add coverage tests for traceable math native functions. r=mrbkap
These cases are adapted from those in js/tests/ecma/Math.
2008-12-15 14:45:56 -08:00
Jim Blandy
a49451a0af Bug 461180: Define traceable native versions of the rest of the math funcs. r=jorendorff 2008-12-15 14:45:56 -08:00
Andreas Gal
85f01f421d Merge. 2008-12-14 19:35:29 -08:00
Brendan Eich
2bbb1f2b7b Bug 469313 - TM: crash (GMail): JS_Assert (s=0x368d8f "!JS_ON_TRACE(cx)", file=0x3724c8 "/Users/roc/mozilla-checkin/js/src/jsobj.cpp", ln=3765) (r=gal). 2008-12-13 17:32:44 -08:00
Brendan Eich
422e4198fe Bug 469313 - TM: crash (GMail): JS_Assert (s=0x368d8f "!JS_ON_TRACE(cx)", file=0x3724c8 "/Users/roc/mozilla-checkin/js/src/jsobj.cpp", ln=3765) (r=gal). 2008-12-13 17:30:04 -08:00
Neil Rashbrook
13238265ed Bug 469289 Make nanojit build with VC7.1 r=danderson 2008-12-13 23:45:38 +00:00
Blake Kaplan
87667890ab Bug 462851 - Protect against enumerating the call object's prototype. r=brendan a=sayrer 2008-12-13 14:17:24 -08:00
Jim Blandy
73253da291 Bug 468041: List the object files that depend on javascript-trace.h explicitly. r=bsmedberg
It seems gratuitous to rebuild every object file when
javascript-trace.h changes.
2008-12-16 11:50:21 -08:00
Jim Blandy
471974d852 (no bug): Add echo-tier-dirs target, to display tiers' directories. r=bsmedberg 2008-12-16 10:46:16 -08:00
Peter Van der Beken
0eeeec31c5 Switch to sets module instead of using builtin set type to support Python 2.3 on mobile. Bustage fix. 2008-12-16 17:20:38 +01:00
Peter Van der Beken
65eeb9ac06 Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst. 2008-12-16 16:46:18 +01:00
Peter Van der Beken
8473174cb4 Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst. 2008-12-16 16:46:18 +01:00
Igor Bukanov
6df56327b7 bug 458099 - DOMOperationCallback can get a JSContext with no global object. r=peterv sr=mrbkap 2008-12-14 22:40:10 -08:00
Brian Crowder ext:(.)
f3d3814803 Bug 446026 - restore utility of eval(s, o). r=mrbkap 2008-12-12 23:47:23 -08:00
Wan-Teh Chang
3a07a18e58 Bug 467677: fixed typo "ranslated" => "translated". 2008-12-12 21:29:45 -08:00
Phil Ringnalda
35062f6605 Bug 468575 bustage, if there's no revdepth.pl, it won't export very well 2008-12-12 21:16:37 -08:00
Wan-Teh Chang
187643c049 Bug 467677: Removed test -n "$CROSS_COMPILE". Moved
"cross_compiling=yes" to the very end of the if block so that it
is not overridden by AC_PROG_CC and AC_PROG_CXX.  Removed the Mac
OS X ppc<->x86 code in the "else" block.  r=jim,ted.mielczarek.
2008-12-12 21:00:38 -08:00
Phil Ringnalda
3dcc5ea3aa Bug 468575 - Scrape some gunk off the config/ grout, r=ted 2008-12-12 19:45:07 -08:00
Andreas Gal
c96b30085e Merge. 2008-12-12 17:06:55 -08:00
Andreas Gal
7ba58d96a8 Backed out changeset 5f64a0d18e53 2008-12-12 17:04:32 -08:00
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