Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 89c6bce4937e7b698aa26bcde836c783b7a4d9d9..bb5761469d144acc64748ec3224e650f44dac5a5 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -181,7 +181,7 @@ class RepresentationSelector { |
} else { |
// In the change phase, insert a change before the use if necessary. |
MachineTypeUnion output = GetInfo(input)->output; |
- if ((output & kRepWord32) == 0) { |
+ if ((output & (kRepBit | kRepWord8 | kRepWord16 | kRepWord32)) == 0) { |
// Output representation doesn't match usage. |
TRACE((" truncate-to-int32: #%d:%s(@%d #%d:%s) ", node->id(), |
node->op()->mnemonic(), index, input->id(), |