| 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 "allocation.h" |      8 #include "allocation.h" | 
|      9 #include "assert-scope.h" |      9 #include "assert-scope.h" | 
|     10 #include "builtins.h" |     10 #include "builtins.h" | 
| (...skipping 2204 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   2215  |   2215  | 
|   2216   // Retrieve interceptors. |   2216   // Retrieve interceptors. | 
|   2217   InterceptorInfo* GetNamedInterceptor(); |   2217   InterceptorInfo* GetNamedInterceptor(); | 
|   2218   InterceptorInfo* GetIndexedInterceptor(); |   2218   InterceptorInfo* GetIndexedInterceptor(); | 
|   2219  |   2219  | 
|   2220   // Used from JSReceiver. |   2220   // Used from JSReceiver. | 
|   2221   static PropertyAttributes GetPropertyAttributePostInterceptor( |   2221   static PropertyAttributes GetPropertyAttributePostInterceptor( | 
|   2222       Handle<JSObject> object, |   2222       Handle<JSObject> object, | 
|   2223       Handle<JSObject> receiver, |   2223       Handle<JSObject> receiver, | 
|   2224       Handle<Name> name, |   2224       Handle<Name> name, | 
|   2225       bool continue_search); |   2225       bool check_prototype); | 
|   2226   static PropertyAttributes GetPropertyAttributeWithInterceptor( |   2226   static PropertyAttributes GetPropertyAttributeWithInterceptor( | 
|   2227       Handle<JSObject> object, |   2227       Handle<JSObject> object, | 
|   2228       Handle<JSObject> receiver, |   2228       Handle<JSObject> receiver, | 
|   2229       Handle<Name> name, |   2229       Handle<Name> name, | 
|   2230       bool continue_search); |   2230       bool check_prototype); | 
|   2231   static PropertyAttributes GetPropertyAttributeWithFailedAccessCheck( |   2231   static PropertyAttributes GetPropertyAttributeWithFailedAccessCheck( | 
|   2232       Handle<JSObject> object, |   2232       Handle<JSObject> object, | 
|   2233       LookupResult* result, |   2233       LookupResult* result, | 
|   2234       Handle<Name> name, |   2234       Handle<Name> name, | 
|   2235       bool continue_search); |   2235       bool check_prototype); | 
|   2236   static PropertyAttributes GetElementAttributeWithReceiver( |   2236   static PropertyAttributes GetElementAttributeWithReceiver( | 
|   2237       Handle<JSObject> object, |   2237       Handle<JSObject> object, | 
|   2238       Handle<JSReceiver> receiver, |   2238       Handle<JSReceiver> receiver, | 
|   2239       uint32_t index, |   2239       uint32_t index, | 
|   2240       bool continue_search); |   2240       bool check_prototype); | 
|   2241  |   2241  | 
|   2242   // Retrieves an AccessorPair property from the given object. Might return |   2242   // Retrieves an AccessorPair property from the given object. Might return | 
|   2243   // undefined if the property doesn't exist or is of a different kind. |   2243   // undefined if the property doesn't exist or is of a different kind. | 
|   2244   MUST_USE_RESULT static MaybeHandle<Object> GetAccessor( |   2244   MUST_USE_RESULT static MaybeHandle<Object> GetAccessor( | 
|   2245       Handle<JSObject> object, |   2245       Handle<JSObject> object, | 
|   2246       Handle<Name> name, |   2246       Handle<Name> name, | 
|   2247       AccessorComponent component); |   2247       AccessorComponent component); | 
|   2248  |   2248  | 
|   2249   // Defines an AccessorPair property on the given object. |   2249   // Defines an AccessorPair property on the given object. | 
|   2250   // TODO(mstarzinger): Rename to SetAccessor() and return empty handle on |   2250   // TODO(mstarzinger): Rename to SetAccessor() and return empty handle on | 
| (...skipping 8823 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  11074     } else { |  11074     } else { | 
|  11075       value &= ~(1 << bit_position); |  11075       value &= ~(1 << bit_position); | 
|  11076     } |  11076     } | 
|  11077     return value; |  11077     return value; | 
|  11078   } |  11078   } | 
|  11079 }; |  11079 }; | 
|  11080  |  11080  | 
|  11081 } }  // namespace v8::internal |  11081 } }  // namespace v8::internal | 
|  11082  |  11082  | 
|  11083 #endif  // V8_OBJECTS_H_ |  11083 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW |