diff options
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r-- | runtime/art_method.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index 3d51fdde94..99d7a49dc9 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -223,13 +223,10 @@ class ArtMethod FINAL { } bool IsObsolete() { - // TODO Should maybe make this IsIntrinsic check not needed - return !IsIntrinsic() && (GetAccessFlags() & kAccObsoleteMethod) != 0; + return (GetAccessFlags() & kAccObsoleteMethod) != 0; } void SetIsObsolete() { - // TODO We should really support redefining intrinsic if possible. - DCHECK(!IsIntrinsic()); AddAccessFlags(kAccObsoleteMethod); } |