Mercurial > hg > truffle
diff src/share/vm/code/scopeDesc.cpp @ 19598: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 |
line wrap: on
line diff
--- a/src/share/vm/code/scopeDesc.cpp Wed Feb 25 19:05:03 2015 -0800 +++ b/src/share/vm/code/scopeDesc.cpp Wed Feb 25 19:13:16 2015 -0800 @@ -230,7 +230,7 @@ if (NOT_GRAAL(DoEscapeAnalysis &&) is_top() && _objects != NULL) { tty->print_cr("Objects"); for (int i = 0; i < _objects->length(); i++) { - ObjectValue* sv = (ObjectValue*) _objects->at(i); + ObjectValue* sv = _objects->at(i)->as_ObjectValue(); tty->print(" - %d: ", sv->id()); sv->print_fields_on(tty); tty->cr();