summaryrefslogtreecommitdiff
path: root/runtime/art_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r--runtime/art_method.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h
index cec183789e..6cdc4a6bb0 100644
--- a/runtime/art_method.h
+++ b/runtime/art_method.h
@@ -135,14 +135,6 @@ class ArtMethod FINAL {
return (GetAccessFlags() & kAccNative) != 0;
}
- bool ShouldNotInline() SHARED_REQUIRES(Locks::mutator_lock_) {
- return (GetAccessFlags() & kAccDontInline) != 0;
- }
-
- void SetShouldNotInline() SHARED_REQUIRES(Locks::mutator_lock_) {
- SetAccessFlags(GetAccessFlags() | kAccDontInline);
- }
-
bool IsFastNative() SHARED_REQUIRES(Locks::mutator_lock_) {
uint32_t mask = kAccFastNative | kAccNative;
return (GetAccessFlags() & mask) == mask;