Revision: 11781
Author: [email protected]
Date: Tue Jun 12 08:45:08 2012
Log: Force inlining of some hot functions (problem reported by Bert
Belder).
Review URL: https://chromiumcodereview.appspot.com/10546122
http://code.google.com/p/v8/source/detail?r=11781
Modified:
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects.h Mon Jun 11 09:57:27 2012
+++ /branches/bleeding_edge/src/objects.h Tue Jun 12 08:45:08 2012
@@ -2574,11 +2574,11 @@
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); }
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev