summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-09-15 12:34:35 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-09-15 12:34:35 +0000
commitb505997b2176bd29a108cb6c33d06d4ef29ba001 (patch)
tree05316a1837f77729f87b4fe25bfa7eb2b9e9549c /compiler/optimizing/nodes.cc
parent5c1a3374adff0d5c6c8e2248fffd7549eb3a6bae (diff)
parent77a48ae01bbc5b05ca009cf09e2fcb53e4c8ff23 (diff)
Merge "Revert "Revert "ART: Register allocation and runtime support for try/catch"""
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index 3915ac7efd..cc12a10354 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -346,16 +346,6 @@ void HGraph::ComputeTryBlockInformation() {
}
}
-bool HGraph::HasTryCatch() const {
- for (size_t i = 0, e = blocks_.Size(); i < e; ++i) {
- HBasicBlock* block = blocks_.Get(i);
- if (block != nullptr && (block->IsTryBlock() || block->IsCatchBlock())) {
- return true;
- }
- }
- return false;
-}
-
void HGraph::SimplifyCFG() {
// Simplify the CFG for future analysis, and code generation:
// (1): Split critical edges.