Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index 20276ede7e62364fb5c4f6bff3f6780007224f32..9f788a5bfa8be5d3c359ff67d0e718aedb4d03ea 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -645,6 +645,12 @@ void InstructionSelector::VisitWord32Ror(Node* node) { |
} |
+void InstructionSelector::VisitWord32Clz(Node* node) { |
+ ArmOperandGenerator g(this); |
+ Emit(kArmClz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitInt32Add(Node* node) { |
ArmOperandGenerator g(this); |
Int32BinopMatcher m(node); |