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

Unified Diff: src/objects.h

Issue 7321006: Add GetPropertyAttribute method for Object in the API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix the mentioned issues Created 9 years, 5 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
« no previous file with comments | « src/handles.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 0eaeb36d7f9b75a343988627cbbbd7eb9e4ec25d..7d40d5e5e0bb1fef0966fc3c115a3b94782a8903 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1391,6 +1391,8 @@ class JSReceiver: public HeapObject {
inline PropertyAttributes GetPropertyAttribute(String* name);
PropertyAttributes GetPropertyAttributeWithReceiver(JSReceiver* receiver,
String* name);
+ PropertyAttributes TryGetPropertyAttribute(Handle<Object> key,
+ bool* has_pending_exception);
PropertyAttributes GetLocalPropertyAttribute(String* name);
// Can cause a GC.
« no previous file with comments | « src/handles.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698