Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
nboyd%atg.com 8fc68d6900 Fixed problem with -opt 9:
Hi Norris,

I encountered the following exception with the below script in compiled
mode with RhinoLatest.zip:

java.lang.NullPointerException
 at
org.mozilla.javascript.optimizer.Codegen.visitCall(Codegen.java:1790)
 at
org.mozilla.javascript.optimizer.Codegen.generateCodeFromNode(Codegen.java:567)

 at
org.mozilla.javascript.optimizer.Codegen.visitReturn(Codegen.java:2283)
 at
org.mozilla.javascript.optimizer.Codegen.generateCodeFromNode(Codegen.java:592)

 at
org.mozilla.javascript.optimizer.Codegen.generateCodeFromNode(Codegen.java:546)

 at
org.mozilla.javascript.optimizer.Codegen.generateCodeFromNode(Codegen.java:546)

 at
org.mozilla.javascript.optimizer.Codegen.generateCodeFromNode(Codegen.java:546)

 at
org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:497)
 at
org.mozilla.javascript.optimizer.Codegen.generateFunctionInits(Codegen.java:1292)

 at
org.mozilla.javascript.optimizer.Codegen.generateInit(Codegen.java:1186)

 at
org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:481)
 at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:88)
 at org.mozilla.javascript.Context.compile(Context.java:1965)
 at org.mozilla.javascript.Context.compile(Context.java:1874)
 at org.mozilla.javascript.Context.compileReader(Context.java:895)
 at org.mozilla.javascript.Context.evaluateReader(Context.java:813)
 at
org.mozilla.javascript.tools.shell.Main.evaluateReader(Main.java:318)
 at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:309)
 at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:248)

 at org.mozilla.javascript.tools.shell.Main.exec(Main.java:95)
 at org.mozilla.javascript.tools.shell.Main.main(Main.java:68)
Exception in thread "main"

function tak(x, y, z, k) {
    if (!(y < x)) {
        return k(z);
    } else {
        return tak(x - 1,
                   y,
                   z,
                   function(v1) {
            return tak(y - 1,
                       z,
                       x,
                       function(v2) {
                return tak(z - 1,
                           x,
                           y,
                           function(v3) {
                    return tak(v1, v2, v3, k);
                });
            });
        });
    }
}

function cpstak(x, y, z) {
    return tak(x, y, z, function(a) {return a;});
}

//;;; call: (cpstak 18 12 6)

//(run-benchmark "CPSTAK" (lambda () (cpstak 18 12 6)))

