summaryrefslogtreecommitdiff
path: root/deps/v8/src/common
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2021-03-22 18:36:48 +0200
committerGuy Bedford <guybedford@gmail.com>2021-03-29 23:33:22 +0200
commit8e46568b1e12fe00581b1292bd6c2b01373f17bd (patch)
treeb87e38cb9e03c666f72bccc8f4fa2849e0826454 /deps/v8/src/common
parent45cdc134cd3218fa58877f1c8a5d4b840b0cd4c0 (diff)
downloadnode-new-8e46568b1e12fe00581b1292bd6c2b01373f17bd.tar.gz
deps: backport v8 f19142e6
[top-level-await] Implement the new post-order requirement for async subgraphs Refs: https://github.com/v8/v8/commit/f19142e6139979da3a177cb0b9f382e459f5ccec PR-URL: https://github.com/nodejs/node/pull/37864 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/common')
-rw-r--r--deps/v8/src/common/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/common/globals.h b/deps/v8/src/common/globals.h
index d9d502aa51..5b9dd0923f 100644
--- a/deps/v8/src/common/globals.h
+++ b/deps/v8/src/common/globals.h
@@ -356,6 +356,9 @@ constexpr int kUC16Size = sizeof(uc16); // NOLINT
// 128 bit SIMD value size.
constexpr int kSimd128Size = 16;
+// Maximum ordinal used for tracking asynchronous module evaluation order.
+constexpr unsigned kMaxModuleAsyncEvaluatingOrdinal = (1 << 30) - 1;
+
// FUNCTION_ADDR(f) gets the address of a C function f.
#define FUNCTION_ADDR(f) (reinterpret_cast<v8::internal::Address>(f))