for( jsdscript = (JSDScript *)jsdc->scripts.next; jsdscript != (JSDScript *)&jsdc->scripts; jsdscript = (JSDScript *)jsdscript->links.next ) { if (jsdscript->script == script) return jsdscript; } return NULL;
return (JSDScript*) JS_HashTableLookup(jsdc->scriptsTable, (void *)script);
jsd_FindJSDScript( JSDContext*  jsdc,                   JSScript     *script ){    JSDScript *jsdscript;    JS_ASSERT(JSD_SCRIPTS_LOCKED(jsdc));    for( jsdscript = (JSDScript *)jsdc->scripts.next;         jsdscript != (JSDScript *)&jsdc->scripts;         jsdscript = (JSDScript *)jsdscript->links.next )    {        if (jsdscript->script == script)            return jsdscript;    }    return NULL;}               