#324451 Added eval to atomState so that we can detect indirect calls to eval

git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@12362 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1998-10-08 23:42:03 +00:00
parent c122de69b8
commit 3c18b0c3ba
2 changed files with 2 additions and 0 deletions

View File

@@ -238,6 +238,7 @@ js_InitAtomState(JSContext *cx, JSAtomState *state)
FROB(toSourceAtom, js_toSource_str);
FROB(toStringAtom, js_toString_str);
FROB(valueOfAtom, js_valueOf_str);
FROB(evalAtom, js_eval_str);
#undef FROB

View File

@@ -124,6 +124,7 @@ struct JSAtomState {
JSAtom *toSourceAtom;
JSAtom *toStringAtom;
JSAtom *valueOfAtom;
JSAtom *evalAtom;
#ifdef JS_THREADSAFE
JSThinLock lock;