From 2301eb69b1eb1c9a5b71fe96adb878290262b1f2 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 11 Jun 2012 21:22:50 +0200 Subject: [PATCH] v8: force inlining of v8::internal::DescriptorArray methods --- deps/v8/src/objects.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/v8/src/objects.h b/deps/v8/src/objects.h index 8c0295e8dc..7469142f5b 100644 --- a/deps/v8/src/objects.h +++ b/deps/v8/src/objects.h @@ -2530,11 +2530,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); }