| Index: src/compiler/machine-operator-reducer.cc
|
| diff --git a/src/compiler/machine-operator-reducer.cc b/src/compiler/machine-operator-reducer.cc
|
| index d6b3ff2208f5a33e218fb0aef8edbe4add46bd0a..5a5c8902dde364cfa57773179a42b01c5a11c47b 100644
|
| --- a/src/compiler/machine-operator-reducer.cc
|
| +++ b/src/compiler/machine-operator-reducer.cc
|
| @@ -246,7 +246,7 @@ Reduction MachineOperatorReducer::Reduce(Node* node) {
|
| }
|
| break;
|
| }
|
| - case IrOpcode::kInt32UDiv: {
|
| + case IrOpcode::kUint32Div: {
|
| Uint32BinopMatcher m(node);
|
| if (m.right().Is(1)) return Replace(m.left().node()); // x / 1 => x
|
| // TODO(turbofan): if (m.left().Is(0))
|
| @@ -275,7 +275,7 @@ Reduction MachineOperatorReducer::Reduce(Node* node) {
|
| }
|
| break;
|
| }
|
| - case IrOpcode::kInt32UMod: {
|
| + case IrOpcode::kUint32Mod: {
|
| Uint32BinopMatcher m(node);
|
| if (m.right().Is(1)) return ReplaceInt32(0); // x % 1 => 0
|
| // TODO(turbofan): if (m.left().Is(0))
|
|
|