diff options
author | Mathieu Chartier <mathieuc@google.com> | 2018-04-09 14:25:14 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2018-04-09 18:52:56 -0700 |
commit | 4a265c21860177839d503d0629dae3d343f352d9 (patch) | |
tree | 08c33194698cfe9311a0bbb1376e9c7802f9b5e6 /compiler/optimizing/codegen_test_utils.h | |
parent | 3a67727fb485087b92e63a05ac294c1d2595cd01 (diff) |
Don't pass empty profile to OatWriter
Doing so causes dexlayout to run and unnecessarily increases dex2oat
time. This change passes null if the profile is empty to fix this.
Bug: 77719042
Test: test-art-host
(cherry picked from commit cc2cd98c21f77c8ae368988d380827811be2dc9d)
Merged-In: Id663d2cbf32dae57f0b562a1f5263293869727d7
Change-Id: I4599f4784c7d2ac3f5e759249226ca9d155efc31
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions