Chromium Code Reviews| Index: src/contexts.h |
| diff --git a/src/contexts.h b/src/contexts.h |
| index 78d4bc4255c5194d374fcf1c38cca902978b8a14..5c07f629d3853454558041a49e82ba299385b57c 100644 |
| --- a/src/contexts.h |
| +++ b/src/contexts.h |
| @@ -225,6 +225,7 @@ class ScriptContextTable : public FixedArray { |
| int context_index; |
| int slot_index; |
| VariableMode mode; |
| + ContextSlotKindFlag slot_kind; |
| InitializationFlag init_flag; |
| MaybeAssignedFlag maybe_assigned_flag; |
| }; |
| @@ -556,6 +557,9 @@ class Context: public FixedArray { |
| that->global_object()->native_context()->security_token(); |
| } |
| + // Invalidates global variable bindings in given script context. |
| + void InvalidateGlobalSlots(); |
|
Toon Verwaest
2015/07/01 09:28:55
InitializeGlobalSlots
Igor Sheludko
2015/07/02 16:50:13
Done.
|
| + |
| // A native context holds a list of all functions with optimized code. |
| void AddOptimizedFunction(JSFunction* function); |
| void RemoveOptimizedFunction(JSFunction* function); |