Mercurial > hg > truffle
diff src/share/vm/code/dependencies.cpp @ 14660:3c6ae9109a86
8035946: Use ResourceHashtable for dependency checking
Summary: Use ResourceHashtable for dependency checking and delete GenericHashtable
Reviewed-by: kvn, coleenp
author | anoll |
---|---|
date | Mon, 03 Mar 2014 08:04:14 +0100 |
parents | 524b54a7f1b5 |
children | b51e29501f30 |
line wrap: on
line diff
--- a/src/share/vm/code/dependencies.cpp Fri Feb 28 09:30:20 2014 -0800 +++ b/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; } }