Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 291e5b01d9fa3045666c8e4f1600f7ade507401a..f6ee35869c29f7a7eb6f836d34f03a89503cd5ad 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -881,6 +881,11 @@ enum InitializationFlag { |
enum MaybeAssignedFlag { kNotAssigned, kMaybeAssigned }; |
+// This flag defines whether the context slot belongs to a variable of |
+// this context or the context slot is a shortcut to a global property cell. |
+enum class ContextSlotKindFlag { kLocal, kGlobal }; |
Toon Verwaest
2015/07/01 09:28:55
What about changing Variable::Location to have a G
Igor Sheludko
2015/07/02 16:50:13
Done.
|
+ |
+ |
// Serialized in PreparseData, so numeric values should not be changed. |
enum ParseErrorType { kSyntaxError = 0, kReferenceError = 1 }; |