Chromium Code Reviews| Index: src/compiler/machine-operator.cc |
| diff --git a/src/compiler/machine-operator.cc b/src/compiler/machine-operator.cc |
| index eb034e92e3736837e4120bf67226290a9f14c8b7..8ab22aaf9c55f98fcb9c3b5db7550a0787bd7d9d 100644 |
| --- a/src/compiler/machine-operator.cc |
| +++ b/src/compiler/machine-operator.cc |
| @@ -174,7 +174,8 @@ struct MachineOperatorGlobalCache { |
| struct Load##Type##Operator FINAL : public Operator1<LoadRepresentation> { \ |
| Load##Type##Operator() \ |
| : Operator1<LoadRepresentation>( \ |
| - IrOpcode::kLoad, Operator::kNoThrow | Operator::kNoWrite, \ |
| + IrOpcode::kLoad, Operator::kNoThrow | Operator::kNoWrite | \ |
| + Operator::kCommutative, \ |
|
Benedikt Meurer
2014/12/11 10:16:21
Err, what's that?
|
| "Load", 2, 1, 1, 1, 1, 0, k##Type) {} \ |
| }; \ |
| struct CheckedLoad##Type##Operator FINAL \ |
| @@ -193,7 +194,8 @@ struct MachineOperatorGlobalCache { |
| struct Store##Type##Operator : public Operator1<StoreRepresentation> { \ |
| explicit Store##Type##Operator(WriteBarrierKind write_barrier_kind) \ |
| : Operator1<StoreRepresentation>( \ |
| - IrOpcode::kStore, Operator::kNoRead | Operator::kNoThrow, \ |
| + IrOpcode::kStore, \ |
| + Operator::kNoRead | Operator::kNoThrow | Operator::kCommutative, \ |
|
Benedikt Meurer
2014/12/11 10:16:21
Err, what's that?
Benedikt Meurer
2014/12/11 10:16:21
Err, what's that?
|
| "Store", 3, 1, 1, 0, 1, 0, \ |
| StoreRepresentation(k##Type, write_barrier_kind)) {} \ |
| }; \ |