| Index: src/compiler/machine-operator.h
|
| diff --git a/src/compiler/machine-operator.h b/src/compiler/machine-operator.h
|
| index 34517aa330408a6074f55a8cae10e24eba28e3ce..97d1f700d7901d3e50cb7435eefe371bbe345f43 100644
|
| --- a/src/compiler/machine-operator.h
|
| +++ b/src/compiler/machine-operator.h
|
| @@ -99,6 +99,8 @@ MachineRepresentation AtomicStoreRepresentationOf(Operator const* op);
|
|
|
| MachineType AtomicExchangeRepresentationOf(Operator const* op);
|
|
|
| +MachineType AtomicCompareExchangeRepresentationOf(Operator const* op);
|
| +
|
| // Interface for building machine-level operators. These operators are
|
| // machine-level but machine-independent and thus define a language suitable
|
| // for generating code to run on architectures such as ia32, x64, arm, etc.
|
| @@ -610,6 +612,8 @@ class V8_EXPORT_PRIVATE MachineOperatorBuilder final
|
| const Operator* AtomicStore(MachineRepresentation rep);
|
| // atomic-exchange [base + index], value
|
| const Operator* AtomicExchange(MachineType rep);
|
| + // atomic-compare-exchange [base + index], old_value, new_value
|
| + const Operator* AtomicCompareExchange(MachineType rep);
|
|
|
| // Target machine word-size assumed by this builder.
|
| bool Is32() const { return word() == MachineRepresentation::kWord32; }
|
|
|