mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:10:22 +00:00
[gardening] Fix debug build for ARM64C.
4-byte ldar zero extends, so can just use kObjectBytes here. TEST=ci Change-Id: I3b3aa792350100fd24c474c85d8ea1613c9f197b Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm64c-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/273242 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
This commit is contained in:
parent
ddbc111067
commit
5fd3d4b810
1 changed files with 2 additions and 4 deletions
|
@ -599,10 +599,8 @@ class Assembler : public AssemblerBase {
|
|||
AddImmediate(TMP2, address, offset);
|
||||
src = TMP2;
|
||||
}
|
||||
#if !defined(DART_COMPRESSED_POINTERS)
|
||||
ldar(dst, src);
|
||||
#else
|
||||
ldar(dst, src, kUnsignedFourBytes); // Zero-extension.
|
||||
ldar(dst, src, kObjectBytes); // ldar does zero extension for 4 bytes.
|
||||
#if defined(DART_COMPRESSED_POINTERS)
|
||||
add(dst, dst, Operand(HEAP_BITS, LSL, 32));
|
||||
#endif
|
||||
#if defined(USING_THREAD_SANITIZER)
|
||||
|
|
Loading…
Reference in a new issue