Commit Graph

4254 Commits

Author SHA1 Message Date
Igor Bukanov
72063471f8 bug 471044 - fixing upgvar detection for for-in loop. r=mrbkap 2008-12-25 01:23:38 +01:00
Blake Kaplan
22b6fad69e Bug 470758 - Don't generate upvars on the left side of a for-in loop. r=brendan 2008-12-23 15:45:44 -08:00
Phil Ringnalda
7663cc21c2 Merge for backout of changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:51:35 -08:00
Phil Ringnalda
2d35d8d90f Backed out changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:49:53 -08:00
Phil Ringnalda
6b1e0c2bec Merge for backout of changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097) 2008-12-25 19:28:31 -08:00
Phil Ringnalda
46e630cc96 Backed out changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097) 2008-12-25 19:27:15 -08:00
Ted Mielczarek
b597404d2c bug 467862 - Build system should support building both a static and a shared library from the same Makefile. r=bsmedberg 2008-12-24 14:04:43 -05:00
Igor Bukanov
81c3a2b632 Backed out changeset 2d5e6b1c7254 - busted the WINNT 5.1 talos tracemonkey. 2008-12-23 19:24:09 +01:00
Andrei Saprykin
11dac3f234 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap 2008-12-23 16:12:11 +01:00
Jesse Ruderman
dba23c0ab9 Fix bustage 2008-12-22 16:07:49 -08:00
Jeff Walden
5d25aca194 Bug 470737 - TM: "switch(1/0){case Infinity:}" 4X slower with JIT enabled. r=gal 2008-12-22 15:42:24 -08:00
Jim Blandy
1107758ffc Bug 469225: Move HAVE_ARM_SIMD test after header file tests. r=vladimir
This should have no effect; the test there is in the midst of a
section titled, "Checks for header files", and doesn't belong there.

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

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