| 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 2100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2111 static void InvalidatePrototypeChains(Map* map); | 2111 static void InvalidatePrototypeChains(Map* map); |
| 2112 | 2112 |
| 2113 // Alternative implementation of WeakFixedArray::NullCallback. | 2113 // Alternative implementation of WeakFixedArray::NullCallback. |
| 2114 class PrototypeRegistryCompactionCallback { | 2114 class PrototypeRegistryCompactionCallback { |
| 2115 public: | 2115 public: |
| 2116 static void Callback(Object* value, int old_index, int new_index); | 2116 static void Callback(Object* value, int old_index, int new_index); |
| 2117 }; | 2117 }; |
| 2118 | 2118 |
| 2119 // Retrieve interceptors. | 2119 // Retrieve interceptors. |
| 2120 InterceptorInfo* GetNamedInterceptor(); | 2120 InterceptorInfo* GetNamedInterceptor(); |
| 2121 InterceptorInfo* GetIndexedInterceptor(); | 2121 inline InterceptorInfo* GetIndexedInterceptor(); |
| 2122 | 2122 |
| 2123 // Used from JSReceiver. | 2123 // Used from JSReceiver. |
| 2124 MUST_USE_RESULT static Maybe<PropertyAttributes> | 2124 MUST_USE_RESULT static Maybe<PropertyAttributes> |
| 2125 GetPropertyAttributesWithInterceptor(LookupIterator* it); | 2125 GetPropertyAttributesWithInterceptor(LookupIterator* it); |
| 2126 MUST_USE_RESULT static Maybe<PropertyAttributes> | 2126 MUST_USE_RESULT static Maybe<PropertyAttributes> |
| 2127 GetPropertyAttributesWithFailedAccessCheck(LookupIterator* it); | 2127 GetPropertyAttributesWithFailedAccessCheck(LookupIterator* it); |
| 2128 | 2128 |
| 2129 // Retrieves an AccessorPair property from the given object. Might return | 2129 // Retrieves an AccessorPair property from the given object. Might return |
| 2130 // undefined if the property doesn't exist or is of a different kind. | 2130 // undefined if the property doesn't exist or is of a different kind. |
| 2131 MUST_USE_RESULT static MaybeHandle<Object> GetAccessor( | 2131 MUST_USE_RESULT static MaybeHandle<Object> GetAccessor( |
| (...skipping 8591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10723 } | 10723 } |
| 10724 return value; | 10724 return value; |
| 10725 } | 10725 } |
| 10726 }; | 10726 }; |
| 10727 | 10727 |
| 10728 | 10728 |
| 10729 } // NOLINT, false-positive due to second-order macros. | 10729 } // NOLINT, false-positive due to second-order macros. |
| 10730 } // NOLINT, false-positive due to second-order macros. | 10730 } // NOLINT, false-positive due to second-order macros. |
| 10731 | 10731 |
| 10732 #endif // V8_OBJECTS_H_ | 10732 #endif // V8_OBJECTS_H_ |
| OLD | NEW |