Chromium Code Reviews| Index: src/compiler/simplified-lowering.cc |
| diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
| index 00e007d54ef43d6de426954c9cce01ed66b8dac7..7645addc6971831a859401264bb3e2f0bad81962 100644 |
| --- a/src/compiler/simplified-lowering.cc |
| +++ b/src/compiler/simplified-lowering.cc |
| @@ -627,10 +627,13 @@ class RepresentationSelector { |
| case IrOpcode::kWord64Equal: |
| return VisitBinop(node, kRepWord64, kRepBit); |
| - case IrOpcode::kConvertInt32ToInt64: |
| + case IrOpcode::kChangeInt32ToInt64: |
| return VisitUnop(node, kTypeInt32 | kRepWord32, |
| - kTypeInt32 | kRepWord64); |
| - case IrOpcode::kConvertInt64ToInt32: |
| + kTypeInt64 | kRepWord64); |
|
Jarin
2014/08/19 08:46:36
Why did you change the type to kTypeInt64 here?
Benedikt Meurer
2014/08/19 08:48:07
Because the output of ChangeInt32ToInt64 is an int
|
| + case IrOpcode::kChangeUint32ToUint64: |
| + return VisitUnop(node, kTypeUint32 | kRepWord32, |
| + kTypeUint64 | kRepWord64); |
| + case IrOpcode::kTruncateInt64ToInt32: |
| return VisitUnop(node, kTypeInt64 | kRepWord64, |
| kTypeInt32 | kRepWord32); |