mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixed bogus assertion in debug mode.
This commit is contained in:
parent
c444e597b6
commit
e88386ec38
@ -1097,7 +1097,8 @@ TraceRecorder::import(LIns* base, ptrdiff_t offset, jsval* p, uint8& t,
|
||||
const char* funName = NULL;
|
||||
if (*prefix == 'a' || *prefix == 'v') {
|
||||
mark = JS_ARENA_MARK(&cx->tempPool);
|
||||
localNames = js_GetLocalNameArray(cx, fp->fun, &cx->tempPool);
|
||||
if (JS_GET_LOCAL_NAME_COUNT(fp->fun) != 0)
|
||||
localNames = js_GetLocalNameArray(cx, fp->fun, &cx->tempPool);
|
||||
funName = fp->fun->atom ? js_AtomToPrintableString(cx, fp->fun->atom) : "<anonymous>";
|
||||
}
|
||||
if (!strcmp(prefix, "argv")) {
|
||||
|
Loading…
Reference in New Issue
Block a user