comparison src/share/vm/opto/machnode.cpp @ 7636:a7114d3d712e

8005055: pass outputStream to more opto debug routines Summary: pass the output stream to node->dump() and everything reachable from there Reviewed-by: kvn Contributed-by: goetz.lindenmaier@sap.com
author kvn
date Tue, 22 Jan 2013 11:31:25 -0800
parents 8e47bac5643a
children 70120f47d403
comparison
equal deleted inserted replaced
7619:46e60405583b 7636:a7114d3d712e
504 504
505 //============================================================================= 505 //=============================================================================
506 #ifndef PRODUCT 506 #ifndef PRODUCT
507 void MachNullCheckNode::format( PhaseRegAlloc *ra_, outputStream *st ) const { 507 void MachNullCheckNode::format( PhaseRegAlloc *ra_, outputStream *st ) const {
508 int reg = ra_->get_reg_first(in(1)->in(_vidx)); 508 int reg = ra_->get_reg_first(in(1)->in(_vidx));
509 tty->print("%s %s", Name(), Matcher::regName[reg]); 509 st->print("%s %s", Name(), Matcher::regName[reg]);
510 } 510 }
511 #endif 511 #endif
512 512
513 void MachNullCheckNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const { 513 void MachNullCheckNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {
514 // only emits entries in the null-pointer exception handler table 514 // only emits entries in the null-pointer exception handler table