diff options
| author | 2016-08-03 17:03:25 +0000 | |
|---|---|---|
| committer | 2016-08-03 17:03:25 +0000 | |
| commit | 399e332bd4b0d9927601ff673071c336f5b5cc11 (patch) | |
| tree | ed74110c5fda31042db98b559d6a4b4b20d4a883 | |
| parent | ae9408f46a6a0bc2bf82611da67fc7256de1f5f4 (diff) | |
| parent | a7426c6a9ceeec193f6d886df7d0dcb3018f919d (diff) | |
Merge "Fix an assertion in the non-Baker read barrier ARM64 slow path."
| -rw-r--r-- | compiler/optimizing/code_generator_arm64.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/optimizing/code_generator_arm64.cc b/compiler/optimizing/code_generator_arm64.cc index 115cee6492..1d737346ec 100644 --- a/compiler/optimizing/code_generator_arm64.cc +++ b/compiler/optimizing/code_generator_arm64.cc @@ -751,10 +751,7 @@ class ReadBarrierForHeapReferenceSlowPathARM64 : public SlowPathCodeARM64 { (instruction_->AsInvoke()->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile)) << instruction_->AsInvoke()->GetIntrinsic(); DCHECK_EQ(offset_, 0U); - DCHECK(index_.IsRegisterPair()); - // UnsafeGet's offset location is a register pair, the low - // part contains the correct offset. - index = index_.ToLow(); + DCHECK(index_.IsRegister()); } } |