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

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: Add proper exception handling 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index fe9f1e2c5eb9d01727423025569361954dbf5980..2f40b2af18ae73d0f4c97856b00ca309ae737b27 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1383,6 +1383,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.

Powered by Google App Engine
This is Rietveld 408576698