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

Side by Side Diff: src/objects.h

Issue 481043002: Get rid of LookupRealNamedProperty and LookupRealNamedPropertyInPrototypes and update clients (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« src/api.cc ('K') | « src/api.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 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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 2358 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 inline int GetHeaderSize(); 2369 inline int GetHeaderSize();
2370 2370
2371 inline int GetInternalFieldCount(); 2371 inline int GetInternalFieldCount();
2372 inline int GetInternalFieldOffset(int index); 2372 inline int GetInternalFieldOffset(int index);
2373 inline Object* GetInternalField(int index); 2373 inline Object* GetInternalField(int index);
2374 inline void SetInternalField(int index, Object* value); 2374 inline void SetInternalField(int index, Object* value);
2375 inline void SetInternalField(int index, Smi* value); 2375 inline void SetInternalField(int index, Smi* value);
2376 2376
2377 // The following lookup functions skip interceptors. 2377 // The following lookup functions skip interceptors.
2378 void LookupOwnRealNamedProperty(Handle<Name> name, LookupResult* result); 2378 void LookupOwnRealNamedProperty(Handle<Name> name, LookupResult* result);
2379 void LookupRealNamedProperty(Handle<Name> name, LookupResult* result);
2380 void LookupRealNamedPropertyInPrototypes(Handle<Name> name,
2381 LookupResult* result);
2382 2379
2383 // Returns the number of properties on this object filtering out properties 2380 // Returns the number of properties on this object filtering out properties
2384 // with the specified attributes (ignoring interceptors). 2381 // with the specified attributes (ignoring interceptors).
2385 int NumberOfOwnProperties(PropertyAttributes filter = NONE); 2382 int NumberOfOwnProperties(PropertyAttributes filter = NONE);
2386 // Fill in details for properties into storage starting at the specified 2383 // Fill in details for properties into storage starting at the specified
2387 // index. 2384 // index.
2388 void GetOwnPropertyNames( 2385 void GetOwnPropertyNames(
2389 FixedArray* storage, int index, PropertyAttributes filter = NONE); 2386 FixedArray* storage, int index, PropertyAttributes filter = NONE);
2390 2387
2391 // Returns the number of properties on this object filtering out properties 2388 // Returns the number of properties on this object filtering out properties
(...skipping 8819 matching lines...) Expand 10 before | Expand all | Expand 10 after
11211 } else { 11208 } else {
11212 value &= ~(1 << bit_position); 11209 value &= ~(1 << bit_position);
11213 } 11210 }
11214 return value; 11211 return value;
11215 } 11212 }
11216 }; 11213 };
11217 11214
11218 } } // namespace v8::internal 11215 } } // namespace v8::internal
11219 11216
11220 #endif // V8_OBJECTS_H_ 11217 #endif // V8_OBJECTS_H_
OLDNEW
« src/api.cc ('K') | « src/api.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698