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

Side by Side Diff: src/objects.h

Issue 7566004: Move element deletion into element handlers (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: white space tweaks Created 9 years, 4 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 | « src/elements.cc ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after
2023 MUST_USE_RESULT MaybeObject* SetElementWithoutInterceptor( 2023 MUST_USE_RESULT MaybeObject* SetElementWithoutInterceptor(
2024 uint32_t index, 2024 uint32_t index,
2025 Object* value, 2025 Object* value,
2026 StrictModeFlag strict_mode, 2026 StrictModeFlag strict_mode,
2027 bool check_prototype); 2027 bool check_prototype);
2028 2028
2029 MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name, 2029 MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name,
2030 DeleteMode mode); 2030 DeleteMode mode);
2031 MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name); 2031 MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name);
2032 2032
2033 MUST_USE_RESULT MaybeObject* DeleteElementPostInterceptor(uint32_t index,
2034 DeleteMode mode);
2035 MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index); 2033 MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index);
2036 2034
2037 MUST_USE_RESULT MaybeObject* DeleteFastElement(uint32_t index); 2035 MUST_USE_RESULT MaybeObject* DeleteFastElement(uint32_t index);
2038 MUST_USE_RESULT MaybeObject* DeleteDictionaryElement(uint32_t index, 2036 MUST_USE_RESULT MaybeObject* DeleteDictionaryElement(uint32_t index,
2039 DeleteMode mode); 2037 DeleteMode mode);
2040 2038
2041 bool ReferencesObjectFromElements(FixedArray* elements, 2039 bool ReferencesObjectFromElements(FixedArray* elements,
2042 ElementsKind kind, 2040 ElementsKind kind,
2043 Object* object); 2041 Object* object);
2044 bool HasElementInElements(FixedArray* elements, 2042 bool HasElementInElements(FixedArray* elements,
(...skipping 5254 matching lines...) Expand 10 before | Expand all | Expand 10 after
7299 } else { 7297 } else {
7300 value &= ~(1 << bit_position); 7298 value &= ~(1 << bit_position);
7301 } 7299 }
7302 return value; 7300 return value;
7303 } 7301 }
7304 }; 7302 };
7305 7303
7306 } } // namespace v8::internal 7304 } } // namespace v8::internal
7307 7305
7308 #endif // V8_OBJECTS_H_ 7306 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698