summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-10-29 22:47:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-10-29 22:47:59 +0000
commitd13f2b35546d421f570c64654ad8479caf1165d6 (patch)
tree535c21c9a181b87d15839151b26f65266c418a9f /compiler/optimizing/nodes.cc
parent8cb0bc28b1161dad0d2c2c1e75318b7e504faa46 (diff)
parent771e5cc519665ce0cc76985bb4803f0dd50c3b40 (diff)
Merge "Revert "ART: Enable more passes under try/catch""
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index f825e50fe1..8b28ff91d4 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -1140,14 +1140,6 @@ std::ostream& operator<<(std::ostream& os, const HInstruction::InstructionKind&
}
void HInstruction::MoveBefore(HInstruction* cursor) {
- if (kIsDebugBuild && CanThrowIntoCatchBlock()) {
- // Make sure we are not moving a throwing instruction out of its try block.
- DCHECK(cursor->GetBlock()->IsTryBlock());
- const HTryBoundary& current_try = block_->GetTryCatchInformation()->GetTryEntry();
- const HTryBoundary& cursor_try = cursor->GetBlock()->GetTryCatchInformation()->GetTryEntry();
- DCHECK(cursor_try.HasSameExceptionHandlersAs(current_try));
- }
-
next_->previous_ = previous_;
if (previous_ != nullptr) {
previous_->next_ = next_;