Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: src/globals.h

Issue 1218783005: Support for global var shortcuts in script contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 };

Powered by Google App Engine
This is Rietveld 408576698