Mercurial > hg > graal-jvmci-8
comparison src/share/vm/compiler/oopMap.hpp @ 100:c7c777385a15
6667042: PrintAssembly option does not work without special plugin
Summary: remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources
Reviewed-by: kvn, rasbold
author | jrose |
---|---|
date | Wed, 02 Apr 2008 12:09:59 -0700 |
parents | c5cbd367e4d1 |
children | ba764ed4b6f2 |
comparison
equal
deleted
inserted
replaced
99:8a4ef4e001d3 | 100:c7c777385a15 |
---|---|
127 int stack_offset() { | 127 int stack_offset() { |
128 assert(is_stack_loc(), "must be stack location"); | 128 assert(is_stack_loc(), "must be stack location"); |
129 return reg()->reg2stack(); | 129 return reg()->reg2stack(); |
130 } | 130 } |
131 | 131 |
132 void print_on(outputStream* st) const PRODUCT_RETURN; | 132 void print_on(outputStream* st) const; |
133 void print() const { print_on(tty); } | 133 void print() const { print_on(tty); } |
134 }; | 134 }; |
135 | 135 |
136 | 136 |
137 class OopMap: public ResourceObj { | 137 class OopMap: public ResourceObj { |
191 bool legal_vm_reg_name(VMReg local) { | 191 bool legal_vm_reg_name(VMReg local) { |
192 return OopMapValue::legal_vm_reg_name(local); | 192 return OopMapValue::legal_vm_reg_name(local); |
193 } | 193 } |
194 | 194 |
195 // Printing | 195 // Printing |
196 void print_on(outputStream* st) const PRODUCT_RETURN; | 196 void print_on(outputStream* st) const; |
197 void print() const { print_on(tty); } | 197 void print() const { print_on(tty); } |
198 }; | 198 }; |
199 | 199 |
200 | 200 |
201 class OopMapSet : public ResourceObj { | 201 class OopMapSet : public ResourceObj { |
246 OopClosure* oop_fn, | 246 OopClosure* oop_fn, |
247 void derived_oop_fn(oop* base, oop* derived), | 247 void derived_oop_fn(oop* base, oop* derived), |
248 OopClosure* value_fn, OopClosure* dead_fn); | 248 OopClosure* value_fn, OopClosure* dead_fn); |
249 | 249 |
250 // Printing | 250 // Printing |
251 void print_on(outputStream* st) const PRODUCT_RETURN; | 251 void print_on(outputStream* st) const; |
252 void print() const { print_on(tty); } | 252 void print() const { print_on(tty); } |
253 }; | 253 }; |
254 | 254 |
255 | 255 |
256 class OopMapStream : public StackObj { | 256 class OopMapStream : public StackObj { |