commit | 0db16e00e3927445585a588499731c58c1ae1bef | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Nov 08 14:32:33 2017 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Wed Nov 08 14:50:56 2017 +0000 |
tree | 9d151a03534703642d20cd2265260ff13c7592a4 | |
parent | a3c21d9c0552a04dfa69817b991b8e902cd0d6d6 [diff] |
Use strcmp() for checking @{Fast,Critical}Native annotations. Instead of looking up the descriptor in boot class path loader (where @{Fast,Critical}Native are guaranteed to be already resolved) and then checking if it's the @{Fast,Critical}Native annotation, just check the descriptor with strcmp(). Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 65574695 Change-Id: I765590d039981d169fb3c606b6166580a84303b6