indy.compiler: Use secondary_entry_at where required.
--- a/indy.compiler.patch Sat Jul 04 04:02:22 2009 -0700
+++ b/indy.compiler.patch Mon Jul 06 09:58:21 2009 +0200
@@ -358,7 +358,7 @@ diff --git a/src/share/vm/ci/ciEnv.cpp b
+ constantPoolHandle cpool = accessor->get_instanceKlass()->constants();
+
+ // Get the CallSite from the constant pool cache.
-+ ConstantPoolCacheEntry* cpc_entry = cpool->cache()->entry_at(index);
++ ConstantPoolCacheEntry* cpc_entry = cpool->cache()->secondary_entry_at(index);
+ assert(cpc_entry != NULL && cpc_entry->is_secondary_entry(), "sanity");
+ Handle call_site = cpc_entry->f1();
+