summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler_stats.h
diff options
context:
space:
mode:
author Alan Stokes <alanstokes@google.com> 2021-10-11 11:21:06 +0100
committer Alan Stokes <alanstokes@google.com> 2021-10-11 14:25:16 +0000
commit2fc400421d6c1c16142338a70b091676730822e4 (patch)
tree4327108eeb6e846389a42d996980e08ff10bd4c5 /compiler/optimizing/optimizing_compiler_stats.h
parentd95a1f2ecf322d21ae98bfb7affe0070ddb9bc08 (diff)
Use cid=0 to mean not specified
We're using -1 (VMADDR_CID_ANY) as a special value to mean "use composd rather than directly connecting to a specific CID". So we can't also use it to mean "no CID was specified, run dex2oat directly". The value 0 is never valid as a CID, since it's reserved as VMADDR_CID_HYPERVISOR. Eventually the CID parameter can just go away, and we'll have a boolean for use composd in a VM / normal no VM. Bug: 202696349 Test: atest ComposTestCase Test: adb shell apex/com.android.compos/bin/composd_cmd Test: Manually verify compilation runs in the VM. Change-Id: I11a4814481576a62294701ed2bb2f75808a4ef71
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
0 files changed, 0 insertions, 0 deletions