| Index: src/typing-asm.cc
|
| diff --git a/src/typing-asm.cc b/src/typing-asm.cc
|
| index b74816f9011292b099262bebc81faa02a87b5f8f..1160273fe260499c408335e9866add949344178b 100644
|
| --- a/src/typing-asm.cc
|
| +++ b/src/typing-asm.cc
|
| @@ -1113,7 +1113,7 @@ void AsmTyper::VisitIntegerBitwiseOperator(BinaryOperation* expr,
|
| right_type = left_type;
|
| }
|
| if (!conversion) {
|
| - if (!left_type->Is(right_type) || !right_type->Is(left_type)) {
|
| + if (!left_type->Is(cache_.kAsmInt) || !right_type->Is(cache_.kAsmInt)) {
|
| FAIL(expr, "ill-typed bitwise operation");
|
| }
|
| }
|
|
|