10784 Commits

Author SHA1 Message Date
Igor Bukanov
79c9e30964 [Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan 2008-06-20 11:55:49 +02:00
Igor Bukanov
7a2a078f0f Backed out changeset 97977f224aff due to build breakage 2008-06-20 11:46:36 +02:00
Igor Bukanov
bc084d42f7 [Bug 433382] More efficient interpreter switch when computed goto
is not available. r=brendan
2008-06-20 10:06:45 +02:00
Igor Bukanov
f433beca71 Backed out changeset 21527193c49b: the patch has used CSRCS, not CPPSRCS. 2008-06-20 09:45:29 +02:00
Igor Bukanov
388d7768f6 [Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan 2008-06-20 09:36:56 +02:00
Jim Blandy
f59c177254 Bug 424399: Remove unused directory "js/src/fdlibm". r+a=shaver 2008-06-19 18:44:10 -07:00
Brendan Eich
7444e92825 Fix old assignment expression rval mutation via getter design, optimize setprop;pop and similar cliches (312354, r=igor). 2008-06-19 12:51:57 -07:00
Brendan Eich
10661f4ec3 Fix bogus js_Emit return value tests (438986, r=igor). 2008-06-18 18:50:33 -07:00
bcrowder@mozilla.com
3a29271ed3 Backed out changeset f201baf7bf04 (bug 439110), was causing unit-test failures 2008-06-18 15:49:51 -07:00
Igor Bukanov
568d8bf46c [Bug 439624] renaming decltype to declType as the former is a keyword in the next C++ standard. 2008-06-18 23:35:53 +02:00
bcrowder@mozilla.com
68ce1d3fe8 Bug 439110: xpcshell's load() just silently fails for non-existent files, r=brendan, sr=jst 2008-06-18 13:33:54 -07:00
Doug Turner ext:(%22)
0d9545724c Removing Minimo references. b=405705, r=ted 2008-06-16 13:57:42 -07:00
Robert O'Callahan
eb3091850d Backout changeset 1f599577eca2 (bug 432525) due to mochitest failures 2008-06-13 20:38:33 +12:00
shaver@mozilla.org
59904a3b2c Bug 432525: optimize string.replace for flat strings; r=brendan 2008-06-12 18:30:37 -07:00
Jason Orendorff
d5b4a503fc Bug 438052 - Live JSScripts can be destroyed by script-object finalizer (r=brendan) 2008-06-12 15:58:07 -05:00
David Anderson
f6cfdb89ac Bug 436263 - cannot convert __va_list_tag** to __va_list_tag (*)[1] in jsapi.cpp building js shell (r=crowder+bclary) 2008-06-12 13:53:12 -05:00
Brendan Eich
a48becda32 Hack off fix for 260106, it results in interpreter stack imbalance on windows. 2008-06-06 17:09:57 -07:00
Brendan Eich
6395f73bbc Merge. 2008-06-06 13:31:25 -07:00
Brendan Eich
7d3ff26c38 Third and final followup patch for bug 260106. 2008-06-06 13:23:19 -07:00
Gavin Sharp
9a029e57bc Bug 435759: fix --enable-shark for C++ build; r=brendan 2008-06-06 16:04:12 -04:00
Brendan Eich
9d417c25f9 Followup patch for bug 260106. 2008-06-05 16:00:25 -07:00
Brendan Eich
d71d3bfeb4 Merge. 2008-06-05 14:55:05 -07:00
Brendan Eich
2182ce61be Fix 260106, r=shaver. 2008-06-04 17:00:46 -07:00
Vladimir Vukicevic
cd5eeb9fc9 b=429387, add --with-arm-kuser; use it in JS, and pass it down to NSPR's configure; r=shaver,r=ted 2008-06-04 14:14:11 -07:00
Jason Orendorff
206ff3e6c9 Bug 313059 - Decide what to do with js.mak (answer: delete it, r=crowder, a=bsmedberg) 2008-06-03 10:55:15 -05:00
Jason Orendorff
39d5403aab Bug 434532 - Link errors building JS shell on WinXP (actually a documentation bug in js/src/README.html) (r=brendan, a=bsmedberg) 2008-06-03 10:33:00 -05:00
Mark Banner
f19e8703ee Bug 435853 Running xpcshell tests involving Mac components leaks memory due to not having an NSAutoreleasePool. r=shaver,sr=brendan 2008-06-03 11:56:09 +01:00
Benjamin Smedberg
1a06f59c98 Merge cvs-trunk-mirror to mozilla-central up through FF3RC2build2
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
2008-05-30 12:08:47 -04:00
Jason Orendorff
548613c383 Bug 436343 - mozilla-central: js/src/Makefile.ref calculates .d filenames incorrectly (r=crowder, a=bsmedberg) 2008-05-29 16:09:36 -05:00
gavin@gavinsharp.com
221838708e Bug 422055: use jemalloc on Solaris, r=ted, a=shaver 2008-05-28 11:42:31 -07:00
igor@mir2.org
9efc0b087b [Bug 435546] proper stacking of JS_(PUSH|POP)_TEMP_ROOT. r=brendan aRC2=shaver 2008-05-28 10:55:06 -07:00
jst@mozilla.org
639c1461f9 Fixing bug 434673. Fix GC safety issue when calling through XPCWrapper into an IDL defined function. r+sr=brendan@mozilla.org, a=shaver@mozilla.org 2008-05-27 22:42:53 -07:00
jst@mozilla.org
5fb49e58d7 Fixing bug 433005. Make calls through XPConnect on threads other than the main thread suspend JS request to avoid blocking GC on the main thread while calling slow functions on non-main threads. Patch by benjamin@smedbergs.us and jst@mozilla.org, r=jst@mozilla.org, sr=brendan@mozilla.org, a=schrep@mozilla.com 2008-05-27 14:59:58 -07:00
Benjamin Smedberg
93076abf3d Return to building spidermonkey as C++, because we believe we found the cause of the perf regression elsewhere (non-code).
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarena.c => js/src/jsarena.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jscpucfg.c => js/src/jscpucfg.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsdhash.c => js/src/jsdhash.cpp
rename : js/src/jsdtoa.c => js/src/jsdtoa.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfile.c => js/src/jsfile.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jshash.c => js/src/jshash.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsinvoke.c => js/src/jsinvoke.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jskwgen.c => js/src/jskwgen.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jslog2.c => js/src/jslog2.cpp
rename : js/src/jslong.c => js/src/jslong.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsprf.c => js/src/jsprf.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
rename : js/src/jsxdrapi.c => js/src/jsxdrapi.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-05-27 16:58:12 -04:00
Benjamin Smedberg
5068d70767 Back out JS-as-C++, because it's a suspect in the Linux performance regression.
--HG--
rename : js/src/js.cpp => js/src/js.c
rename : js/src/jsapi.cpp => js/src/jsapi.c
rename : js/src/jsarena.cpp => js/src/jsarena.c
rename : js/src/jsarray.cpp => js/src/jsarray.c
rename : js/src/jsatom.cpp => js/src/jsatom.c
rename : js/src/jsbool.cpp => js/src/jsbool.c
rename : js/src/jscntxt.cpp => js/src/jscntxt.c
rename : js/src/jscpucfg.cpp => js/src/jscpucfg.c
rename : js/src/jsdate.cpp => js/src/jsdate.c
rename : js/src/jsdbgapi.cpp => js/src/jsdbgapi.c
rename : js/src/jsdhash.cpp => js/src/jsdhash.c
rename : js/src/jsdtoa.cpp => js/src/jsdtoa.c
rename : js/src/jsemit.cpp => js/src/jsemit.c
rename : js/src/jsexn.cpp => js/src/jsexn.c
rename : js/src/jsfile.cpp => js/src/jsfile.c
rename : js/src/jsfun.cpp => js/src/jsfun.c
rename : js/src/jsgc.cpp => js/src/jsgc.c
rename : js/src/jshash.cpp => js/src/jshash.c
rename : js/src/jsinterp.cpp => js/src/jsinterp.c
rename : js/src/jsinvoke.cpp => js/src/jsinvoke.c
rename : js/src/jsiter.cpp => js/src/jsiter.c
rename : js/src/jskwgen.cpp => js/src/jskwgen.c
rename : js/src/jslock.cpp => js/src/jslock.c
rename : js/src/jslog2.cpp => js/src/jslog2.c
rename : js/src/jslong.cpp => js/src/jslong.c
rename : js/src/jsmath.cpp => js/src/jsmath.c
rename : js/src/jsnum.cpp => js/src/jsnum.c
rename : js/src/jsobj.cpp => js/src/jsobj.c
rename : js/src/jsopcode.cpp => js/src/jsopcode.c
rename : js/src/jsparse.cpp => js/src/jsparse.c
rename : js/src/jsprf.cpp => js/src/jsprf.c
rename : js/src/jsregexp.cpp => js/src/jsregexp.c
rename : js/src/jsscan.cpp => js/src/jsscan.c
rename : js/src/jsscope.cpp => js/src/jsscope.c
rename : js/src/jsscript.cpp => js/src/jsscript.c
rename : js/src/jsstr.cpp => js/src/jsstr.c
rename : js/src/jsutil.cpp => js/src/jsutil.c
rename : js/src/jsxdrapi.cpp => js/src/jsxdrapi.c
rename : js/src/jsxml.cpp => js/src/jsxml.c
rename : js/src/prmjtime.cpp => js/src/prmjtime.c
2008-05-27 13:51:53 -04:00
Benjamin Smedberg
d491c5f256 Back out revision bd9c9cbf9ec8 (build spidermonkey as C++) for perftesting and profit.
--HG--
rename : js/src/js.cpp => js/src/js.c
rename : js/src/jsapi.cpp => js/src/jsapi.c
rename : js/src/jsarena.cpp => js/src/jsarena.c
rename : js/src/jsarray.cpp => js/src/jsarray.c
rename : js/src/jsatom.cpp => js/src/jsatom.c
rename : js/src/jsbool.cpp => js/src/jsbool.c
rename : js/src/jscntxt.cpp => js/src/jscntxt.c
rename : js/src/jscpucfg.cpp => js/src/jscpucfg.c
rename : js/src/jsdate.cpp => js/src/jsdate.c
rename : js/src/jsdbgapi.cpp => js/src/jsdbgapi.c
rename : js/src/jsdhash.cpp => js/src/jsdhash.c
rename : js/src/jsdtoa.cpp => js/src/jsdtoa.c
rename : js/src/jsemit.cpp => js/src/jsemit.c
rename : js/src/jsexn.cpp => js/src/jsexn.c
rename : js/src/jsfile.cpp => js/src/jsfile.c
rename : js/src/jsfun.cpp => js/src/jsfun.c
rename : js/src/jsgc.cpp => js/src/jsgc.c
rename : js/src/jshash.cpp => js/src/jshash.c
rename : js/src/jsinterp.cpp => js/src/jsinterp.c
rename : js/src/jsiter.cpp => js/src/jsiter.c
rename : js/src/jskwgen.cpp => js/src/jskwgen.c
rename : js/src/jslock.cpp => js/src/jslock.c
rename : js/src/jslog2.cpp => js/src/jslog2.c
rename : js/src/jslong.cpp => js/src/jslong.c
rename : js/src/jsmath.cpp => js/src/jsmath.c
rename : js/src/jsnum.cpp => js/src/jsnum.c
rename : js/src/jsobj.cpp => js/src/jsobj.c
rename : js/src/jsopcode.cpp => js/src/jsopcode.c
rename : js/src/jsparse.cpp => js/src/jsparse.c
rename : js/src/jsprf.cpp => js/src/jsprf.c
rename : js/src/jsregexp.cpp => js/src/jsregexp.c
rename : js/src/jsscan.cpp => js/src/jsscan.c
rename : js/src/jsscope.cpp => js/src/jsscope.c
rename : js/src/jsscript.cpp => js/src/jsscript.c
rename : js/src/jsstr.cpp => js/src/jsstr.c
rename : js/src/jsutil.cpp => js/src/jsutil.c
rename : js/src/jsxdrapi.cpp => js/src/jsxdrapi.c
rename : js/src/jsxml.cpp => js/src/jsxml.c
rename : js/src/prmjtime.cpp => js/src/prmjtime.c
2008-05-27 12:19:17 -04:00
brendan@mozilla.org
d1fa7dae56 Fix 433279, r=mrbkap+shaver, a=schrep. 2008-05-22 22:06:09 -07:00
brendan@mozilla.org
0b62c0a1e4 Patch from nanto@moon.email.ne.jp for misordered alternates in string-lexing regexp, and lack of IE /[/]/ compat in regexp-lexing regexp (433831, r=me, NPOTB). 2008-05-21 15:38:18 -07:00
bcrowder@mozilla.com
474bee2639 Bug 433964 - dtrace build fixes for C++ linkage, r=jorendorff 2008-05-19 12:59:09 -07:00
jorendorff@mozilla.com
183a0e978a Merge 8 changesets from cvs-trunk-mirror to mozilla-central. Use (hg log -r b60aee4a61a6:e70e05d8eda2) to see them. 2008-05-16 11:55:05 -05:00
bclary@bclary.com
3c78112c43 JavaScript Tests - update test and remove from exclusion list, bug 433698, r=jorendorff 2008-05-14 16:18:47 -07:00
jorendorff@mozilla.com
316e348cf1 Merge from cvs-trunk-mirror to mozilla-central. 2008-05-13 09:57:11 -05:00
bclary@bclary.com
a70c0c2a14 JavaScript Tests - add unary - tests for bug 432881 2008-05-09 20:33:48 -07:00
reed@reedloden.com
86d203962f Bug 430955 - "jsfun.h uses JSArenaPool without needed typename" [p=mh+mozilla@glandium.org (Mike Hommey) r=brendan a1.9=damons] 2008-05-09 00:40:10 -07:00
jorendorff@mozilla.com
4a7d100e87 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsobj.c => js/src/jsobj.cpp
2008-05-07 17:37:49 -07:00
reed@reedloden.com
1c66b49de2 Bug 410606 - "AIX linker error for trunk build xpconnect module : ERROR: Undefined symbol: .JSAutoTempValueRooter::operator delete(void*,unsigned long)" [p=shailen.n.jain@gmail.com (Shailen) r+sr=mrbkap a1.9=beltzner] 2008-05-07 03:26:52 -07:00
crowder@fiverocks.com
9fd8a2a905 Bug 432275: Regression - Java applets crashing browser [@ obj_eval], patch by mrbkap, r=crowder, a=beltzner 2008-05-06 15:01:32 -07:00
crowder@fiverocks.com
dd0aaf42fb Bug 432275 - Regression - Java applets crashing browser [@ obj_eval], r=igor, a=beltzner 2008-05-06 14:59:49 -07:00
bent.mozilla@gmail.com
e7a3d4cb03 Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner. 2008-05-06 14:37:50 -07:00
Benjamin Smedberg
7f9f2b24bb Merge cvs-trunk-mirror to mozilla-central. Conflict resolution:
* client.mk: new NSS tag merge to client.py

--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-05-05 13:39:59 -04:00