Mercurial > hg > truffle
comparison src/share/vm/code/pcDesc.cpp @ 7226:8a3efb8c831d
Merge.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 14 Dec 2012 13:02:49 +0100 |
parents | 5d0bb7d52783 |
children | 0b646334c5f7 |
comparison
equal
deleted
inserted
replaced
7225:31c4d9f9e922 | 7226:8a3efb8c831d |
---|---|
42 } | 42 } |
43 | 43 |
44 void PcDesc::print(nmethod* code) { | 44 void PcDesc::print(nmethod* code) { |
45 #ifndef PRODUCT | 45 #ifndef PRODUCT |
46 ResourceMark rm; | 46 ResourceMark rm; |
47 #ifdef GRAAL | 47 if (code->is_compiled_by_graal()) { |
48 tty->print_cr("PcDesc(pc=0x%lx offset=%x bits=%x leaf_graph_id=%d):", real_pc(code), pc_offset(), _flags, leaf_graph_id()); | 48 tty->print_cr("PcDesc(pc=0x%lx offset=%x bits=%x leaf_graph_id=%d):", real_pc(code), pc_offset(), _flags, leaf_graph_id()); |
49 #else | 49 } else { |
50 tty->print_cr("PcDesc(pc=0x%lx offset=%x bits=%x):", real_pc(code), pc_offset(), _flags); | 50 tty->print_cr("PcDesc(pc=0x%lx offset=%x bits=%x):", real_pc(code), pc_offset(), _flags); |
51 #endif | 51 } |
52 | 52 |
53 if (scope_decode_offset() == DebugInformationRecorder::serialized_null) { | 53 if (scope_decode_offset() == DebugInformationRecorder::serialized_null) { |
54 return; | 54 return; |
55 } | 55 } |
56 | 56 |