summaryrefslogtreecommitdiffstats
path: root/compiler/dex/reg_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/dex/reg_storage.h')
-rw-r--r--compiler/dex/reg_storage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/dex/reg_storage.h b/compiler/dex/reg_storage.h
index 979f516168..3387c50e28 100644
--- a/compiler/dex/reg_storage.h
+++ b/compiler/dex/reg_storage.h
@@ -137,6 +137,10 @@ class RegStorage {
return ((reg_ & k64BitMask) == k64Bits);
}
+ bool Is64BitSolo() const {
+ return ((reg_ & kShapeMask) == k64BitSolo);
+ }
+
bool IsPair() const {
return ((reg_ & kShapeMask) == k64BitPair);
}