diff options
Diffstat (limited to 'deps/v8/src/compiler/instruction-scheduler.cc')
-rw-r--r-- | deps/v8/src/compiler/instruction-scheduler.cc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/instruction-scheduler.cc b/deps/v8/src/compiler/instruction-scheduler.cc index 8ba287b1bc..cb3c2d66c6 100644 --- a/deps/v8/src/compiler/instruction-scheduler.cc +++ b/deps/v8/src/compiler/instruction-scheduler.cc @@ -326,6 +326,43 @@ int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { case kAtomicStoreWord32: return kHasSideEffect; + case kAtomicExchangeInt8: + case kAtomicExchangeUint8: + case kAtomicExchangeInt16: + case kAtomicExchangeUint16: + case kAtomicExchangeWord32: + case kAtomicCompareExchangeInt8: + case kAtomicCompareExchangeUint8: + 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: TARGET_ARCH_OPCODE_LIST(CASE) #undef CASE |