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

Side by Side Diff: src/objects.h

Issue 140069: Store a lookup result when compiling interceptor ICs.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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/ic.h ('k') | src/objects-debug.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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 void Lookup(String* name, LookupResult* result); 1500 void Lookup(String* name, LookupResult* result);
1501 1501
1502 // The following lookup functions skip interceptors. 1502 // The following lookup functions skip interceptors.
1503 void LocalLookupRealNamedProperty(String* name, LookupResult* result); 1503 void LocalLookupRealNamedProperty(String* name, LookupResult* result);
1504 void LookupRealNamedProperty(String* name, LookupResult* result); 1504 void LookupRealNamedProperty(String* name, LookupResult* result);
1505 void LookupRealNamedPropertyInPrototypes(String* name, LookupResult* result); 1505 void LookupRealNamedPropertyInPrototypes(String* name, LookupResult* result);
1506 void LookupCallbackSetterInPrototypes(String* name, LookupResult* result); 1506 void LookupCallbackSetterInPrototypes(String* name, LookupResult* result);
1507 Object* LookupCallbackSetterInPrototypes(uint32_t index); 1507 Object* LookupCallbackSetterInPrototypes(uint32_t index);
1508 void LookupCallback(String* name, LookupResult* result); 1508 void LookupCallback(String* name, LookupResult* result);
1509 1509
1510 inline Smi* InterceptorPropertyLookupHint(String* name);
1511 static const int kLookupInHolder = -1;
1512 static const int kLookupInPrototype = -2;
1513
1514 // Returns the number of properties on this object filtering out properties 1510 // Returns the number of properties on this object filtering out properties
1515 // with the specified attributes (ignoring interceptors). 1511 // with the specified attributes (ignoring interceptors).
1516 int NumberOfLocalProperties(PropertyAttributes filter); 1512 int NumberOfLocalProperties(PropertyAttributes filter);
1517 // Returns the number of enumerable properties (ignoring interceptors). 1513 // Returns the number of enumerable properties (ignoring interceptors).
1518 int NumberOfEnumProperties(); 1514 int NumberOfEnumProperties();
1519 // Fill in details for properties into storage starting at the specified 1515 // Fill in details for properties into storage starting at the specified
1520 // index. 1516 // index.
1521 void GetLocalPropertyNames(FixedArray* storage, int index); 1517 void GetLocalPropertyNames(FixedArray* storage, int index);
1522 1518
1523 // Returns the number of properties on this object filtering out properties 1519 // Returns the number of properties on this object filtering out properties
(...skipping 3261 matching lines...) Expand 10 before | Expand all | Expand 10 after
4785 } else { 4781 } else {
4786 value &= ~(1 << bit_position); 4782 value &= ~(1 << bit_position);
4787 } 4783 }
4788 return value; 4784 return value;
4789 } 4785 }
4790 }; 4786 };
4791 4787
4792 } } // namespace v8::internal 4788 } } // namespace v8::internal
4793 4789
4794 #endif // V8_OBJECTS_H_ 4790 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698