Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 7645addc6971831a859401264bb3e2f0bad81962..0ffbdcc192bdc021bc59942687c3c5c59d81a3c0 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -629,12 +629,13 @@ class RepresentationSelector { |
case IrOpcode::kChangeInt32ToInt64: |
return VisitUnop(node, kTypeInt32 | kRepWord32, |
- kTypeInt64 | kRepWord64); |
+ kTypeInt32 | kRepWord64); |
case IrOpcode::kChangeUint32ToUint64: |
return VisitUnop(node, kTypeUint32 | kRepWord32, |
- kTypeUint64 | kRepWord64); |
+ kTypeUint32 | kRepWord64); |
case IrOpcode::kTruncateInt64ToInt32: |
- return VisitUnop(node, kTypeInt64 | kRepWord64, |
+ // TODO(titzer): Is kTypeInt32 correct here? |
+ return VisitUnop(node, kTypeInt32 | kRepWord64, |
kTypeInt32 | kRepWord32); |
case IrOpcode::kChangeInt32ToFloat64: |