--- a/hotspot/src/share/vm/ci/ciMethod.cpp Fri May 12 11:41:05 2017 +0200
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp Fri May 12 13:14:25 2017 -0700
@@ -953,6 +953,13 @@
}
// ------------------------------------------------------------------
+// ciMethod::is_object_initializer
+//
+bool ciMethod::is_object_initializer() const {
+ return name() == ciSymbol::object_initializer_name();
+}
+
+// ------------------------------------------------------------------
// ciMethod::has_member_arg
//
// Return true if the method is a linker intrinsic like _linkToVirtual.