diff options
| author | 2017-05-16 09:31:37 -0700 | |
|---|---|---|
| committer | 2017-05-16 18:25:31 -0700 | |
| commit | 42ae05ad52179089674f7373b9e7de1244240b48 (patch) | |
| tree | 05f790bc369ea04f4f88c87af65d16a99b181895 /compiler/optimizing/optimizing_compiler.cc | |
| parent | 536e54a6af85127d7f17037360deb08e0a7dc4eb (diff) | |
ART: Improve RegType::IsAssignableFrom
Change the chained if-else-if to a switch by introducing an
AssignmentType enum and corresponding getter in RegType.
Reduces instruction count from 39.4B to 39.3B and branch count
from 9.6B to 9.5B when compiling a well-known large app with
the verify compiler filter.
Bug: 10921004
Test: m test-art-host
Change-Id: I2d72df78f281715015829ff555a3c4c2446c03be
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions