Just in case.

This commit is contained in:
gibbed 2015-05-12 06:50:53 -05:00
parent fc9f9d9a60
commit ff2c00e220
1 changed files with 1 additions and 0 deletions

View File

@ -1789,6 +1789,7 @@ Value* HIRBuilder::CountLeadingZeros(Value* value) {
const static uint8_t zeros[] = {
8, 16, 32, 64,
};
assert_true(value->type <= INT64_TYPE);
return LoadConstant(zeros[value->type]);
}