Subj : Re: Problem with JavaScript functions To : Yuraukar From : Brendan Eich Date : Wed Oct 08 2003 09:53 am Yuraukar wrote: >>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. >> > > > ...as is my application. If therefore come to belief that the problem has > nothing to do with the NOICF flag. What else could be wrong? > You'll have to debug a little. To rule out NOICF-lack or similar problems, could you add a printf("%p %p\n", js_GetArgument, js_GetLocalVariable); in your app (you'll have to include "jsinterp.h" just for this)? If the two addresses are the same, you are suffering from the "identical COMDAT folding" bug that NOICF works around. If the addresses differ, you have some other problem. /be .