diff options
| author | 2014-12-04 10:21:02 +0000 | |
|---|---|---|
| committer | 2014-12-04 10:21:02 +0000 | |
| commit | baede348efa86600e64fb9db43cec1eef07c86d9 (patch) | |
| tree | 7ab2c2a69c72b7cd2ce1b7bf1ed9d26b07e4fd7e /runtime/class_linker.h | |
| parent | 989210eb453898bd94bf3527f18f6146b07aa4bb (diff) | |
| parent | 6963e44331258b131bcc0599b868ba15902d6d22 (diff) | |
Merge "JDWP: fix breakpoint for method in the image"
Diffstat (limited to 'runtime/class_linker.h')
| -rw-r--r-- | runtime/class_linker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index b78d0b5bc3..55332f808f 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -471,6 +471,10 @@ class ClassLinker { LOCKS_EXCLUDED(Locks::classlinker_classes_lock_) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + // Returns true if the method can be called with its direct code pointer, false otherwise. + bool MayBeCalledWithDirectCodePointer(mirror::ArtMethod* m) + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + private: const OatFile::OatMethod FindOatMethodFor(mirror::ArtMethod* method, bool* found) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |