mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 465808 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; r=brendan
This commit is contained in:
parent
315b289f84
commit
1859a1f07b
@ -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, callerFrame->callee);
|
||||
JSParsedObjectBox *pob = js_NewParsedObjectBox(cx, &pc, FUN_OBJECT(callerFrame->fun));
|
||||
pob->emitLink = cg.objectList.lastPob;
|
||||
cg.objectList.lastPob = pob;
|
||||
cg.objectList.length++;
|
||||
|
Loading…
Reference in New Issue
Block a user