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/runtime.h

Issue 108083005: ES6: Add Object.getOwnPropertySymbols (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Do the filtering in the runtime function Created 7 years 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/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 95fb41956f79adce6806753aab0efb95b715c571..6caaf02df083fc9bd45f83124308a2ebe431ab92 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -58,7 +58,7 @@ namespace internal {
F(GetLocalPropertyNames, 2, 1) \
F(GetLocalElementNames, 1, 1) \
F(GetInterceptorInfo, 1, 1) \
- F(GetNamedInterceptorPropertyNames, 1, 1) \
+ F(GetNamedInterceptorPropertyNames, 2, 1) \
F(GetIndexedInterceptorElementNames, 1, 1) \
F(GetArgumentsProperty, 1, 1) \
F(ToFastProperties, 1, 1) \
@@ -854,6 +854,11 @@ class Runtime : public AllStatic {
Isolate* isolate,
Handle<FixedArray> literals,
Handle<FixedArray> elements);
+
+ enum LocalPropertyKeyType {
+ PROPERTY_KEY_STRING = 1,
+ PROPERTY_KEY_SYMBOL = 2
+ };
};

Powered by Google App Engine
This is Rietveld 408576698