From ccc60264229ac96d798528d2cb7dbbdd0deca993 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 4 Jul 2014 18:02:38 -0700 Subject: ART: Rework TargetReg(symbolic_reg, wide) Make the standard implementation in Mir2Lir and the specialized one in the x86 backend return a pair when wide = "true". Introduce WideKind enumeration to improve code readability. Simplify generic code based on this implementation. Change-Id: I670d45aa2572eedfdc77ac763e6486c83f8e26b4 --- compiler/dex/compiler_enums.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'compiler/dex/compiler_enums.h') diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h index bdedadbcf8..69adb35766 100644 --- a/compiler/dex/compiler_enums.h +++ b/compiler/dex/compiler_enums.h @@ -548,6 +548,14 @@ enum VolatileKind { std::ostream& operator<<(std::ostream& os, const VolatileKind& kind); +enum WideKind { + kNotWide, // Non-wide view + kWide, // Wide view + kRef // Ref width +}; + +std::ostream& operator<<(std::ostream& os, const WideKind& kind); + } // namespace art #endif // ART_COMPILER_DEX_COMPILER_ENUMS_H_ -- cgit v1.2.3-59-g8ed1b