Reduce meta-data object sizes, introduce meta-data helper classes.
Change-Id: Id14ad218f1c74c659701352fdf1a45bf6444daa3
diff --git a/src/stack.h b/src/stack.h
index a0f13d3..eee1d56 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -17,6 +17,7 @@
#ifndef ART_SRC_STACK_H_
#define ART_SRC_STACK_H_
+#include "dex_file.h"
#include "jni.h"
#include "macros.h"
@@ -54,7 +55,11 @@
uintptr_t LoadCalleeSave(int num) const;
- uint32_t GetVReg(Method* method, int vreg) const;
+
+ uint32_t GetVReg(const DexFile::CodeItem* code_item, uint32_t core_spills, uint32_t fp_spills,
+ size_t frame_size, int vreg) const;
+
+ uintptr_t GetVReg(Method* m, int vreg) const;
void SetVReg(Method* method, int vreg, uint32_t new_value);
Method** GetSP() const {