mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1060572 - Skip inner asm.js functions in D.S.p.getChildScripts. (r=jimb)
This commit is contained in:
parent
a14a517250
commit
6a997b1d52
@ -3290,6 +3290,9 @@ DebuggerScript_getChildScripts(JSContext *cx, unsigned argc, Value *vp)
|
||||
obj = objects->vector[i];
|
||||
if (obj->is<JSFunction>()) {
|
||||
fun = &obj->as<JSFunction>();
|
||||
// The inner function could be an asm.js native.
|
||||
if (fun->isNative())
|
||||
continue;
|
||||
funScript = GetOrCreateFunctionScript(cx, fun);
|
||||
if (!funScript)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user