mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 14:32:49 +00:00
[lint] Fix il_arm.cc.
TEST=CQ Change-Id: I94c3ac70e7595ec6191dbba9b3502cefe57a04d9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200821 Reviewed-by: Clement Skau <cskau@google.com> Commit-Queue: Clement Skau <cskau@google.com>
This commit is contained in:
parent
7817468526
commit
c3ba9ac204
|
@ -6438,12 +6438,13 @@ void CheckArrayBoundInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|||
__ b(deopt, CS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static bool CanBePairOfImmediateOperands(Value* value,
|
||||
compiler::Operand* low,
|
||||
compiler::Operand* high) {
|
||||
int64_t imm;
|
||||
if (value->BindsToConstant() && compiler::HasIntegerValue(value->BoundConstant(), &imm)) {
|
||||
if (value->BindsToConstant() &&
|
||||
compiler::HasIntegerValue(value->BoundConstant(), &imm)) {
|
||||
return compiler::Operand::CanHold(Utils::Low32Bits(imm), low) &&
|
||||
compiler::Operand::CanHold(Utils::High32Bits(imm), high);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue