diff options
| author | 2015-10-29 22:53:53 +0000 | |
|---|---|---|
| committer | 2015-10-29 22:53:53 +0000 | |
| commit | 08dd6bd5a7e40404e68754d30e9395f25344b432 (patch) | |
| tree | 535c21c9a181b87d15839151b26f65266c418a9f /compiler/optimizing/nodes.cc | |
| parent | c7534d1f650a9179e204c16a2ac5b16f7257cd5c (diff) | |
| parent | d13f2b35546d421f570c64654ad8479caf1165d6 (diff) | |
Merge "Revert "ART: Enable more passes under try/catch""
am: d13f2b3554
* commit 'd13f2b35546d421f570c64654ad8479caf1165d6':
Revert "ART: Enable more passes under try/catch"
Diffstat (limited to 'compiler/optimizing/nodes.cc')
| -rw-r--r-- | compiler/optimizing/nodes.cc | 8 |
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_; |