Subj : Re: Problem with JavaScript functions To : netscape.public.mozilla.jseng From : "Steven C. Cole" Date : Tue Oct 07 2003 04:50 pm Yuraukar wrote: >>>I am also irritated by the fact that jsshell runs fine with respect >>>to the function when compiled with VC.net. It doesn't have >>>the NOICF flag set, so I assume the problem is somewhere else. >> >>What doesn't have the NOICF flag set? >> > > > jsshell that comes with SpiderMonkey doesn't have the NOICF > flag set. My project has the NOICF flag set. > Both compiled with VC.net results in jsshell working ok and > my project failing to evaluate function f(a) {... }. > My project compiled under VC6 with or without NOICF > runs fine. > > Yuraukar. NOICF only makes a difference in non-debug builds. (The "ICF" that it's preventing doesn't happen for non-optimized builds.) It's likely that the jsshell you were testing was compiled in some sort of debug mode. --scole .