Commit 4cb97b59 authored by swift_gan's avatar swift_gan

remove useless code

parent 72619142
......@@ -54,12 +54,8 @@ bool ArtMethod::isStatic() {
}
bool ArtMethod::isCompiled() {
if (SDK_INT >= ANDROID_Q) {
return getQuickCodeEntry() != CastArtMethod::quickToInterpreterBridge;
} else {
return getQuickCodeEntry() != CastArtMethod::quickToInterpreterBridge &&
getQuickCodeEntry() != CastArtMethod::genericJniStub;
}
return getQuickCodeEntry() != CastArtMethod::quickToInterpreterBridge &&
getQuickCodeEntry() != CastArtMethod::genericJniStub;
}
bool ArtMethod::isThumbCode() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment