Bug 457521 - [p=igor@mir2.org (Igor Bukanov) r=crowder a=dveditz]

git-svn-id: svn://10.0.0.236/trunk@256058 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2009-02-03 09:25:56 +00:00
parent 55730b7bcf
commit c6cb6a40d4

View File

@@ -4824,7 +4824,7 @@ js_DecompileValueGenerator(JSContext *cx, intN spindex, jsval v,
for (fp = cx->fp; fp && !fp->script; fp = fp->down)
continue;
if (!fp || !fp->regs)
if (!fp || !fp->regs || !fp->regs->sp)
goto do_fallback;
script = fp->script;