Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 441d995d69d47cb6921ef2d2756ea2ba1d8ea4a4..d008b265a6ada80622d0dec4dc28e5790f2d747f 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -1194,6 +1194,9 @@ class Isolate { |
base::Mutex* simulator_i_cache_mutex() { return &simulator_i_cache_mutex_; } |
#endif |
+ void set_allow_atomics_wait(bool set) { allow_atomics_wait_ = set; } |
+ bool allow_atomics_wait() { return allow_atomics_wait_; } |
+ |
protected: |
explicit Isolate(bool enable_serializer); |
bool IsArrayOrObjectPrototype(Object* object); |
@@ -1472,6 +1475,8 @@ class Isolate { |
base::Mutex simulator_i_cache_mutex_; |
#endif |
+ bool allow_atomics_wait_; |
+ |
friend class ExecutionAccess; |
friend class HandleScopeImplementer; |
friend class HeapTester; |