OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1864 MaybeObject* GetElementPostInterceptor(Object* receiver, uint32_t index); | 1864 MaybeObject* GetElementPostInterceptor(Object* receiver, uint32_t index); |
1865 | 1865 |
1866 MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name, | 1866 MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name, |
1867 DeleteMode mode); | 1867 DeleteMode mode); |
1868 MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name); | 1868 MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name); |
1869 | 1869 |
1870 MUST_USE_RESULT MaybeObject* DeleteElementPostInterceptor(uint32_t index, | 1870 MUST_USE_RESULT MaybeObject* DeleteElementPostInterceptor(uint32_t index, |
1871 DeleteMode mode); | 1871 DeleteMode mode); |
1872 MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index); | 1872 MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index); |
1873 | 1873 |
1874 // Deletion utilities taking an explicit backing store argument. | 1874 // Utilities taking an explicit backing store arguments. |
1875 void DeleteFromFastElements(FixedArray* elements, uint32_t index); | 1875 MUST_USE_RESULT MaybeObject* DeleteFromElements(FixedArray* elements, |
1876 MUST_USE_RESULT MaybeObject* DeleteFromDictionaryElements( | 1876 ElementsKind kind, |
1877 NumberDictionary* elements, | 1877 uint32_t index, |
1878 uint32_t index, | 1878 DeleteMode mode); |
1879 DeleteMode mode); | 1879 bool ReferencesObjectFromElements(FixedArray* elements, |
| 1880 ElementsKind kind, |
| 1881 Object* object); |
| 1882 bool HasElementInElements(FixedArray* elements, |
| 1883 ElementsKind kind, |
| 1884 uint32_t index); |
1880 | 1885 |
1881 PropertyAttributes GetPropertyAttributePostInterceptor(JSObject* receiver, | 1886 PropertyAttributes GetPropertyAttributePostInterceptor(JSObject* receiver, |
1882 String* name, | 1887 String* name, |
1883 bool continue_search); | 1888 bool continue_search); |
1884 PropertyAttributes GetPropertyAttributeWithInterceptor(JSObject* receiver, | 1889 PropertyAttributes GetPropertyAttributeWithInterceptor(JSObject* receiver, |
1885 String* name, | 1890 String* name, |
1886 bool continue_search); | 1891 bool continue_search); |
1887 PropertyAttributes GetPropertyAttributeWithFailedAccessCheck( | 1892 PropertyAttributes GetPropertyAttributeWithFailedAccessCheck( |
1888 Object* receiver, | 1893 Object* receiver, |
1889 LookupResult* result, | 1894 LookupResult* result, |
(...skipping 4762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6652 } else { | 6657 } else { |
6653 value &= ~(1 << bit_position); | 6658 value &= ~(1 << bit_position); |
6654 } | 6659 } |
6655 return value; | 6660 return value; |
6656 } | 6661 } |
6657 }; | 6662 }; |
6658 | 6663 |
6659 } } // namespace v8::internal | 6664 } } // namespace v8::internal |
6660 | 6665 |
6661 #endif // V8_OBJECTS_H_ | 6666 #endif // V8_OBJECTS_H_ |
OLD | NEW |