mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
Bug 1242462 - Add a newline when calling TypeSet::print from a debugger. r=jandem
This commit is contained in:
parent
846f654fed
commit
010ddafa03
@ -680,6 +680,7 @@ ConstraintTypeSet::addType(ExclusiveContext* cxArg, Type type)
|
||||
void
|
||||
TypeSet::print(FILE* fp)
|
||||
{
|
||||
bool fromDebugger = !fp;
|
||||
if (!fp)
|
||||
fp = stderr;
|
||||
|
||||
@ -730,6 +731,9 @@ TypeSet::print(FILE* fp)
|
||||
fprintf(fp, " %s", TypeString(ObjectType(key)));
|
||||
}
|
||||
}
|
||||
|
||||
if (fromDebugger)
|
||||
fprintf(fp, "\n");
|
||||
}
|
||||
|
||||
/* static */ void
|
||||
|
Loading…
x
Reference in New Issue
Block a user