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

Side by Side Diff: src/objects.h

Issue 1147863002: Prepare GetProperty(Attributes)WithInterceptor to support elements (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months 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 unified diff | Download patch
« no previous file with comments | « src/lookup.h ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 static bool UnregisterPrototypeUser(Handle<JSObject> prototype, 1849 static bool UnregisterPrototypeUser(Handle<JSObject> prototype,
1850 Handle<HeapObject> user); 1850 Handle<HeapObject> user);
1851 static void InvalidatePrototypeChains(Map* map); 1851 static void InvalidatePrototypeChains(Map* map);
1852 1852
1853 // Retrieve interceptors. 1853 // Retrieve interceptors.
1854 InterceptorInfo* GetNamedInterceptor(); 1854 InterceptorInfo* GetNamedInterceptor();
1855 InterceptorInfo* GetIndexedInterceptor(); 1855 InterceptorInfo* GetIndexedInterceptor();
1856 1856
1857 // Used from JSReceiver. 1857 // Used from JSReceiver.
1858 MUST_USE_RESULT static Maybe<PropertyAttributes> 1858 MUST_USE_RESULT static Maybe<PropertyAttributes>
1859 GetPropertyAttributesWithInterceptor(Handle<JSObject> holder, 1859 GetPropertyAttributesWithInterceptor(LookupIterator* it);
1860 Handle<Object> receiver,
1861 Handle<Name> name);
1862 MUST_USE_RESULT static Maybe<PropertyAttributes> 1860 MUST_USE_RESULT static Maybe<PropertyAttributes>
1863 GetPropertyAttributesWithFailedAccessCheck(LookupIterator* it); 1861 GetPropertyAttributesWithFailedAccessCheck(LookupIterator* it);
1864 MUST_USE_RESULT static Maybe<PropertyAttributes> 1862 MUST_USE_RESULT static Maybe<PropertyAttributes>
1865 GetElementAttributeWithReceiver(Handle<JSObject> object, 1863 GetElementAttributeWithReceiver(Handle<JSObject> object,
1866 Handle<JSReceiver> receiver, 1864 Handle<JSReceiver> receiver,
1867 uint32_t index, bool check_prototype); 1865 uint32_t index, bool check_prototype);
1868 1866
1869 // Retrieves an AccessorPair property from the given object. Might return 1867 // Retrieves an AccessorPair property from the given object. Might return
1870 // undefined if the property doesn't exist or is of a different kind. 1868 // undefined if the property doesn't exist or is of a different kind.
1871 MUST_USE_RESULT static MaybeHandle<Object> GetAccessor( 1869 MUST_USE_RESULT static MaybeHandle<Object> GetAccessor(
(...skipping 9254 matching lines...) Expand 10 before | Expand all | Expand 10 after
11126 } else { 11124 } else {
11127 value &= ~(1 << bit_position); 11125 value &= ~(1 << bit_position);
11128 } 11126 }
11129 return value; 11127 return value;
11130 } 11128 }
11131 }; 11129 };
11132 11130
11133 } } // namespace v8::internal 11131 } } // namespace v8::internal
11134 11132
11135 #endif // V8_OBJECTS_H_ 11133 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/lookup.h ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698