зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362205 - Annotate ScopeKinds in JS_GetTraceThingInfo(). r=sfink
MozReview-Commit-ID: 8Hti5sQAXGA --HG-- extra : rebase_source : 88cc0c925a5c618a58f418b8d8545e51ddd640db
This commit is contained in:
Родитель
a8f10f24ec
Коммит
44283f57ae
|
@ -464,6 +464,12 @@ JS_GetTraceThingInfo(char* buf, size_t bufsize, JSTracer* trc, void* thing,
|
|||
break;
|
||||
}
|
||||
|
||||
case JS::TraceKind::Scope:
|
||||
{
|
||||
js::Scope* scope = static_cast<js::Scope*>(thing);
|
||||
snprintf(buf, bufsize, " %s", js::ScopeKindString(scope->kind()));
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче