| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 9481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9492 | 9492 |
| 9493 static MaybeHandle<Context> GetFunctionRealm(Handle<JSProxy> proxy); | 9493 static MaybeHandle<Context> GetFunctionRealm(Handle<JSProxy> proxy); |
| 9494 | 9494 |
| 9495 DECLARE_CAST(JSProxy) | 9495 DECLARE_CAST(JSProxy) |
| 9496 | 9496 |
| 9497 bool IsRevoked(); | 9497 bool IsRevoked(); |
| 9498 | 9498 |
| 9499 // ES6 9.5.1 | 9499 // ES6 9.5.1 |
| 9500 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); | 9500 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); |
| 9501 | 9501 |
| 9502 // ES6 9.5.2 |
| 9503 MUST_USE_RESULT static Maybe<bool> SetPrototype(Handle<JSProxy> proxy, |
| 9504 Handle<Object> value, |
| 9505 bool from_javascript, |
| 9506 ShouldThrow should_throw); |
| 9502 // ES6 9.5.3 | 9507 // ES6 9.5.3 |
| 9503 MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); | 9508 MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); |
| 9504 | 9509 |
| 9505 // ES6 9.5.4 (when passed DONT_THROW) | 9510 // ES6 9.5.4 (when passed DONT_THROW) |
| 9506 MUST_USE_RESULT static Maybe<bool> PreventExtensions( | 9511 MUST_USE_RESULT static Maybe<bool> PreventExtensions( |
| 9507 Handle<JSProxy> proxy, ShouldThrow should_throw); | 9512 Handle<JSProxy> proxy, ShouldThrow should_throw); |
| 9508 | 9513 |
| 9509 // ES6 9.5.5 | 9514 // ES6 9.5.5 |
| 9510 static bool GetOwnPropertyDescriptor(LookupIterator* it, | 9515 static bool GetOwnPropertyDescriptor(LookupIterator* it, |
| 9511 PropertyDescriptor* desc); | 9516 PropertyDescriptor* desc); |
| (...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10711 } | 10716 } |
| 10712 return value; | 10717 return value; |
| 10713 } | 10718 } |
| 10714 }; | 10719 }; |
| 10715 | 10720 |
| 10716 | 10721 |
| 10717 } // NOLINT, false-positive due to second-order macros. | 10722 } // NOLINT, false-positive due to second-order macros. |
| 10718 } // NOLINT, false-positive due to second-order macros. | 10723 } // NOLINT, false-positive due to second-order macros. |
| 10719 | 10724 |
| 10720 #endif // V8_OBJECTS_H_ | 10725 #endif // V8_OBJECTS_H_ |
| OLD | NEW |