зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1361547, part 2 - Implement missing cases in JS_GetTraceThingInfo(). r=sfink
MozReview-Commit-ID: GNteLjfArfg --HG-- extra : rebase_source : 911aa4f458e8622e1482e41874f1cce50bcbdd1a
This commit is contained in:
Родитель
471bef90b5
Коммит
173d5653f5
|
@ -343,6 +343,10 @@ JS_GetTraceThingInfo(char* buf, size_t bufsize, JSTracer* trc, void* thing,
|
|||
name = "lazyscript";
|
||||
break;
|
||||
|
||||
case JS::TraceKind::Null:
|
||||
name = "null_pointer";
|
||||
break;
|
||||
|
||||
case JS::TraceKind::Object:
|
||||
{
|
||||
name = static_cast<JSObject*>(thing)->getClass()->name;
|
||||
|
@ -353,6 +357,14 @@ JS_GetTraceThingInfo(char* buf, size_t bufsize, JSTracer* trc, void* thing,
|
|||
name = "object_group";
|
||||
break;
|
||||
|
||||
case JS::TraceKind::RegExpShared:
|
||||
name = "reg_exp_shared";
|
||||
break;
|
||||
|
||||
case JS::TraceKind::Scope:
|
||||
name = "scope";
|
||||
break;
|
||||
|
||||
case JS::TraceKind::Script:
|
||||
name = "script";
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче