changeset 9092:4720f96a15b7

fixed minor regression
author Doug Simon <doug.simon@oracle.com>
date Fri, 12 Apr 2013 20:32:14 +0200
parents b28c80b6ee58
children cd22923e7ca7
files src/share/vm/graal/graalCompiler.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.hpp	Fri Apr 12 18:42:24 2013 +0200
+++ b/src/share/vm/graal/graalCompiler.hpp	Fri Apr 12 20:32:14 2013 +0200
@@ -102,7 +102,7 @@
     int cp_index;
     if (bc == Bytecodes::_invokedynamic) {
       cp_index = to_index_u4(raw_index);
-      assert(ConstantPool::is_invokedynamic_index(raw_index), "not an invokedynamic constant pool index");
+      assert(ConstantPool::is_invokedynamic_index(cp_index), "not an invokedynamic constant pool index");
     } else {
       assert(bc == Bytecodes::_getfield        || bc == Bytecodes::_putfield  ||
              bc == Bytecodes::_getstatic       || bc == Bytecodes::_putstatic ||