Reviewers: Michael Starzinger,

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

Please review this at https://chromiumcodereview.appspot.com/10546122/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/objects.h


Index: src/objects.h
===================================================================
--- src/objects.h       (revision 11776)
+++ src/objects.h       (working copy)
@@ -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(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

Reply via email to