Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/frame.cpp @ 417:f4fe12e429a4
6764622: IdealGraphVisualizer fixes
Reviewed-by: rasbold, jrose
author | never |
---|---|
date | Thu, 30 Oct 2008 17:08:48 -0700 |
parents | d1605aabd0a1 |
children | 98cb887364d3 |
comparison
equal
deleted
inserted
replaced
416:b6cfd754403d | 417:f4fe12e429a4 |
---|---|
81 | 81 |
82 VMReg r = VMRegImpl::as_VMReg(i); | 82 VMReg r = VMRegImpl::as_VMReg(i); |
83 intptr_t* src = (intptr_t*) location(r); | 83 intptr_t* src = (intptr_t*) location(r); |
84 if (src != NULL) { | 84 if (src != NULL) { |
85 | 85 |
86 r->print(); | 86 r->print_on(st); |
87 tty->print(" [" INTPTR_FORMAT "] = ", src); | 87 st->print(" [" INTPTR_FORMAT "] = ", src); |
88 if (((uintptr_t)src & (sizeof(*src)-1)) != 0) { | 88 if (((uintptr_t)src & (sizeof(*src)-1)) != 0) { |
89 tty->print_cr("<misaligned>"); | 89 st->print_cr("<misaligned>"); |
90 } else { | 90 } else { |
91 tty->print_cr(INTPTR_FORMAT, *src); | 91 st->print_cr(INTPTR_FORMAT, *src); |
92 } | 92 } |
93 } | 93 } |
94 } | 94 } |
95 } | 95 } |
96 | 96 |