diff options
author | 2015-07-08 16:58:07 +0000 | |
---|---|---|
committer | 2015-07-08 16:58:07 +0000 | |
commit | efe374d7c25c1d48945a9198d96469de99e0c1bd (patch) | |
tree | 5bcba0fdbdb056c1d33c5a33c581192bdf26d315 /compiler/optimizing/builder.h | |
parent | 8f8ee680bec71a28d9d7b7538e8c7ca100a18184 (diff) |
Revert "ART: Ignore try blocks with no throwing instructions"
Turns out monitor-exit *can* throw... Need to investigate
This reverts commit 8f8ee680bec71a28d9d7b7538e8c7ca100a18184.
Change-Id: I8b42690918833c917b6a7fc3ceea932b7c1a6f15
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 7098eb86a5..e487255ac4 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -98,6 +98,9 @@ class HGraphBuilder : public ValueObject { HBasicBlock* FindBlockStartingAt(int32_t dex_pc) const; HBasicBlock* FindOrCreateBlockStartingAt(int32_t dex_pc); + // Returns whether the dex_pc of `block` lies within the given range. + bool IsBlockInPcRange(HBasicBlock* block, uint32_t dex_pc_start, uint32_t dex_pc_end); + // Adds new blocks to `branch_targets_` starting at the limits of TryItems and // their exception handlers. void CreateBlocksForTryCatch(const DexFile::CodeItem& code_item); |