Exception Handling: libdex integration. Also added unit test on exception.
Runtime processing of TryItem and CatchHandler. Added iterator.
Next step: Exception Handling: RT integration. Implement throw and
unwind.
Change-Id: Idf88ce83e37b004016f1eca2c621e5a86948fe91
diff --git a/src/object.h b/src/object.h
index e071b97..63f5b16 100644
--- a/src/object.h
+++ b/src/object.h
@@ -5,6 +5,7 @@
#include "constants.h"
#include "casts.h"
+#include "dex_file.h"
#include "globals.h"
#include "heap.h"
#include "logging.h"
@@ -512,12 +513,12 @@
// Method prototype descriptor string (return and argument types).
uint32_t proto_idx_;
+ // Offset to the CodeItem.
+ uint32_t code_off_;
+
// The short-form method descriptor string.
StringPiece shorty_;
- // A pointer to the memory-mapped DEX code.
- const uint16_t* insns_;
-
private:
// Compiled code associated with this method
const void* code_;