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

Side by Side Diff: src/objects.h

Issue 18658: Added handling of hidden prototype objects when collecting local properties f... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 11 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/mirror-delay.js ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 void LookupRealNamedProperty(String* name, LookupResult* result); 1291 void LookupRealNamedProperty(String* name, LookupResult* result);
1292 void LookupRealNamedPropertyInPrototypes(String* name, LookupResult* result); 1292 void LookupRealNamedPropertyInPrototypes(String* name, LookupResult* result);
1293 void LookupCallbackSetterInPrototypes(String* name, LookupResult* result); 1293 void LookupCallbackSetterInPrototypes(String* name, LookupResult* result);
1294 void LookupCallback(String* name, LookupResult* result); 1294 void LookupCallback(String* name, LookupResult* result);
1295 1295
1296 // Returns the number of properties on this object filtering out properties 1296 // Returns the number of properties on this object filtering out properties
1297 // with the specified attributes (ignoring interceptors). 1297 // with the specified attributes (ignoring interceptors).
1298 int NumberOfLocalProperties(PropertyAttributes filter); 1298 int NumberOfLocalProperties(PropertyAttributes filter);
1299 // Returns the number of enumerable properties (ignoring interceptors). 1299 // Returns the number of enumerable properties (ignoring interceptors).
1300 int NumberOfEnumProperties(); 1300 int NumberOfEnumProperties();
1301 // Fill in details for properties into storage. 1301 // Fill in details for properties into storage starting at the specified
1302 void GetLocalPropertyNames(FixedArray* storage); 1302 // index.
1303 void GetLocalPropertyNames(FixedArray* storage, int index);
1303 1304
1304 // Returns the number of properties on this object filtering out properties 1305 // Returns the number of properties on this object filtering out properties
1305 // with the specified attributes (ignoring interceptors). 1306 // with the specified attributes (ignoring interceptors).
1306 int NumberOfLocalElements(PropertyAttributes filter); 1307 int NumberOfLocalElements(PropertyAttributes filter);
1307 // Returns the number of enumerable elements (ignoring interceptors). 1308 // Returns the number of enumerable elements (ignoring interceptors).
1308 int NumberOfEnumElements(); 1309 int NumberOfEnumElements();
1309 // Returns the number of elements on this object filtering out elements 1310 // Returns the number of elements on this object filtering out elements
1310 // with the specified attributes (ignoring interceptors). 1311 // with the specified attributes (ignoring interceptors).
1311 int GetLocalElementKeys(FixedArray* storage, PropertyAttributes filter); 1312 int GetLocalElementKeys(FixedArray* storage, PropertyAttributes filter);
1312 // Count and fill in the enumerable elements into storage. 1313 // Count and fill in the enumerable elements into storage.
(...skipping 2905 matching lines...) Expand 10 before | Expand all | Expand 10 after
4218 } else { 4219 } else {
4219 value &= ~(1 << bit_position); 4220 value &= ~(1 << bit_position);
4220 } 4221 }
4221 return value; 4222 return value;
4222 } 4223 }
4223 }; 4224 };
4224 4225
4225 } } // namespace v8::internal 4226 } } // namespace v8::internal
4226 4227
4227 #endif // V8_OBJECTS_H_ 4228 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mirror-delay.js ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698