Index: src/a64/lithium-a64.cc |
diff --git a/src/a64/lithium-a64.cc b/src/a64/lithium-a64.cc |
index fa351e39282882426461f616b171497c1cf8b7ce..3857ca7fc352157d738927885a214bcbb23323dc 100644 |
--- a/src/a64/lithium-a64.cc |
+++ b/src/a64/lithium-a64.cc |
@@ -2377,6 +2377,12 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) { |
LOperand* input = UseRegisterAtStart(instr->value()); |
return DefineAsRegister(new(zone()) LMathSqrt(input)); |
} |
+ case kMathClz32: { |
+ ASSERT(instr->representation().IsInteger32()); |
+ ASSERT(instr->value()->representation().IsInteger32()); |
+ LOperand* input = UseRegisterAtStart(instr->value()); |
+ return DefineAsRegister(new(zone()) LMathClz32(input)); |
+ } |
default: |
UNREACHABLE(); |
return NULL; |