Index: src/compiler/instruction-scheduler.cc |
diff --git a/src/compiler/instruction-scheduler.cc b/src/compiler/instruction-scheduler.cc |
index 8ba287b1bcf1123af5c74df40ef24d473fcd26ba..d082cae57ad9bd3cf53cf979cbe8ba8c6a02c116 100644 |
--- a/src/compiler/instruction-scheduler.cc |
+++ b/src/compiler/instruction-scheduler.cc |
@@ -326,6 +326,13 @@ int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { |
case kAtomicStoreWord32: |
return kHasSideEffect; |
+ case kAtomicExchangeInt8: |
+ case kAtomicExchangeUint8: |
+ case kAtomicExchangeInt16: |
+ case kAtomicExchangeUint16: |
+ case kAtomicExchangeWord32: |
+ return kHasSideEffect; |
+ |
#define CASE(Name) case k##Name: |
TARGET_ARCH_OPCODE_LIST(CASE) |
#undef CASE |