Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index dce322ab83cb77e53604feb45c61c1353735645e..578ca4e877f25e1af709fbd5d0cb94c13c506324 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -9522,6 +9522,11 @@ class JSProxy: public JSReceiver { |
Handle<Object> key, PropertyDescriptor* desc, |
ShouldThrow should_throw); |
+ // ES6 9.5.7 |
+ MUST_USE_RESULT static Maybe<bool> HasProperty(Isolate* isolate, |
+ Handle<JSProxy> proxy, |
+ Handle<Name> name); |
+ |
// ES6 9.5.10 (when passed SLOPPY) |
MUST_USE_RESULT static Maybe<bool> DeletePropertyOrElement( |
Handle<JSProxy> proxy, Handle<Name> name, LanguageMode language_mode); |
@@ -9588,9 +9593,6 @@ class JSProxy: public JSReceiver { |
Handle<JSProxy> proxy, const char* name, Handle<Object> derived_trap, |
int argc, Handle<Object> args[]); |
- MUST_USE_RESULT static Maybe<bool> HasPropertyWithHandler( |
- Handle<JSProxy> proxy, Handle<Name> name); |
- |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSProxy); |
}; |