| Index: src/compiler/arm64/instruction-selector-arm64.cc
|
| diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc
|
| index e659c9b5214a9178a5e7d1c48b62ca332afc4a97..d5cfdbe8fdf29ef4e82bda256a072a79ab750f0b 100644
|
| --- a/src/compiler/arm64/instruction-selector-arm64.cc
|
| +++ b/src/compiler/arm64/instruction-selector-arm64.cc
|
| @@ -525,6 +525,10 @@ static void VisitWordCompare(InstructionSelector* selector, Node* node,
|
|
|
| void InstructionSelector::VisitWord32Test(Node* node, FlagsContinuation* cont) {
|
| switch (node->opcode()) {
|
| + case IrOpcode::kInt32Add:
|
| + return VisitWordCompare(this, node, kArm64Cmn32, cont, true);
|
| + case IrOpcode::kInt32Sub:
|
| + return VisitWordCompare(this, node, kArm64Cmp32, cont, false);
|
| case IrOpcode::kWord32And:
|
| return VisitWordCompare(this, node, kArm64Tst32, cont, true);
|
| default:
|
|
|