Fix assert.

This commit is contained in:
Ben Vanik 2015-05-30 18:04:31 -07:00
parent c4ef5d4eb8
commit c97b462d8d
1 changed files with 1 additions and 1 deletions

View File

@ -1643,7 +1643,7 @@ Value* HIRBuilder::Not(Value* value) {
} }
Value* HIRBuilder::Shl(Value* value1, Value* value2) { Value* HIRBuilder::Shl(Value* value1, Value* value2) {
ASSERT_INTEGER_TYPE(value1); ASSERT_NON_FLOAT_TYPE(value1);
ASSERT_INTEGER_TYPE(value2); ASSERT_INTEGER_TYPE(value2);
// NOTE AND value2 with 0x3F for 64bit, 0x1F for 32bit, etc.. // NOTE AND value2 with 0x3F for 64bit, 0x1F for 32bit, etc..