From 31716185162078011d1a45a610cb6d38c058ce51 Mon Sep 17 00:00:00 2001 From: "Zbigniew Braniecki (zbraniecki@mozilla.com)" Date: Sat, 24 Jan 2009 01:17:07 -0800 Subject: [PATCH] Backed out changeset e81a7ff740bd for proper checkin (test drive, sorry :() --- js/src/jsparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsparse.cpp b/js/src/jsparse.cpp index f27dd9000d6f..74f3638a0a12 100644 --- a/js/src/jsparse.cpp +++ b/js/src/jsparse.cpp @@ -549,7 +549,7 @@ js_CompileScript(JSContext *cx, JSObject *scopeChain, JSStackFrame *callerFrame, * captured in case it uses an upvar reference, and someone wishes to * decompile it while running. */ - JSParsedObjectBox *pob = js_NewParsedObjectBox(cx, &pc, FUN_OBJECT(callerFrame->fun)); + JSParsedObjectBox *pob = js_NewParsedObjectBox(cx, &pc, callerFrame->callee); pob->emitLink = cg.objectList.lastPob; cg.objectList.lastPob = pob; cg.objectList.length++;