summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-09-28 17:51:17 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2021-09-29 12:02:20 +0000
commit8f6b99fba2d043265a84d599a967d52f66738ad6 (patch)
treeb4f010fa47b8ae289719c8896da3c42dccb2afe4 /compiler/optimizing/nodes.h
parenta182c9302263114dcf5961e4f3850c21ff7824d5 (diff)
Revert "ART: Removes SuspendCheck for plain loops with a low trip count."
This reverts commit 3de02fb67de386368c9fe39ab5a0133afcf1d785. Reason for revert: b/201413752 Change-Id: I8a3a56cfb81fa88f49992615696260dfbc79bb67
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 94eae4d937..06fb88e837 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -675,13 +675,6 @@ class HGraph : public ArenaObject<kArenaAllocGraph> {
return cha_single_implementation_list_;
}
- // In case of OSR we intend to use SuspendChecks as an entry point to the
- // function; for debuggable graphs we might deoptimize to interpreter from
- // SuspendChecks. In these cases we shouldn't remove them.
- bool SuspendChecksAreAllowedToBeRemoved() const {
- return !IsDebuggable() && !IsCompilingOsr();
- }
-
void AddCHASingleImplementationDependency(ArtMethod* method) {
cha_single_implementation_list_.insert(method);
}