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

Unified Diff: src/objects.h

Issue 10546122: Force inlining of some hot functions (problem reported by Bert Belder). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(int SearchWithCache(String* name));
// Tells whether the name is present int the array.
bool Contains(String* name) { return kNotFound != Search(name); }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698