6764622: IdealGraphVisualizer fixes

Reviewed-by: rasbold, jrose
This commit is contained in:
Tom Rodriguez 2008-10-30 17:08:48 -07:00
parent 8537533873
commit 7bcfb5965d
36 changed files with 331 additions and 207 deletions

View file

@ -83,12 +83,12 @@ void RegisterMap::print_on(outputStream* st) const {
intptr_t* src = (intptr_t*) location(r);
if (src != NULL) {
r->print();
tty->print(" [" INTPTR_FORMAT "] = ", src);
r->print_on(st);
st->print(" [" INTPTR_FORMAT "] = ", src);
if (((uintptr_t)src & (sizeof(*src)-1)) != 0) {
tty->print_cr("<misaligned>");
st->print_cr("<misaligned>");
} else {
tty->print_cr(INTPTR_FORMAT, *src);
st->print_cr(INTPTR_FORMAT, *src);
}
}
}