Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 762d1a707f4809627a237fbf7dfa497d78436049..7f9310a7c1c16014cb65004be721c7df8b4f29a2 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -3796,6 +3796,13 @@ void LCodeGen::DoMathLog(LMathLog* instr) { |
} |
+void LCodeGen::DoMathClz32(LMathClz32* instr) { |
+ Register input = ToRegister(instr->value()); |
+ Register result = ToRegister(instr->result()); |
+ __ Clz(result, input); |
+} |
+ |
+ |
void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) { |
ASSERT(ToRegister(instr->context()).is(cp)); |
ASSERT(ToRegister(instr->function()).is(a1)); |