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

Side by Side Diff: src/objects.h

Issue 6696068: [Arguments] Support deletion of arguments properties. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 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
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.
1875 void DeleteFromFastElements(FixedArray* elements, uint32_t index);
1876 MUST_USE_RESULT MaybeObject* DeleteFromDictionaryElements(
1877 NumberDictionary* elements,
1878 uint32_t index,
1879 DeleteMode mode);
1880
1874 PropertyAttributes GetPropertyAttributePostInterceptor(JSObject* receiver, 1881 PropertyAttributes GetPropertyAttributePostInterceptor(JSObject* receiver,
1875 String* name, 1882 String* name,
1876 bool continue_search); 1883 bool continue_search);
1877 PropertyAttributes GetPropertyAttributeWithInterceptor(JSObject* receiver, 1884 PropertyAttributes GetPropertyAttributeWithInterceptor(JSObject* receiver,
1878 String* name, 1885 String* name,
1879 bool continue_search); 1886 bool continue_search);
1880 PropertyAttributes GetPropertyAttributeWithFailedAccessCheck( 1887 PropertyAttributes GetPropertyAttributeWithFailedAccessCheck(
1881 Object* receiver, 1888 Object* receiver,
1882 LookupResult* result, 1889 LookupResult* result,
1883 String* name, 1890 String* name,
(...skipping 4761 matching lines...) Expand 10 before | Expand all | Expand 10 after
6645 } else { 6652 } else {
6646 value &= ~(1 << bit_position); 6653 value &= ~(1 << bit_position);
6647 } 6654 }
6648 return value; 6655 return value;
6649 } 6656 }
6650 }; 6657 };
6651 6658
6652 } } // namespace v8::internal 6659 } } // namespace v8::internal
6653 6660
6654 #endif // V8_OBJECTS_H_ 6661 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698