diff options
| author | 2023-04-26 12:56:36 +0000 | |
|---|---|---|
| committer | 2023-05-11 10:30:46 +0000 | |
| commit | 36c3fe707785bf128faa83d222dd8d06dc8482db (patch) | |
| tree | 4a4fe1e797b5b91d327361380e29240ff9bdd262 /compiler/optimizing/optimizing_unit_test.h | |
| parent | a2e63c3da3dad6358c45670b2128b59255ee6ccf (diff) | |
Reland "Don't enable intrinsic optimizations in debuggable runtime""
This reverts commit b5fcab944b3786f27ab6b698685109bfc7f785fd.
Reason for revert: test/988 is a CTS test and we shouldn't modify the
Main to do any real work other than calling run. Also there's no way to
call ensureJitCompiled from atests, so restoring 988 to original and
adding another test for testing JIT tracing
Bug: 279547861
Test: test.py -t 988, 2263
(cherry picked from https://android-review.googlesource.com/q/commit:d60aff547dedefc35265ce57707d406e8ccc4dc6)
Merged-In: I0908c29996a550b93ba6c38f99460ff0d51a2964
Change-Id: I0908c29996a550b93ba6c38f99460ff0d51a2964
Cherrypicking a change to fix a regression when reporting method tracing events for intrinsics. This should only impact debuggable apps.
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
| -rw-r--r-- | compiler/optimizing/optimizing_unit_test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_unit_test.h b/compiler/optimizing/optimizing_unit_test.h index f18ffc7f83..2e05c41f01 100644 --- a/compiler/optimizing/optimizing_unit_test.h +++ b/compiler/optimizing/optimizing_unit_test.h @@ -461,7 +461,8 @@ class OptimizingUnitTestHelper { HInvokeStaticOrDirect::DispatchInfo{}, InvokeType::kStatic, /* resolved_method_reference= */ method_reference, - HInvokeStaticOrDirect::ClinitCheckRequirement::kNone); + HInvokeStaticOrDirect::ClinitCheckRequirement::kNone, + !graph_->IsDebuggable()); for (auto [ins, idx] : ZipCount(MakeIterationRange(args))) { res->SetRawInputAt(idx, ins); } |