src/hotspot/share/ci/ciStreams.cpp
changeset 48826 c4d9d1b08e2e
parent 47216 71c04702a3d5
child 49449 ef5d5d343e2a
--- a/src/hotspot/share/ci/ciStreams.cpp	Wed Jan 31 10:55:49 2018 -0800
+++ b/src/hotspot/share/ci/ciStreams.cpp	Fri Sep 08 10:46:46 2017 -0700
@@ -254,7 +254,8 @@
 // constant.
 constantTag ciBytecodeStream::get_constant_pool_tag(int index) const {
   VM_ENTRY_MARK;
-  return _method->get_Method()->constants()->tag_at(index);
+  BasicType bt = _method->get_Method()->constants()->basic_type_for_constant_at(index);
+  return constantTag::ofBasicType(bt);
 }
 
 // ------------------------------------------------------------------