diff src/share/vm/opto/library_call.cpp @ 5934:61b82be3b1ff

7152957: VM crashes with assert(false) failed: bad AD file Reviewed-by: kvn, never Contributed-by: nils.eliasson@oracle.com
author never
date Mon, 12 Mar 2012 15:28:07 -0700
parents b40ac3579043
children 0105f367a14c
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp	Fri Mar 09 13:34:45 2012 -0800
+++ b/src/share/vm/opto/library_call.cpp	Mon Mar 12 15:28:07 2012 -0700
@@ -338,11 +338,11 @@
     break;
 
   case vmIntrinsics::_bitCount_i:
-    if (!Matcher::has_match_rule(Op_PopCountI)) return NULL;
+    if (!Matcher::match_rule_supported(Op_PopCountI)) return NULL;
     break;
 
   case vmIntrinsics::_bitCount_l:
-    if (!Matcher::has_match_rule(Op_PopCountL)) return NULL;
+    if (!Matcher::match_rule_supported(Op_PopCountL)) return NULL;
     break;
 
   case vmIntrinsics::_numberOfLeadingZeros_i: