mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 822858 - Fix printing of lazy protos in type inference spew. r=bhackett
This commit is contained in:
parent
66fa2040ba
commit
9fcfd843c0
@ -3603,9 +3603,11 @@ TypeObject::clearNewScript(JSContext *cx)
|
||||
void
|
||||
TypeObject::print()
|
||||
{
|
||||
TaggedProto tagged(proto);
|
||||
printf("%s : %s",
|
||||
TypeObjectString(this),
|
||||
proto ? TypeString(Type::ObjectType(proto)) : "(null)");
|
||||
tagged.isObject() ? TypeString(Type::ObjectType(proto))
|
||||
: (tagged.isLazy() ? "(lazy)" : "(null)"));
|
||||
|
||||
if (unknownProperties()) {
|
||||
printf(" unknown");
|
||||
|
Loading…
Reference in New Issue
Block a user