diff options
author | 2015-03-31 14:33:40 +0000 | |
---|---|---|
committer | 2015-03-31 14:33:40 +0000 | |
commit | ebbb1e322d8c89e69424a543faa03402e5b63673 (patch) | |
tree | c03c84e737c5e5603b84d7b32ee344611aa7d5b1 /compiler/optimizing/stack_map_test.cc | |
parent | 5942d57ed5f727d357787aedc089e51aed8eaefa (diff) | |
parent | 896f8f7fe562f6e59119cb32531da9f0a5f13d18 (diff) |
Merge "Use variable encoding for StackMap."
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
-rw-r--r-- | compiler/optimizing/stack_map_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/optimizing/stack_map_test.cc b/compiler/optimizing/stack_map_test.cc index b9bf0165f3..8d160bc81e 100644 --- a/compiler/optimizing/stack_map_test.cc +++ b/compiler/optimizing/stack_map_test.cc @@ -401,9 +401,8 @@ TEST(StackMapTest, DexRegisterMapOffsetOverflow) { // ...the offset of the second Dex register map (relative to the // beginning of the Dex register maps region) is 255 (i.e., // kNoDexRegisterMapSmallEncoding). - ASSERT_NE(StackMap::kNoDexRegisterMap, stack_map1.GetDexRegisterMapOffset(code_info)); - ASSERT_EQ(StackMap::kNoDexRegisterMapSmallEncoding, - stack_map1.GetDexRegisterMapOffset(code_info)); + ASSERT_NE(stack_map1.GetDexRegisterMapOffset(code_info), StackMap::kNoDexRegisterMap); + ASSERT_EQ(stack_map1.GetDexRegisterMapOffset(code_info), 0xFFu); } TEST(StackMapTest, TestShareDexRegisterMap) { |