Mercurial > hg > truffle
comparison src/share/vm/code/dependencies.cpp @ 14702:d4dd5204c0aa
Merge
author | ehelin |
---|---|
date | Fri, 14 Mar 2014 13:27:18 +0100 |
parents | 3c6ae9109a86 |
children | b51e29501f30 |
comparison
equal
deleted
inserted
replaced
14701:d3ef21095134 | 14702:d4dd5204c0aa |
---|---|
723 // e.g. evol_method. | 723 // e.g. evol_method. |
724 return NULL; | 724 return NULL; |
725 } | 725 } |
726 | 726 |
727 // ----------------- DependencySignature -------------------------------------- | 727 // ----------------- DependencySignature -------------------------------------- |
728 bool DependencySignature::equals(DependencySignature* sig) const { | 728 bool DependencySignature::equals(DependencySignature const& s1, DependencySignature const& s2) { |
729 if ((type() != sig->type()) || (args_count() != sig->args_count())) { | 729 if ((s1.type() != s2.type()) || (s1.args_count() != s2.args_count())) { |
730 return false; | 730 return false; |
731 } | 731 } |
732 | 732 |
733 for (int i = 0; i < sig->args_count(); i++) { | 733 for (int i = 0; i < s1.args_count(); i++) { |
734 if (arg(i) != sig->arg(i)) { | 734 if (s1.arg(i) != s2.arg(i)) { |
735 return false; | 735 return false; |
736 } | 736 } |
737 } | 737 } |
738 return true; | 738 return true; |
739 } | 739 } |