diff options
author | 2017-02-27 16:23:51 -0800 | |
---|---|---|
committer | 2017-03-07 16:47:13 -0800 | |
commit | 8f301e26943c53485abc2da5ff1907f7c2e0ff0c (patch) | |
tree | e255d1ce3041dff95d2cd2b6bf1b1474962d811e /runtime/art_method.h | |
parent | dcab11d06860ae1e23d03926adb6c31f75404032 (diff) |
Revert "Revert "CHA for interface method.""
This reverts commit 85a1ec1347c8117365632dcaaa648ebb0a8691f5.
It also fixed the issue that's caused by changing an invokeinterface
to an invokevirtual, when the method is the original default interface
method. Since the default interface method is not in any vtable, unless
it's copied and becomes a virtual method.
Test: ART_TEST_JIT=true m -j20 test-art-host-run-test
Change-Id: I627616978690485c66cfca47c234f1504066ea1d
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r-- | runtime/art_method.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index cd1950c0e2..db76d4f5c1 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -691,7 +691,7 @@ class ArtMethod FINAL { // Pointer to JNI function registered to this method, or a function to resolve the JNI function, // or the profiling data for non-native methods, or an ImtConflictTable, or the - // single-implementation of an abstract method. + // single-implementation of an abstract/interface method. void* data_; // Method dispatch from quick compiled code invokes this pointer which may cause bridging into |