diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2020-01-25 13:08:24 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2020-01-25 13:08:24 +0000 |
commit | c1cd1330c65e8b9b13bcd93bd9634eed6453c5dc (patch) | |
tree | 4fe4f02f8107e761f246745259260356a3bac12f /compiler/optimizing | |
parent | 08a1d1ba90c69e4b39f2df90eacee2c5413f8b4e (diff) |
Fix braino in arm64 codegen.
Pointers are 64bit there...
Bug: 148303458
Test: 597-deopt-busy-loop
Change-Id: Iee003f883665e4a668068b8e056380abc2f5fab4
Diffstat (limited to 'compiler/optimizing')
-rw-r--r-- | compiler/optimizing/code_generator_arm64.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_arm64.cc b/compiler/optimizing/code_generator_arm64.cc index 5ef7404c55..7d1b0ea6dd 100644 --- a/compiler/optimizing/code_generator_arm64.cc +++ b/compiler/optimizing/code_generator_arm64.cc @@ -1081,7 +1081,7 @@ void CodeGeneratorARM64::MaybeIncrementHotness(bool is_frame_entry) { ScopedObjectAccess soa(Thread::Current()); ProfilingInfo* info = GetGraph()->GetArtMethod()->GetProfilingInfo(kRuntimePointerSize); if (info != nullptr) { - uint32_t address = reinterpret_cast32<uint32_t>(info); + uint64_t address = reinterpret_cast64<uint64_t>(info); vixl::aarch64::Label done; UseScratchRegisterScope temps(masm); Register temp = temps.AcquireX(); |