Commit fa072704 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

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
parent 0418b671
......@@ -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); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment