Bug 780309 - Move atom methods into js namespace; r=luke

This is a simple cleanup of jsatom.h.
This commit is contained in:
Terrence Cole
2012-08-08 14:02:30 -07:00
parent 5845cc31e7
commit 8b8f244b86
24 changed files with 108 additions and 165 deletions

View File

@@ -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;