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

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: Fix 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') | no next file with comments »
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 1843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1854 static bool UnregisterPrototypeUser(Handle<JSObject> prototype, 1854 static bool UnregisterPrototypeUser(Handle<JSObject> prototype,
1855 Handle<HeapObject> user); 1855 Handle<HeapObject> user);
1856 static void InvalidatePrototypeChains(Map* map); 1856 static void InvalidatePrototypeChains(Map* map);
1857 1857
1858 // Retrieve interceptors. 1858 // Retrieve interceptors.
1859 InterceptorInfo* GetNamedInterceptor(); 1859 InterceptorInfo* GetNamedInterceptor();
1860 InterceptorInfo* GetIndexedInterceptor(); 1860 InterceptorInfo* GetIndexedInterceptor();
1861 1861
1862 // Used from JSReceiver. 1862 // Used from JSReceiver.
1863 MUST_USE_RESULT static Maybe<PropertyAttributes> 1863 MUST_USE_RESULT static Maybe<PropertyAttributes>
1864 GetPropertyAttributesWithInterceptor(Handle<JSObject> holder, 1864 GetPropertyAttributesWithInterceptor(LookupIterator* it);
1865 Handle<Object> receiver,
1866 Handle<Name> name);
1867 MUST_USE_RESULT static Maybe<PropertyAttributes> 1865 MUST_USE_RESULT static Maybe<PropertyAttributes>
1868 GetPropertyAttributesWithFailedAccessCheck(LookupIterator* it); 1866 GetPropertyAttributesWithFailedAccessCheck(LookupIterator* it);
1869 MUST_USE_RESULT static Maybe<PropertyAttributes> 1867 MUST_USE_RESULT static Maybe<PropertyAttributes>
1870 GetElementAttributeWithReceiver(Handle<JSObject> object, 1868 GetElementAttributeWithReceiver(Handle<JSObject> object,
1871 Handle<JSReceiver> receiver, 1869 Handle<JSReceiver> receiver,
1872 uint32_t index, bool check_prototype); 1870 uint32_t index, bool check_prototype);
1873 1871
1874 // Retrieves an AccessorPair property from the given object. Might return 1872 // Retrieves an AccessorPair property from the given object. Might return
1875 // undefined if the property doesn't exist or is of a different kind. 1873 // undefined if the property doesn't exist or is of a different kind.
1876 MUST_USE_RESULT static MaybeHandle<Object> GetAccessor( 1874 MUST_USE_RESULT static MaybeHandle<Object> GetAccessor(
(...skipping 9274 matching lines...) Expand 10 before | Expand all | Expand 10 after
11151 } else { 11149 } else {
11152 value &= ~(1 << bit_position); 11150 value &= ~(1 << bit_position);
11153 } 11151 }
11154 return value; 11152 return value;
11155 } 11153 }
11156 }; 11154 };
11157 11155
11158 } } // namespace v8::internal 11156 } } // namespace v8::internal
11159 11157
11160 #endif // V8_OBJECTS_H_ 11158 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/lookup.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698