mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() This change fixes the following build errors when building Dart VM with gcc: ../../runtime/vm/compiler/assembler/assembler_arm64.h: In member function ‘uint32_t dart::compiler::Address::encoding(dart::compiler::OperandSize) const’: ../../runtime/vm/compiler/assembler/assembler_arm64.h:355:3: error: control reaches end of non-void function [-Werror=return-type] 355 | } ../../runtime/vm/compiler/assembler/assembler_arm64.cc: In member function ‘void dart::compiler::Assembler::PopNativeCalleeSavedRegisters()’: ../../runtime/vm/compiler/assembler/assembler_arm64.cc:2380:52: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] 2380 | bool pop_single = (kAbiPreservedFpuRegCount & 1) == 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~ ../../runtime/vm/compiler/assembler/assembler_arm64.cc:2400:47: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] 2400 | pop_single = (kAbiPreservedCpuRegCount & 1) == 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~ TEST=ci Change-Id: Ib44790dbe99288f569a26e4df28f61ef2aa40ea3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/260640 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
observatory | ||
observatory_2 | ||
platform | ||
tests | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
OWNERS | ||
PRESUBMIT.py | ||
runtime_args.gni |