Chromium Code Reviews| Index: lib/compiler/implementation/ssa/nodes.dart |
| diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart |
| index 75d703ee962c63315932ed0bc752e9040a2c208c..4ef67cb128b86261867f62ff8f757fd717946b61 100644 |
| --- a/lib/compiler/implementation/ssa/nodes.dart |
| +++ b/lib/compiler/implementation/ssa/nodes.dart |
| @@ -1524,7 +1524,7 @@ class HBinaryBitOp extends HBinaryArithmetic { |
| HBinaryBitOp(HStatic target, HInstruction left, HInstruction right) |
| : super(target, left, right); |
| - bool get builtin() => left.isInteger() && right.isInteger(); |
| + bool get builtin() => left.isNumber() && right.isNumber(); |
|
kasperl
2012/06/21 08:58:29
Can we just remove the method and use the one in H
Mads Ager (google)
2012/06/21 10:25:31
Of course. Thanks!
|
| HType computeTypeFromInputTypes() { |
| // All bitwise operations on primitive types either produce an |