Bug 780309 - Move atom methods into js namespace; r=luke
This is a simple cleanup of jsatom.h.
This commit is contained in:
@@ -120,7 +120,7 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, StackFrame *call
|
||||
* Save eval program source in script->atoms[0] for the
|
||||
* eval cache (see EvalCacheLookup in jsobj.cpp).
|
||||
*/
|
||||
JSAtom *atom = js_AtomizeString(cx, source);
|
||||
JSAtom *atom = AtomizeString(cx, source);
|
||||
jsatomid _;
|
||||
if (!atom || !bce.makeAtomIndex(atom, &_))
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user