From 4e6be4c65960973d16906c32d47909b874a4caf8 Mon Sep 17 00:00:00 2001
From: Peter Marshall
Date: Fri, 3 Aug 2018 12:35:10 +0200
Subject: [PATCH] deps: remove thread_local to fix V8 compilation
PR-URL: https://github.com/nodejs/node/pull/21668
Fixes: https://github.com/I
Reviewed-By: Refael Ackermann
Reviewed-By: Myles Borins
---
deps/v8/src/torque/contextual.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/deps/v8/src/torque/contextual.h b/deps/v8/src/torque/contextual.h
index 33f0481f9aa3a8..738cdf38b10657 100644
--- a/deps/v8/src/torque/contextual.h
+++ b/deps/v8/src/torque/contextual.h
@@ -50,11 +50,11 @@ class ContextualVariable {
}
private:
- static thread_local VarType* top_;
+ static VarType* top_;
};
template
-thread_local VarType* ContextualVariable::top_ = nullptr;
+VarType* ContextualVariable::top_ = nullptr;
// Usage: DECLARE_CONTEXTUAL_VARIABLE(VarName, VarType)
#define DECLARE_CONTEXTUAL_VARIABLE(VarName, ...) \