summaryrefslogtreecommitdiffstats
path: root/compiler/dex/compiler_enums.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-06-06 14:50:36 +0100
committerVladimir Marko <vmarko@google.com>2014-06-12 18:25:00 +0100
commit8dea81ca9c0201ceaa88086b927a5838a06a3e69 (patch)
tree6a074462c1c13d23aa21cef3f4d2d1a7a880de32 /compiler/dex/compiler_enums.h
parent3e1e549c564045d852ace46388eb06427d63e6ca (diff)
downloadandroid_art-8dea81ca9c0201ceaa88086b927a5838a06a3e69.tar.gz
android_art-8dea81ca9c0201ceaa88086b927a5838a06a3e69.tar.bz2
android_art-8dea81ca9c0201ceaa88086b927a5838a06a3e69.zip
Rewrite use/def masks to support 128 bits.
Reduce LIR memory usage by holding masks by pointers in the LIR rather than directly and using pre-defined const masks for the common cases, allocating very few on the arena. Change-Id: I0f6d27ef6867acd157184c8c74f9612cebfe6c16
Diffstat (limited to 'compiler/dex/compiler_enums.h')
-rw-r--r--compiler/dex/compiler_enums.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h
index f0b47878e6..55a4c7815e 100644
--- a/compiler/dex/compiler_enums.h
+++ b/compiler/dex/compiler_enums.h
@@ -82,22 +82,6 @@ enum BBType {
kDead,
};
-/*
- * Def/Use encoding in 64-bit use_mask/def_mask. Low positions used for target-specific
- * registers (and typically use the register number as the position). High positions
- * reserved for common and abstract resources.
- */
-
-enum ResourceEncodingPos {
- kMustNotAlias = 63,
- kHeapRef = 62, // Default memory reference type.
- kLiteral = 61, // Literal pool memory reference.
- kDalvikReg = 60, // Dalvik v_reg memory reference.
- kFPStatus = 59,
- kCCode = 58,
- kLowestCommonResource = kCCode
-};
-
// Shared pseudo opcodes - must be < 0.
enum LIRPseudoOpcode {
kPseudoExportedPC = -16,