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

Unified Diff: src/objects.h

Issue 1451703003: [proxies] Wire up Object.getOwnPropertyDescriptor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: moved test file Created 5 years, 1 month 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/js/v8natives.js ('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 c2e4983abe2c3f5ef8826d752af0c692dcd013cd..5cd3a72d2915402d62c9c5d67c24eb8f0529ccca 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1843,7 +1843,7 @@ class JSReceiver: public HeapObject {
PropertyDescriptor* desc,
ShouldThrow should_throw);
// ES6 9.1.6.2
- static bool IsCompatiblePropertyDescriptor(bool extensible,
+ static bool IsCompatiblePropertyDescriptor(Isolate* isolate, bool extensible,
PropertyDescriptor* desc,
PropertyDescriptor* current,
Handle<Name> property_name);
@@ -1851,9 +1851,9 @@ class JSReceiver: public HeapObject {
// |it| can be NULL in cases where the ES spec passes |undefined| as the
// receiver. Exactly one of |it| and |property_name| must be provided.
static bool ValidateAndApplyPropertyDescriptor(
- LookupIterator* it, bool extensible, PropertyDescriptor* desc,
- PropertyDescriptor* current, ShouldThrow should_throw,
- Handle<Name> property_name = Handle<Name>());
+ Isolate* isolate, LookupIterator* it, bool extensible,
+ PropertyDescriptor* desc, PropertyDescriptor* current,
+ ShouldThrow should_throw, Handle<Name> property_name = Handle<Name>());
static bool GetOwnPropertyDescriptor(Isolate* isolate,
Handle<JSReceiver> object,
« no previous file with comments | « src/js/v8natives.js ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698