Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 5ebec0ce64548ba67d0fe7ccfc0a35d73e4bd7eb..048f89837dc7f3e05bd75c78622b1617a342e44d 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -406,6 +406,10 @@ class Context: public FixedArray { |
MIN_CONTEXT_SLOTS = GLOBAL_PROXY_INDEX, |
// This slot holds the thrown value in catch contexts. |
THROWN_OBJECT_INDEX = MIN_CONTEXT_SLOTS, |
+ |
+ // These slots hold values in debug evaluate contexts. |
+ WRAPPED_CONTEXT_INDEX = MIN_CONTEXT_SLOTS, |
+ WHITE_LIST_INDEX = MIN_CONTEXT_SLOTS + 1 |
}; |
void IncrementErrorsThrown(); |
@@ -458,6 +462,7 @@ class Context: public FixedArray { |
inline bool IsFunctionContext(); |
inline bool IsCatchContext(); |
inline bool IsWithContext(); |
+ inline bool IsDebugEvaluateContext(); |
inline bool IsBlockContext(); |
inline bool IsModuleContext(); |
inline bool IsScriptContext(); |