diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-01-21 12:32:32 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-01-21 18:50:25 +0000 |
commit | 988939683c26c0b1c8808fc206add6337319509a (patch) | |
tree | 876e94428276547a29c27ccf17509a42dfe7cda1 /runtime/check_reference_map_visitor.h | |
parent | 59add47cabce3735ccd470cd3b5dac8b112e09ab (diff) | |
download | android_art-988939683c26c0b1c8808fc206add6337319509a.tar.gz android_art-988939683c26c0b1c8808fc206add6337319509a.tar.bz2 android_art-988939683c26c0b1c8808fc206add6337319509a.zip |
Enable core callee-save on x64.
Will work on other architectures and FP support in other CLs.
Change-Id: I8cef0343eedc7202d206f5217fdf0349035f0e4d
Diffstat (limited to 'runtime/check_reference_map_visitor.h')
-rw-r--r-- | runtime/check_reference_map_visitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/check_reference_map_visitor.h b/runtime/check_reference_map_visitor.h index 4fe3852cbc..93062a7c4b 100644 --- a/runtime/check_reference_map_visitor.h +++ b/runtime/check_reference_map_visitor.h @@ -82,7 +82,7 @@ class CheckReferenceMapVisitor : public StackVisitor { CHECK(stack_mask.LoadBit(dex_register_map.GetValue(reg) >> 2)); break; case DexRegisterMap::kInRegister: - CHECK_NE(register_mask & dex_register_map.GetValue(reg), 0u); + CHECK_NE(register_mask & (1 << dex_register_map.GetValue(reg)), 0u); break; case DexRegisterMap::kInFpuRegister: // In Fpu register, should not be a reference. |