summaryrefslogtreecommitdiffstats
path: root/runtime/asm_support.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-01-07 08:58:46 -0800
committerIan Rogers <irogers@google.com>2014-01-08 09:15:46 -0800
commit5ddb4104ac605d66693b55b79f26f8b8a5505e63 (patch)
tree9231f1e54e9a1aaca640c590d5b4f318720e263b /runtime/asm_support.h
parent5a2ced515a456f15dcf194843c024e835eda7dbe (diff)
downloadart-5ddb4104ac605d66693b55b79f26f8b8a5505e63.zip
art-5ddb4104ac605d66693b55b79f26f8b8a5505e63.tar.gz
art-5ddb4104ac605d66693b55b79f26f8b8a5505e63.tar.bz2
Remove intialized static storage from dex cache.
The initialized static storage array is used by compiled code to determine if for a sget/sput class initialization is necessary. The compiled code typically doesn't require this test as the class is pre-initialized or the class being accessed is the same as the current method. Change-Id: Icbc45e692b3d0ac61e559e69edb6c9b29439e571
Diffstat (limited to 'runtime/asm_support.h')
-rw-r--r--runtime/asm_support.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/asm_support.h b/runtime/asm_support.h
index e9bbf91..06c7b53 100644
--- a/runtime/asm_support.h
+++ b/runtime/asm_support.h
@@ -39,7 +39,7 @@
#define STRING_DATA_OFFSET 12
// Offsets within java.lang.Method.
-#define METHOD_DEX_CACHE_METHODS_OFFSET 16
-#define METHOD_CODE_OFFSET 40
+#define METHOD_DEX_CACHE_METHODS_OFFSET 12
+#define METHOD_CODE_OFFSET 36
#endif // ART_RUNTIME_ASM_SUPPORT_H_