Skip to content

Commit

Permalink
deps: remove thread_local to fix V8 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
psmarshall authored and targos committed Aug 4, 2018
1 parent 16a807a commit 0b3f44c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/v8/src/torque/contextual.h
Expand Up @@ -50,11 +50,11 @@ class ContextualVariable {
}

private:
static thread_local VarType* top_;
static VarType* top_;
};

template <class Derived, class VarType>
thread_local VarType* ContextualVariable<Derived, VarType>::top_ = nullptr;
VarType* ContextualVariable<Derived, VarType>::top_ = nullptr;

// Usage: DECLARE_CONTEXTUAL_VARIABLE(VarName, VarType)
#define DECLARE_CONTEXTUAL_VARIABLE(VarName, ...) \
Expand Down

0 comments on commit 0b3f44c

Please sign in to comment.