We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c08d94b commit b411114Copy full SHA for b411114
common.gypi
@@ -38,7 +38,7 @@
38
39
# Reset this number to 0 on major V8 upgrades.
40
# Increment by one for each non-official patch applied to deps/v8.
41
- 'v8_embedder_string': '-node.8',
+ 'v8_embedder_string': '-node.9',
42
43
##### V8 defaults for Node.js #####
44
deps/v8/src/wasm/module-compiler.cc
@@ -131,7 +131,14 @@ class CompilationUnitQueues {
131
queues_[task_id].next_steal_task_id_ = next_task_id(task_id);
132
}
133
for (auto& atomic_counter : num_units_) {
134
- std::atomic_init(&atomic_counter, size_t{0});
+#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
140
+#pragma clang diagnostic pop
141
142
143
144
0 commit comments