Bug 1119711 - Fix IONFLAGS=logs with MIRType_Symbol, r=jandem

This commit is contained in:
Hannes Verschore 2015-01-13 12:58:05 +01:00
parent b22caf6904
commit 8ca470fa5d

View File

@ -753,6 +753,9 @@ MConstant::printOpcode(FILE *fp) const
fprintf(fp, "object %p (%s)", (void *)&value().toObject(), fprintf(fp, "object %p (%s)", (void *)&value().toObject(),
value().toObject().getClass()->name); value().toObject().getClass()->name);
break; break;
case MIRType_Symbol:
fprintf(fp, "symbol at %p", (void *)value().toSymbol());
break;
case MIRType_String: case MIRType_String:
fprintf(fp, "string %p", (void *)value().toString()); fprintf(fp, "string %p", (void *)value().toString());
break; break;