Mercurial > hg > graal-compiler
diff src/share/vm/code/debugInfoRec.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 | b888ded3ee42 |
children | be896a1983c0 |
line wrap: on
line diff
--- a/src/share/vm/code/debugInfoRec.cpp Wed Feb 25 19:05:03 2015 -0800 +++ b/src/share/vm/code/debugInfoRec.cpp Wed Feb 25 19:13:16 2015 -0800 @@ -392,7 +392,7 @@ PcDesc* last_pd = &_pcs[_pcs_length-1]; if (objects != NULL) { for (int i = objects->length() - 1; i >= 0; i--) { - ((ObjectValue*) objects->at(i))->set_visited(false); + objects->at(i)->as_ObjectValue()->set_visited(false); } } int offset = serialize_scope_values(objects);