diff options
| author | 2011-08-04 19:26:11 -0700 | |
|---|---|---|
| committer | 2011-08-04 19:26:11 -0700 | |
| commit | 2eaa968bcd171248c50cea0bbe2c5cfdf9aabb80 (patch) | |
| tree | 7ef7d3b80de37e18b3c5f59ef1db1293b949d77c | |
| parent | 8860c0e8491a27aa03b55f2417478fb3629611d6 (diff) | |
Add a dex structure definition to support exception handling.
Change-Id: I586773e1526c6ade46a74251cb838cab74d7de7a
| -rw-r--r-- | src/dex_file.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dex_file.h b/src/dex_file.h index b4c6c470d9..014bd6e018 100644 --- a/src/dex_file.h +++ b/src/dex_file.h @@ -183,6 +183,13 @@ class DexFile { uint16_t insns_[1]; }; + // Raw try_item. + struct TryItem { + uint32_t start_addr_; + uint16_t insn_count_; + uint16_t handler_off_; + }; + // Partially decoded form of class_data_item. struct ClassDataHeader { uint32_t static_fields_size_; // the number of static fields |