diff options
author | 2015-08-19 17:12:48 +0000 | |
---|---|---|
committer | 2015-08-19 17:12:48 +0000 | |
commit | a35d4c9d66b372e7ae1014357c48ddfa6104085b (patch) | |
tree | 8f3c9cefb4c9ed12749713ef1f52708ef6d5d455 /compiler/optimizing/builder.cc | |
parent | f25f4f95863946053cae46e34fd175cc7a6c3ea5 (diff) | |
parent | ec16f79a4d0aeff319bf52139a0c82de3080d73c (diff) |
Merge "ART: Refactor try/catch block info, store exception type"
Diffstat (limited to 'compiler/optimizing/builder.cc')
-rw-r--r-- | compiler/optimizing/builder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index 88414980b8..c4ead5b038 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -306,7 +306,8 @@ void HGraphBuilder::CreateBlocksForTryCatch(const DexFile::CodeItem& code_item) for (; iterator.HasNext(); iterator.Next()) { uint32_t address = iterator.GetHandlerAddress(); HBasicBlock* block = FindOrCreateBlockStartingAt(address); - block->SetIsCatchBlock(); + block->SetTryCatchInformation( + new (arena_) TryCatchInformation(iterator.GetHandlerTypeIndex(), *dex_file_)); } handlers_ptr = iterator.EndDataPointer(); } |