summaryrefslogtreecommitdiff
path: root/deps/v8/src/contexts-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/contexts-inl.h')
-rw-r--r--deps/v8/src/contexts-inl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/contexts-inl.h b/deps/v8/src/contexts-inl.h
index c26ce5bd47..344d5db578 100644
--- a/deps/v8/src/contexts-inl.h
+++ b/deps/v8/src/contexts-inl.h
@@ -105,6 +105,10 @@ bool Context::IsWithContext() {
return map == map->GetHeap()->with_context_map();
}
+bool Context::IsDebugEvaluateContext() {
+ Map* map = this->map();
+ return map == map->GetHeap()->debug_evaluate_context_map();
+}
bool Context::IsBlockContext() {
Map* map = this->map();