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

Unified Diff: src/macros.py

Issue 8372027: Implement Harmony sets and maps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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/macros.py
diff --git a/src/macros.py b/src/macros.py
index a42e83c60206dc9519ca17fec061e71704a80ad4..7d41d084408ebe5e5d89032c81c4bfc47273092d 100644
--- a/src/macros.py
+++ b/src/macros.py
@@ -193,6 +193,12 @@ const WRITABLE_INDEX = 4;
const ENUMERABLE_INDEX = 5;
const CONFIGURABLE_INDEX = 6;
+# For collection.js, operation types for SetAccess.
+# Matches SetAccessOperation from runtime.cc
+const SET_ACCESS_ADD = 0;
+const SET_ACCESS_HAS = 1;
+const SET_ACCESS_DELETE = 2;
+
# For messages.js
# Matches Script::Type from objects.h
const TYPE_NATIVE = 0;

Powered by Google App Engine
This is Rietveld 408576698