summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimization.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-11-28 16:05:09 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2024-11-29 09:16:24 +0000
commitf324f3ffe175d8f063bdf8a2f205171261e9443a (patch)
tree3f5b2b90d9afe8cffc365c8c8f876b53f54f3541 /compiler/optimizing/optimization.cc
parenta24e2c255173070c5e354f501bc28e4c7e8d77da (diff)
verifier: Fill merge table for `Constant{Lo,Hi}`.
The code for these cases was removed in the https://android-review.googlesource.com/3342468 rewrite because it became an unnecessary run-time check since `RegType::Merge()` is never called with such kinds, see the `DCHECK()` at the start. Now that this code is used at compile time for generating a pre-compiled table, we can fill these unused entries with no run-time cost. The `RegisterLine::MergeRegister()` could be reimplemented in a way that would actually use these entries. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I482a3ae9756f576561a86f256d63f84537ea4fc5
Diffstat (limited to 'compiler/optimizing/optimization.cc')
0 files changed, 0 insertions, 0 deletions