Chromium Code Reviews| Index: src/contexts.h |
| =================================================================== |
| --- src/contexts.h (revision 8931) |
| +++ src/contexts.h (working copy) |
| @@ -295,6 +295,10 @@ |
| 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(); |