Index: src/compiler/mips/instruction-selector-mips.cc |
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc |
index 3c647ed6a1355782238ccbaa612e8c1a09113bc2..1980664701fd498b3be144c891e7414999226a30 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -265,6 +265,12 @@ void InstructionSelector::VisitWord32Ror(Node* node) { |
} |
+void InstructionSelector::VisitWord32Clz(Node* node) { |
+ MipsOperandGenerator g(this); |
+ Emit(kMipsClz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitInt32Add(Node* node) { |
MipsOperandGenerator g(this); |