Force inlining of some hot functions (problem reported by Bert Belder).

Review URL: https://chromiumcodereview.appspot.com/10546122

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11781 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
erik.corry@gmail.com 2012-06-12 15:45:08 +00:00
parent 0418b67142
commit fa072704af

View File

@ -2574,11 +2574,11 @@ class DescriptorArray: public FixedArray {
void Sort(const WhitenessWitness&);
// Search the instance descriptors for given name.
inline int Search(String* name);
INLINE(int Search(String* name));
// As the above, but uses DescriptorLookupCache and updates it when
// necessary.
inline int SearchWithCache(String* name);
INLINE(int SearchWithCache(String* name));
// Tells whether the name is present int the array.
bool Contains(String* name) { return kNotFound != Search(name); }