Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/scopeDesc.cpp @ 21559:be896a1983c0
recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 28 May 2015 15:36:48 +0200 |
parents | c1f116cd4b67 |
children | c28cb37b2e1d |
comparison
equal
deleted
inserted
replaced
21558:d563baeca9df | 21559:be896a1983c0 |
---|---|
224 st->cr(); | 224 st->cr(); |
225 } | 225 } |
226 } | 226 } |
227 } | 227 } |
228 | 228 |
229 #if defined(COMPILER2) || defined(GRAAL) | 229 #if defined(COMPILER2) || defined(JVMCI) |
230 if (NOT_GRAAL(DoEscapeAnalysis &&) is_top() && _objects != NULL) { | 230 if (NOT_JVMCI(DoEscapeAnalysis &&) is_top() && _objects != NULL) { |
231 tty->print_cr("Objects"); | 231 tty->print_cr("Objects"); |
232 for (int i = 0; i < _objects->length(); i++) { | 232 for (int i = 0; i < _objects->length(); i++) { |
233 ObjectValue* sv = _objects->at(i)->as_ObjectValue(); | 233 ObjectValue* sv = _objects->at(i)->as_ObjectValue(); |
234 tty->print(" - %d: ", sv->id()); | 234 tty->print(" - %d: ", sv->id()); |
235 tty->print("%s ", java_lang_Class::as_Klass(sv->klass()->as_ConstantOopReadValue()->value()())->external_name()); | 235 tty->print("%s ", java_lang_Class::as_Klass(sv->klass()->as_ConstantOopReadValue()->value()())->external_name()); |
236 sv->print_fields_on(tty); | 236 sv->print_fields_on(tty); |
237 tty->cr(); | 237 tty->cr(); |
238 } | 238 } |
239 } | 239 } |
240 #endif // COMPILER2 || GRAAL | 240 #endif // COMPILER2 || JVMCI |
241 } | 241 } |
242 | 242 |
243 #endif | 243 #endif |
244 | 244 |
245 void ScopeDesc::verify() { | 245 void ScopeDesc::verify() { |