var start = new Date();
var res = cpstak(18, 12, 6);
var end = new Date();
print(res +": elapsed: " + (end - start));
2002-04-03 01:20:27 +00:00
README Testing cvs upgrade 2001-12-01 04:34:21 +00:00
accessible Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
apache/gzip/src
browser fixing objdir bustage. 2002-04-02 21:47:03 +00:00
build turn on building of native scrollbars from xbl, on for mac classic skin. r=sdagley/sr=beard/a=valeski. bug# 121440 2002-03-31 18:36:55 +00:00
calendar Fixing skin for change to listbox. 2002-04-02 19:54:46 +00:00
caps A bunch of fixes in caps: 2002-03-20 05:53:46 +00:00
cck Fixed "reset to Netscape default" behavour on the pref editor. 2002-04-02 01:25:58 +00:00
chrome 44070: match browser and OS locale. (reusing r=alecf,sr=hyatt,a=asa 2002-04-01 05:56:35 +00:00
cmd/xfe/src CVS removal of obsolete directories. Bug 102787. Goodbyeeeee.... 2001-10-03 18:54:49 +00:00
config fix for bug 132946 2002-04-01 04:43:40 +00:00
content Bug 126669, we need to pass in aHasChildren parameter to the start tag serializing function because the node that is passed in may be a shallow copy, thereby making it impossible to determine if it originally had children, in the method itself. This fixes case where saving XHTML produces non-wellformed output. r=akkana,tmutreja, sr=jst, a=asa,ADT. 2002-04-02 21:12:51 +00:00
db At least I only broke us - forgot include 2002-03-26 13:04:48 +00:00
dbm Remove xp_core.h & xp_mem.h and all build references to them. 2002-03-27 06:02:39 +00:00
directory bugs 110156, 110155 2002-03-29 02:46:01 +00:00
docshell bug #40867 (r=bzarsky@mit.edu, sr=jst@netscape.com, a=asa@mozilla.org) Add new caching API to allow view-source to load from the cache and not the network. 2002-04-01 21:22:27 +00:00
dom Bug 128025. Confirm dialog for caret browsing. r=akkana, bryner, sr=hewitt, a=asa 2002-04-02 01:56:12 +00:00
editor Finish save file code based on new pref to determinine if we save images when saving remote file, b=110779, r=brade, sr=alecf, a=asa 2002-04-02 07:11:24 +00:00
ef Bug 106386 rid source of misspellings 2002-03-19 04:30:17 +00:00
embedding Fix bug 127069 2002-04-02 22:20:57 +00:00
expat Crasher - Expat parser's XML_ParseBuffer wasn't aware of the BLOCKING mechansim and hence failed to update the buffer position ( bufferPtr ). The fix would update bufferPtr such that when the expat parser gets upblocked we'd resume from the point we stopped. b=123475, r=rbs@maths.uq.edu.au, sr=jst 2002-02-19 02:01:18 +00:00
extensions Do not define MODULE_NAME for components which are shareable even in 2002-04-02 13:36:56 +00:00
gc/boehm Bug 106386 rid source of misspellings 2002-03-19 04:30:17 +00:00
gconfig Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting 2001-12-23 23:23:41 +00:00
gfx fix case for UFS volume. bug 133190, r=sdagley/sr=blake/a=asa 2002-04-01 22:24:04 +00:00
gfx2 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2002-03-21 23:43:21 +00:00
grendel Checkin of changes from Brandon Wiley related to mbox storage and how Grendel was numbering messages. Changes tested and good. jrg 2002-02-12 06:22:41 +00:00
htmlparser With nested forms we used to match /FORM to its opening FORM ( though the inner FORM was ignored ). However, IE seems to close the outer FORM when it encounters /FORM. Replicating IE's behavior and also solves a serious form submission problem. b=128521, r=heikki, sr=jst a=dbaron 2002-03-26 23:08:30 +00:00
include More cruft removal. Remove platform.h xp_debug.h xpassert.h & xp_trace.h from the build. 2002-04-02 07:57:02 +00:00
intl fix bug 130441 and 122584 2002-03-27 03:28:34 +00:00
java bug: 119680 2002-01-14 18:04:48 +00:00
jpeg Argh. Missed a file fo rbug #38061 2002-04-02 09:42:24 +00:00
js Fixed problem with -opt 9: 2002-04-03 01:20:27 +00:00
js2 Fix next-to-last vs. last context GC race, plus ClaimScope vs. js_DestroyContext race; removed js_ForceGC from the FRIEND JS API (133773, sr=jband&shaver, a=asa). 2002-04-02 04:23:21 +00:00
l10n Update .cvsignore to ignore generated Makefiles. 2002-03-26 15:42:05 +00:00
layout Attempt to fix topcrash bugs, possibly due to stale cached lookup undisplayed entry (that part by dbaron). Also added some artificial branching to help narrow the problem should crash persist. b=118014 r=attinasi/dbaron, sr=kin a=asa (drivers) 2002-04-02 21:14:43 +00:00
lib Remove xp_core.h & xp_mem.h and all build references to them. 2002-03-27 06:02:39 +00:00
mailnews #134742 2002-04-02 23:20:41 +00:00
modules #134693 2002-04-02 23:36:06 +00:00
mozilla new project started 2001-04-03 22:13:38 +00:00
msgsdk Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting 2001-12-23 23:23:41 +00:00
mstone Fix OS_ARCH detection for IRIX64. 2001-07-20 00:26:49 +00:00
netwerk Bug 129533 |Cannot use const char* to initialize char*| bustage 2002-04-01 19:58:02 +00:00
nsprpub Set NSPR version to 4.2. 2002-04-02 23:48:52 +00:00
nunet
other-licenses Fixing bug 117590, fixing compile time warnings. 2002-04-02 16:14:35 +00:00
parser With nested forms we used to match /FORM to its opening FORM ( though the inner FORM was ignored ). However, IE seems to close the outer FORM when it encounters /FORM. Replicating IE's behavior and also solves a serious form submission problem. b=128521, r=heikki, sr=jst a=dbaron 2002-03-26 23:08:30 +00:00
plugin/oji Fix build bustage. Checking in for serge@netscape.com 2002-03-27 07:11:42 +00:00
privacy
profile Fix for bug # 78585. Import local folders from 4.x. 2002-03-31 03:08:42 +00:00
rdf 44070: match browser and OS locale. (reusing r=alecf,sr=hyatt,a=asa 2002-04-01 05:56:35 +00:00
security Bugzilla bug 134095: removed error-handling code that's not quite correct. 2002-03-29 18:53:15 +00:00
silentdl
string Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 02:28:08 +00:00
suite
sun-java Landing the rest of the win32 gmake changes: 2001-12-18 09:14:29 +00:00
themes use moz-appearance bg for pane, window, etc for backgrounds in dialogs. makes pref panels look much better. r=andreww/sr=ben/a=asa. bug#134720 2002-04-02 22:07:01 +00:00
timer
tools comments about how this script works, from my mail to modsquad 2002-04-03 00:48:03 +00:00
uriloader fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically 2002-03-26 23:33:19 +00:00
view Add SetVisibility method to Scroll Views 2002-03-27 02:56:27 +00:00
webshell 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
webtools Fix for bug 82143 and bug 95594: Attempting to reverse dependencies falsely reported a circular dependency loop, and setting 2002-04-03 00:55:56 +00:00
widget First stab at getting native scrollbars via xbl working with chimera. Not part of the build. 2002-04-02 23:01:05 +00:00
xpcom 105087 r=dveditz, sr=mscott, a=asa 2002-04-02 23:56:43 +00:00
xpfe #123622 2002-04-03 00:10:14 +00:00
xpinstall 105087 r=dveditz, sr=mscott, a=asa 2002-04-02 23:56:43 +00:00
.cvsignore new project started 2001-04-03 22:13:38 +00:00
LEGAL
LICENSE
Makefile.in Build system and LDAP XPCOM SDK changes to switch to LDAP C SDK version 5; required for SSL-LDAP (bug 124244). r=sspitzer@netscape.com, seawood@netscape.com (build changes); sr=bienvenu@netscape.com; a=asa@mozilla.org 2002-03-27 06:31:38 +00:00
README.txt Placeholder readme file. 2002-01-25 05:39:27 +00:00
aclocal.m4 bug 116148, include freetype2.m4 for testing for FreeType2 2002-01-09 14:35:21 +00:00
allmakefiles.sh 110156 - renaming outliner to tree 2002-03-29 05:25:37 +00:00
client.mak Build system and LDAP XPCOM SDK changes to switch to LDAP C SDK version 5; required for SSL-LDAP (bug 124244). r=sspitzer@netscape.com, seawood@netscape.com (build changes); sr=bienvenu@netscape.com; a=asa@mozilla.org 2002-03-27 06:31:38 +00:00
client.mk Fixing autoconf build bustage 2002-03-27 07:49:23 +00:00
configure Automated update 2002-04-02 14:11:39 +00:00
configure.in Adding support for AIX5 (and hence 64bit aix) - aix only 2002-04-02 14:06:25 +00:00
embed.mak removing widget/timer from embed makefiles 2001-12-16 09:27:41 +00:00
embed.mk removing widget/timer from embed makefiles 2001-12-16 09:27:41 +00:00
makefile.win Build system and LDAP XPCOM SDK changes to switch to LDAP C SDK version 5; required for SSL-LDAP (bug 124244). r=sspitzer@netscape.com, seawood@netscape.com (build changes); sr=bienvenu@netscape.com; a=asa@mozilla.org 2002-03-27 06:31:38 +00:00
mozilla.kdevprj new project started 2001-04-03 22:13:38 +00:00
mozilla.lsm new project started 2001-04-03 22:13:38 +00:00
nglayout.mac
nglayout.mk
trex.mak
trex.mk

README.txt

======================================================

                  Mozilla Read Me

======================================================

This is a placeholder file which should be replaced with readme information
for each release.