summaryrefslogtreecommitdiffstats
path: root/runtime/mirror/art_method-inl.h
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2013-10-23 16:24:40 -0700
committerJeff Hao <jeffhao@google.com>2013-10-29 12:01:28 -0700
commit88474b416eb257078e590bf9bc7957cee604a186 (patch)
tree7c59aa370bec9b0f2d37cb7a96d3b2effb3d92ce /runtime/mirror/art_method-inl.h
parent9780099e445884d8bc9444c8c1261b02d80a26c7 (diff)
downloadart-88474b416eb257078e590bf9bc7957cee604a186.zip
art-88474b416eb257078e590bf9bc7957cee604a186.tar.gz
art-88474b416eb257078e590bf9bc7957cee604a186.tar.bz2
Implement Interface Method Tables (IMT).
Change-Id: Idf7fe85e1293453a8ad862ff2380dcd5db4e3a39
Diffstat (limited to 'runtime/mirror/art_method-inl.h')
-rw-r--r--runtime/mirror/art_method-inl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/mirror/art_method-inl.h b/runtime/mirror/art_method-inl.h
index ccf3e59..c9bf160 100644
--- a/runtime/mirror/art_method-inl.h
+++ b/runtime/mirror/art_method-inl.h
@@ -202,6 +202,13 @@ inline bool ArtMethod::IsResolutionMethod() const {
DCHECK(!result || IsRuntimeMethod());
return result;
}
+
+inline bool ArtMethod::IsImtConflictMethod() const {
+ bool result = this == Runtime::Current()->GetImtConflictMethod();
+ // Check that if we do think it is phony it looks like the imt conflict method.
+ DCHECK(!result || IsRuntimeMethod());
+ return result;
+}
} // namespace mirror
} // namespace art