comparison src/share/vm/code/scopeDesc.cpp @ 19605:15ef24874df7

Add assertion to ObjectValue conversion
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 25 Feb 2015 19:13:16 -0800
parents 52b4284cb496
children c1f116cd4b67
comparison
equal deleted inserted replaced
19604:dcfdd60edaf1 19605:15ef24874df7
228 228
229 #if defined(COMPILER2) || defined(GRAAL) 229 #if defined(COMPILER2) || defined(GRAAL)
230 if (NOT_GRAAL(DoEscapeAnalysis &&) is_top() && _objects != NULL) { 230 if (NOT_GRAAL(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 = (ObjectValue*) _objects->at(i); 233 ObjectValue* sv = _objects->at(i)->as_ObjectValue();
234 tty->print(" - %d: ", sv->id()); 234 tty->print(" - %d: ", sv->id());
235 sv->print_fields_on(tty); 235 sv->print_fields_on(tty);
236 tty->cr(); 236 tty->cr();
237 } 237 }
238 } 238 }