hotspot/src/share/vm/opto/library_call.cpp
changeset 600 f7b4f99c0199
parent 595 a2be4c89de81
child 767 64fb1fd7186d
child 670 ddf3e9583f2f
--- a/hotspot/src/share/vm/opto/library_call.cpp	Thu May 29 16:22:09 2008 -0700
+++ b/hotspot/src/share/vm/opto/library_call.cpp	Tue Jun 03 13:14:44 2008 -0700
@@ -823,6 +823,8 @@
 //------------------------------inline_array_equals----------------------------
 bool LibraryCallKit::inline_array_equals() {
 
+  if (!Matcher::has_match_rule(Op_AryEq)) return false;
+
   _sp += 2;
   Node *argument2 = pop();
   Node *argument1 = pop();