hotspot/src/share/vm/code/dependencies.cpp
changeset 23187 0f438571f278
parent 22921 ee35d5c0b1dc
child 24351 61b33cc6d3cf
--- a/hotspot/src/share/vm/code/dependencies.cpp	Fri Feb 28 09:30:20 2014 -0800
+++ b/hotspot/src/share/vm/code/dependencies.cpp	Mon Mar 03 08:04:14 2014 +0100
@@ -725,13 +725,13 @@
 }
 
 // ----------------- DependencySignature --------------------------------------
-bool DependencySignature::equals(DependencySignature* sig) const {
-  if ((type() != sig->type()) || (args_count() != sig->args_count())) {
+bool DependencySignature::equals(DependencySignature const& s1, DependencySignature const& s2) {
+  if ((s1.type() != s2.type()) || (s1.args_count() != s2.args_count())) {
     return false;
   }
 
-  for (int i = 0; i < sig->args_count(); i++) {
-    if (arg(i) != sig->arg(i)) {
+  for (int i = 0; i < s1.args_count(); i++) {
+    if (s1.arg(i) != s2.arg(i)) {
       return false;
     }
   }