diff options
| author | 2025-02-07 07:31:01 -0800 | |
|---|---|---|
| committer | 2025-02-07 07:31:01 -0800 | |
| commit | 559933c0582a597931c310ad1a8435c44e1fc69b (patch) | |
| tree | 98e871f5de2416109316eb25076380ed80638beb /dex2oat/dex2oat_test.cc | |
| parent | 48844ae31df6a933d0e27049bdd9285d803ace40 (diff) | |
| parent | f850690a901c01d95210e3ecf66aa7255206aafc (diff) | |
Use `ClassAccessor::GetViewDescriptor()` more. am: f850690a90
Original change: https://android-review.googlesource.com/c/platform/art/+/3482770
Change-Id: Iaae258cedc6165c0e166b1c765f27029c8c2ed00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'dex2oat/dex2oat_test.cc')
| -rw-r--r-- | dex2oat/dex2oat_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat_test.cc b/dex2oat/dex2oat_test.cc index 7013bbce0c..9d837cbf67 100644 --- a/dex2oat/dex2oat_test.cc +++ b/dex2oat/dex2oat_test.cc @@ -1797,7 +1797,7 @@ TEST_F(Dex2oatTest, AppImageResolveStrings) { bool mutated_successfully = false; // Change the dex instructions to make an opcode that spans past the end of the code item. for (ClassAccessor accessor : dex->GetClasses()) { - if (accessor.GetDescriptor() == std::string("LStringLiterals$StartupClass;")) { + if (accessor.GetDescriptorView() == "LStringLiterals$StartupClass;") { classes.push_back(accessor.GetClassIdx()); } for (const ClassAccessor::Method& method : accessor.GetMethods()) { |