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 rvagg committed Aug 15, 2018
1 parent 981fff7 commit c69fdc9
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 c69fdc9

Please sign in to comment.