Revert "Fix profile saver hotness for AOT code"
This reverts commit 4cb48c1bd359bee98a1a4c0cff475d76a3b5483a.
Bug: 139883463
Reason for revert: Test fails on target.
Change-Id: I1b3a7aec961b212d92e457d52da6ab921044f491
diff --git a/runtime/jit/jit.h b/runtime/jit/jit.h
index 59861c5..13a9c7b 100644
--- a/runtime/jit/jit.h
+++ b/runtime/jit/jit.h
@@ -124,6 +124,10 @@
profile_saver_options_.SetWaitForJitNotificationsToSave(value);
}
+ void SetProfileAOTCode(bool value) {
+ profile_saver_options_.SetProfileAOTCode(value);
+ }
+
void SetJitAtFirstUse() {
use_jit_compilation_ = true;
compile_threshold_ = 0;