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 edef43837b3fe264c646b7da37fe99b61e04904e..97099e2253702cc91aacf0335c6015b355eb99b8 100644 |
--- a/src/compiler/arm64/instruction-selector-arm64.cc |
+++ b/src/compiler/arm64/instruction-selector-arm64.cc |
@@ -738,6 +738,12 @@ void InstructionSelector::VisitWord64Ror(Node* node) { |
} |
+void InstructionSelector::VisitWord32Clz(Node* node) { |
+ Arm64OperandGenerator g(this); |
+ Emit(kArm64Clz32, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitInt32Add(Node* node) { |
Arm64OperandGenerator g(this); |
Int32BinopMatcher m(node); |