diff options
Diffstat (limited to 'deps/v8/src/contexts.h')
-rw-r--r-- | deps/v8/src/contexts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/contexts.h b/deps/v8/src/contexts.h index 53b40f127..3d9e7f4bf 100644 --- a/deps/v8/src/contexts.h +++ b/deps/v8/src/contexts.h @@ -295,6 +295,10 @@ class Context: public FixedArray { Map* map = this->map(); return map == map->GetHeap()->with_context_map(); } + bool IsBlockContext() { + Map* map = this->map(); + return map == map->GetHeap()->block_context_map(); + } // Tells whether the global context is marked with out of memory. inline bool has_out_of_memory(); |