Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 5ff3fa07641abe92c0e912de3ed7bf04e86cfeef..f7a5a0796353ac41cd5e157b29034fed615fc919 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3868,6 +3868,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(r1)); |