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

Unified Diff: src/property-descriptor.h

Issue 1408163005: [es6] Partially implement Reflect.getOwnPropertyDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/objects.cc ('k') | src/property-descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property-descriptor.h
diff --git a/src/property-descriptor.h b/src/property-descriptor.h
index 8f584938c4c594f2c564812ae33b202c0fae2e98..9425ab10ef0262f65101f314465afc67e819202b 100644
--- a/src/property-descriptor.h
+++ b/src/property-descriptor.h
@@ -89,6 +89,8 @@ class PropertyDescriptor {
(has_writable() && !writable() ? READ_ONLY : NONE));
}
+ Handle<Object> ToObject(Isolate* isolate);
+
static bool ToPropertyDescriptor(Isolate* isolate, Handle<Object> obj,
PropertyDescriptor* desc);
« no previous file with comments | « src/objects.cc ('k') | src/property-descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698