File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 38
38
39
39
# Reset this number to 0 on major V8 upgrades.
40
40
# Increment by one for each non-official patch applied to deps/v8.
41
- 'v8_embedder_string' : '-node.8 ' ,
41
+ 'v8_embedder_string' : '-node.9 ' ,
42
42
43
43
##### V8 defaults for Node.js #####
44
44
Original file line number Diff line number Diff line change @@ -131,7 +131,14 @@ class CompilationUnitQueues {
131
131
queues_[task_id].next_steal_task_id_ = next_task_id (task_id);
132
132
}
133
133
for (auto & atomic_counter : num_units_) {
134
- std::atomic_init (&atomic_counter, size_t {0 });
134
+ #ifdef __clang__
135
+ #pragma clang diagnostic push
136
+ #pragma clang diagnostic ignored "-Wbraced-scalar-init"
137
+ #endif
138
+ atomic_counter = ATOMIC_VAR_INIT (0 );
139
+ #ifdef __clang__
140
+ #pragma clang diagnostic pop
141
+ #endif
135
142
}
136
143
}
137
144
You can’t perform that action at this time.
0 commit comments