Skip to content

Commit c69fdc9

Browse files
psmarshallrvagg
authored andcommitted
deps: remove thread_local to fix V8 compilation
PR-URL: #21668 Fixes: https://github.com/I Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent 981fff7 commit c69fdc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/v8/src/torque/contextual.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ class ContextualVariable {
5050
}
5151

5252
private:
53-
static thread_local VarType* top_;
53+
static VarType* top_;
5454
};
5555

5656
template <class Derived, class VarType>
57-
thread_local VarType* ContextualVariable<Derived, VarType>::top_ = nullptr;
57+
VarType* ContextualVariable<Derived, VarType>::top_ = nullptr;
5858

5959
// Usage: DECLARE_CONTEXTUAL_VARIABLE(VarName, VarType)
6060
#define DECLARE_CONTEXTUAL_VARIABLE(VarName, ...) \

0 commit comments

Comments
 (0)