Chromium Code Reviews| Index: src/compiler/instruction-scheduler.cc |
| diff --git a/src/compiler/instruction-scheduler.cc b/src/compiler/instruction-scheduler.cc |
| index db7712a1ef51c5a5af12ea7f597a782285fe7bbc..cb3c2d66c680041de050db455e5d12517a320594 100644 |
| --- a/src/compiler/instruction-scheduler.cc |
| +++ b/src/compiler/instruction-scheduler.cc |
| @@ -336,6 +336,31 @@ int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { |
| case kAtomicCompareExchangeInt16: |
| case kAtomicCompareExchangeUint16: |
| case kAtomicCompareExchangeWord32: |
| + case kAtomicAddInt8: |
| + case kAtomicAddUint8: |
| + case kAtomicAddInt16: |
| + case kAtomicAddUint16: |
| + case kAtomicAddWord32: |
| + case kAtomicSubInt8: |
| + case kAtomicSubUint8: |
| + case kAtomicSubInt16: |
| + case kAtomicSubUint16: |
| + case kAtomicSubWord32: |
| + case kAtomicAndInt8: |
| + case kAtomicAndUint8: |
| + case kAtomicAndInt16: |
| + case kAtomicAndUint16: |
| + case kAtomicAndWord32: |
| + case kAtomicOrInt8: |
| + case kAtomicOrUint8: |
| + case kAtomicOrInt16: |
| + case kAtomicOrUint16: |
| + case kAtomicOrWord32: |
| + case kAtomicXorInt8: |
| + case kAtomicXorUint8: |
| + case kAtomicXorInt16: |
| + case kAtomicXorUint16: |
| + case kAtomicXorWord32: |
| return kHasSideEffect; |
| #define CASE(Name) case k##Name: |