hotspot/src/share/vm/opto/type.hpp
changeset 34202 5d19ca9c25a8
parent 31857 adbf29d9ca43
child 38030 93f24e7b3c43
--- a/hotspot/src/share/vm/opto/type.hpp	Mon Oct 05 23:50:43 2015 +0200
+++ b/hotspot/src/share/vm/opto/type.hpp	Mon Nov 16 14:19:10 2015 +0100
@@ -368,6 +368,11 @@
     return _const_basic_type[type];
   }
 
+  // For two instance arrays of same dimension, return the base element types.
+  // Otherwise or if the arrays have different dimensions, return NULL.
+  static void get_arrays_base_elements(const Type *a1, const Type *a2,
+                                       const TypeInstPtr **e1, const TypeInstPtr **e2);
+
   // Mapping to the array element's basic type.
   BasicType array_element_basic_type() const;