diff options
| author | 2020-02-10 14:29:45 +0000 | |
|---|---|---|
| committer | 2020-02-10 16:40:02 +0000 | |
| commit | 18dc023800c1c3f751bb5a11208d176a6d9a7c78 (patch) | |
| tree | 1acde77854f4bd510970167bae4570f65b5a1df3 /compiler/optimizing/code_generator.cc | |
| parent | 8c8f148bdde5eeb799dd802d861149b3e0f538c5 (diff) | |
Remove obsolete CHECKs for image dex file location.
These checks are not valid for --single-image extensions or
for extensions after boot class path components without
corresponding images. Instead of updating these checks,
rely on the checks done by the ImageSpace::LoadBootImage().
Test: aosp_taimen-userdebug boots when built with
      `DEXPREOPT_USE_ART_IMAGE=true`. Then
      adb root && \
      adb shell setprop persist.sys.dalvik.vm.lib.2 libartd.so && \
      adb reboot  # Starts correctly.
Test: adb root && \
      adb shell stop && \
      adb shell setprop dalvik.vm.boot-image \
          'boot.art:/nonx/boot-framework.art!/system/etc/boot-image.prof' &&
      adb shell start  # Starts correctly; no tombstones.
Bug: 119800099
Change-Id: Id6615a8ac6b423c5f0784f3c0f621bcc016073b7
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions