Skip to content

Commit 59e40f5

Browse files
joyeecheungnodejs-github-bot
authored andcommitted
deps: use unscoped enum for LoadOp::Kind::Atomicity
This is needed by GCC which doesn't support aggregate initialization of a bitfield of scoped enum that is narrower than the enum's underlying type.
1 parent 6e654cd commit 59e40f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎deps/v8/src/compiler/turboshaft/operations.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3113,7 +3113,7 @@ struct ConstantOp : FixedArityOperationT<0, ConstantOp> {
31133113
// not decompress the value.
31143114
struct LoadOp : OperationT<LoadOp> {
31153115
struct __attribute__((packed)) Kind {
3116-
enum class Atomicity : uint8_t {
3116+
enum Atomicity : uint8_t {
31173117
kNonAtomic,
31183118
kSeqCst,
31193119
kAcqRel,

0 commit comments

Comments
 (0)