< prev index next >

src/hotspot/share/opto/runtime.cpp

Print this page
rev 63810 : Merge

@@ -1703,5 +1703,18 @@
   tempst.print(" at " INTPTR_FORMAT,  p2i(exception_pc));
   tempst.print("]");
 
   st->print_raw_cr(tempst.as_string());
 }
+
+const TypeFunc* OptoRuntime::get_referenced_objects_Type() {
+  const Type** fields = TypeTuple::fields(2);
+  fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // oop; object
+  fields[TypeFunc::Parms+1] = TypeAryPtr::NOTNULL;  // oop; reference buffer
+  const TypeTuple* domain = TypeTuple::make(TypeFunc::Parms+2,fields);
+
+  fields = TypeTuple::fields(1);
+  fields[TypeFunc::Parms+0] = TypeInt::INT; // count
+  const TypeTuple* range = TypeTuple::make(TypeFunc::Parms+1,fields);
+
+  return TypeFunc::make(domain,range);
+}
< prev index next >