Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 3b997abee3f5bed8829ccb5661acecd90420754d..4b077263a4043f80f8dadd795ef18058dd5796c4 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -351,6 +351,11 @@ class Context: public FixedArray { |
// eval. |
bool GlobalIfNotShadowedByEval(Handle<String> name); |
+ // Determine if any function scope in the context call eval and if |
+ // any of those calls are in non-strict mode. |
+ void ComputeEvalScopeInfo(bool* outer_scope_calls_eval, |
+ bool* outer_scope_calls_non_strict_eval); |
+ |
// Code generation support. |
static int SlotOffset(int index) { |
return kHeaderSize + index * kPointerSize - kHeapObjectTag; |