diff options
author | 2018-01-25 12:39:50 +0000 | |
---|---|---|
committer | 2018-01-25 12:39:50 +0000 | |
commit | 83047434e9068afc4114e763a6fbdabeb84ead9b (patch) | |
tree | 7ea791b513fa0e7fce7d2edad1ba5aad54918a64 /compiler/optimizing | |
parent | 8dc11b7951ebb0c8cf3166c0835dcbcbafc01c2b (diff) | |
parent | 0be8cabf16ee5fa5186bc90471911336f6c01f19 (diff) |
Merge "Revert "ART: Use the bitstring type check for AOT app compilation.""
Diffstat (limited to 'compiler/optimizing')
-rw-r--r-- | compiler/optimizing/sharpening.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/sharpening.cc b/compiler/optimizing/sharpening.cc index 12319df2e8..dffef17587 100644 --- a/compiler/optimizing/sharpening.cc +++ b/compiler/optimizing/sharpening.cc @@ -253,9 +253,9 @@ static inline bool CanUseTypeCheckBitstring(ObjPtr<mirror::Class> klass, // If the target is a boot image class, try to assign a type check bitstring (fall through). // (If --force-determinism, this was already done; repeating is OK and yields the same result.) } else { - // For AOT app compilation we can use the bitstring iff the target class is - // a boot image class with a bitstring already assigned in the boot image. - return compiler_driver->IsBootImageClassWithAssignedBitstring(klass); + // TODO: Use the bitstring also for AOT app compilation if the target class has a bitstring + // already assigned in the boot image. + return false; } // Try to assign a type check bitstring. |