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

Unified Diff: src/objects.h

Issue 1408163005: [es6] Partially implement Reflect.getOwnPropertyDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. 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/builtins.cc ('k') | src/objects.cc » ('j') | src/property-descriptor.cc » ('J')
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 67a99005cb31aa815d7339fa9f2e457678c9125d..0f017cc77969744f8d53ca0a2db4681132e05a53 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1893,7 +1893,7 @@ class JSReceiver: public HeapObject {
ShouldThrow should_throw);
static bool GetOwnPropertyDescriptor(Isolate* isolate,
- Handle<JSObject> object,
+ Handle<JSReceiver> object,
Handle<Object> key,
PropertyDescriptor* desc);
static bool GetOwnPropertyDescriptor(LookupIterator* it,
« no previous file with comments | « src/builtins.cc ('k') | src/objects.cc » ('j') | src/property-descriptor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698