From 8dea81ca9c0201ceaa88086b927a5838a06a3e69 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 6 Jun 2014 14:50:36 +0100 Subject: 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 --- compiler/dex/compiler_enums.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'compiler/dex/compiler_enums.h') 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, -- cgit v1.2.3-59-g8ed1b