summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.cc b/src/utils.cc
index bff1f0c141..534b28ee99 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -317,7 +317,7 @@ std::string PrettyReturnType(const char* signature) {
return PrettyDescriptor(return_type);
}
-std::string PrettyMethod(const Method* m, bool with_signature) {
+std::string PrettyMethod(const AbstractMethod* m, bool with_signature) {
if (m == NULL) {
return "null";
}
@@ -573,7 +573,7 @@ std::string DescriptorToName(const char* descriptor) {
return descriptor;
}
-std::string JniShortName(const Method* m) {
+std::string JniShortName(const AbstractMethod* m) {
MethodHelper mh(m);
std::string class_name(mh.GetDeclaringClassDescriptor());
// Remove the leading 'L' and trailing ';'...
@@ -592,7 +592,7 @@ std::string JniShortName(const Method* m) {
return short_name;
}
-std::string JniLongName(const Method* m) {
+std::string JniLongName(const AbstractMethod* m) {
std::string long_name;
long_name += JniShortName(m);
long_name += "__";