Index: pkg/compiler/lib/src/ssa/codegen.dart |
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart |
index cd772ef81ec22c7726e9ef3039c896689557ffda..9463de11ac86c133aa5e0c6945dd8637b575e4ba 100644 |
--- a/pkg/compiler/lib/src/ssa/codegen.dart |
+++ b/pkg/compiler/lib/src/ssa/codegen.dart |
@@ -1284,7 +1284,8 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
visitShiftRight(HShiftRight node) => visitBitInvokeBinary(node, '>>>'); |
visitTruncatingDivide(HTruncatingDivide node) { |
- assert(node.left.isUInt31(compiler)); |
+ assert(node.isUInt31(compiler)); |
+ assert(node.left.isUInt32(compiler)); |
assert(node.right.isPositiveInteger(compiler)); |
use(node.left); |
js.Expression jsLeft = pop(); |