diff options
| author | 2022-06-24 19:01:45 +0100 | |
|---|---|---|
| committer | 2022-07-04 16:25:06 +0000 | |
| commit | 6c18fbd6d4c4f516d28eb8ffafc412a1dc5b5ef8 (patch) | |
| tree | 479b3d18b7a4f24264dbecadc491a3e5f7cc3973 /runtime/quick_exception_handler.cc | |
| parent | 07c2fec6b025d5cc104ab4f210c3941528f56fd6 (diff) | |
Replace the static version of GetOptimizationStatus with a factory.
The static version of GetOptimizationStatus is not extensible. We need a
function that can be used in both `GetOptimizationStatus` and
`GetDexOptNeeded` use cases.
Also:
- Add DCHECK to GetOptimizationStatus to make sure it doesn't return
unexpected values.
Bug: 229268202
Test: m test-art-host-gtest-art_runtime_tests
Change-Id: I3c6401c9d52e0766766e3ae7ee19c62af5e35a4a
Merged-In: I71d546ec25703b7ffe3a6f20de3af1cb72f3fc19
Diffstat (limited to 'runtime/quick_exception_handler.cc')
0 files changed, 0 insertions, 0 deletions