comparison src/share/vm/compiler/oopMap.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 b9a9ed0f8eeb
children 3ac7d10a6572 190899198332
comparison
equal deleted inserted replaced
7619:46e60405583b 7636:a7114d3d712e
540 switch( x ) { 540 switch( x ) {
541 case OopMapValue::oop_value: 541 case OopMapValue::oop_value:
542 st->print("Oop"); 542 st->print("Oop");
543 break; 543 break;
544 case OopMapValue::value_value: 544 case OopMapValue::value_value:
545 st->print("Value" ); 545 st->print("Value");
546 break; 546 break;
547 case OopMapValue::narrowoop_value: 547 case OopMapValue::narrowoop_value:
548 tty->print("NarrowOop" ); 548 st->print("NarrowOop");
549 break; 549 break;
550 case OopMapValue::callee_saved_value: 550 case OopMapValue::callee_saved_value:
551 st->print("Callers_" ); 551 st->print("Callers_");
552 optional->print_on(st); 552 optional->print_on(st);
553 break; 553 break;
554 case OopMapValue::derived_oop_value: 554 case OopMapValue::derived_oop_value:
555 st->print("Derived_oop_" ); 555 st->print("Derived_oop_");
556 optional->print_on(st); 556 optional->print_on(st);
557 break; 557 break;
558 default: 558 default:
559 ShouldNotReachHere(); 559 ShouldNotReachHere();
560 } 560 }