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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h
index 412da07fff..76a1cac3d0 100644
--- a/runtime/art_method.h
+++ b/runtime/art_method.h
@@ -404,6 +404,10 @@ class ArtMethod final {
AddAccessFlags(kAccNterpEntryPointFastPathFlag);
}
+ void SetNterpInvokeFastPathFlag() REQUIRES_SHARED(Locks::mutator_lock_) {
+ AddAccessFlags(kAccNterpInvokeFastPathFlag);
+ }
+
// Returns true if this method could be overridden by a default method.
bool IsOverridableByDefaultMethod() REQUIRES_SHARED(Locks::mutator_lock_);