Bug 454184 - Implement eval caching (r=mrbkap).

This commit is contained in:
Brendan Eich
2009-01-27 16:40:40 -08:00
parent 21168d19c5
commit 27c12a27c1
10 changed files with 257 additions and 46 deletions

View File

@@ -2752,6 +2752,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
case JSOP_CALLUPVAR:
case JSOP_GETUPVAR:
JS_ASSERT(jp->script->flags & JSSF_SAVED_CALLER_FUN);
if (!jp->fun)
JS_GET_SCRIPT_FUNCTION(jp->script, 0, jp->fun);