Add imacros to support conversion of arbitrary JSObjects (456511, r=gal).

This commit is contained in:
Brendan
2008-11-12 16:55:45 -08:00
parent 230ff5430e
commit 7b8d11c0f0
21 changed files with 827 additions and 215 deletions

View File

@@ -1881,7 +1881,7 @@ ParseXMLSource(JSContext *cx, JSString *src)
op = (JSOp) *fp->regs->pc;
if (op == JSOP_TOXML || op == JSOP_TOXMLLIST) {
filename = fp->script->filename;
lineno = js_PCToLineNumber(cx, fp->script, fp->regs->pc);
lineno = js_FramePCToLineNumber(cx, fp);
for (endp = srcp + srclen; srcp < endp; srcp++) {
if (*srcp == '\n')
--lineno;