summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
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);
}