diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-08-18 16:59:21 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-18 16:59:30 -0700 |
commit | 05e6f318c6ecccea73698367010e51812c5b3862 (patch) | |
tree | 965d1c3bcdd518dd7411d8f39dd45189e1526d3d /deps/v8/src/contexts.h | |
parent | 63607a0304e99259d3b7a24c44f7d29384b93cb4 (diff) | |
download | node-new-05e6f318c6ecccea73698367010e51812c5b3862.tar.gz |
Upgrade V8 to 3.5.6
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 53b40f127d..3d9e7f4bfe 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(); |