Skip to content

Commit

Permalink
deps: remove thread_local to fix V8 compilation
Browse files Browse the repository at this point in the history
PR-URL: #21668
Fixes: https://github.com/I
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information
psmarshall authored and MylesBorins committed Aug 10, 2018
1 parent ce5cacd commit 4e6be4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/v8/src/torque/contextual.h
Original file line number Diff line number Diff line change
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 4e6be4c

Please sign in to comment.