Changeset 68899 in webkit
- Timestamp:
- Oct 1, 2010 10:50:39 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r68893 r68899 1 2010-10-01 Pratik Solanki <psolanki@apple.com> 2 3 Reviewed by Geoffrey Garen. 4 Specify ALWAYS_INLINE at function declaration not function definition 5 https://bugs.webkit.org/show_bug.cgi?id=46960 6 7 For functions defined with ALWAYS_INLINE, add the attribute to the declaration as well. 8 9 * bytecompiler/BytecodeGenerator.h: 10 * wtf/FastMalloc.cpp: 11 1 12 2010-10-01 Kwang Yul Seo <skyul@company100.net> 2 13 -
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
r68338 r68899 425 425 void retrieveLastBinaryOp(int& dstIndex, int& src1Index, int& src2Index); 426 426 void retrieveLastUnaryOp(int& dstIndex, int& srcIndex); 427 void rewindBinaryOp();428 void rewindUnaryOp();427 ALWAYS_INLINE void rewindBinaryOp(); 428 ALWAYS_INLINE void rewindUnaryOp(); 429 429 430 430 PassRefPtr<Label> emitComplexJumpScopes(Label* target, ControlFlowContext* topScope, ControlFlowContext* bottomScope); -
trunk/JavaScriptCore/wtf/FastMalloc.cpp
r67371 r68899 2186 2186 size_t Size() const { return size_; } 2187 2187 2188 void* Allocate(size_t size);2188 ALWAYS_INLINE void* Allocate(size_t size); 2189 2189 void Deallocate(void* ptr, size_t size_class); 2190 2190 2191 void FetchFromCentralCache(size_t cl, size_t allocationSize);2191 ALWAYS_INLINE void FetchFromCentralCache(size_t cl, size_t allocationSize); 2192 2192 void ReleaseToCentralCache(size_t cl, int N); 2193 2193 void Scavenge(); … … 2290 2290 // Release an object to spans. 2291 2291 // May temporarily release lock_. 2292 void ReleaseToSpans(void* object);2292 ALWAYS_INLINE void ReleaseToSpans(void* object); 2293 2293 2294 2294 // REQUIRES: lock_ is held 2295 2295 // Populate cache by fetching from the page heap. 2296 2296 // May temporarily release lock_. 2297 void Populate();2297 ALWAYS_INLINE void Populate(); 2298 2298 2299 2299 // REQUIRES: lock is held. … … 2308 2308 // Returns true on success. 2309 2309 // May temporarily lock a "random" size class. 2310 static bool EvictRandomSizeClass(size_t locked_size_class, bool force);2310 static ALWAYS_INLINE bool EvictRandomSizeClass(size_t locked_size_class, bool force); 2311 2311 2312 2312 // REQUIRES: lock_ is *not* held. … … 3706 3706 3707 3707 template <bool crashOnFailure> 3708 void* malloc(size_t);3708 ALWAYS_INLINE void* malloc(size_t); 3709 3709 3710 3710 void* fastMalloc(size_t size) … … 3767 3767 #else 3768 3768 template <bool crashOnFailure> 3769 void* calloc(size_t, size_t);3769 ALWAYS_INLINE void* calloc(size_t, size_t); 3770 3770 3771 3771 void* fastCalloc(size_t n, size_t elem_size) … … 3831 3831 #else 3832 3832 template <bool crashOnFailure> 3833 void* realloc(void*, size_t);3833 ALWAYS_INLINE void* realloc(void*, size_t); 3834 3834 3835 3835 void* fastRealloc(void* old_ptr, size_t new_size) -
trunk/WebCore/ChangeLog
r68897 r68899 1 2010-10-01 Pratik Solanki <psolanki@apple.com> 2 3 Reviewed by Geoffrey Garen. 4 Specify ALWAYS_INLINE at function declaration not function definition 5 https://bugs.webkit.org/show_bug.cgi?id=46960 6 7 For functions defined with ALWAYS_INLINE, add the attribute to the declaration as well. 8 9 * css/CSSStyleSelector.h: 10 * rendering/InlineIterator.h: 11 * rendering/style/RenderStyle.h: 12 1 13 2010-10-01 David Hyatt <hyatt@apple.com> 2 14 -
trunk/WebCore/css/CSSStyleSelector.h
r68083 r68899 110 110 void initForStyleResolve(Element*, RenderStyle* parentStyle = 0, PseudoId = NOPSEUDO); 111 111 void initElement(Element*); 112 RenderStyle* locateSharedStyle();112 ALWAYS_INLINE RenderStyle* locateSharedStyle(); 113 113 Node* locateCousinList(Element* parent, unsigned depth = 1); 114 114 bool canShareStyleWithElement(Node*); -
trunk/WebCore/rendering/InlineIterator.h
r68817 r68899 54 54 55 55 UChar current() const; 56 WTF::Unicode::Direction direction() const;56 ALWAYS_INLINE WTF::Unicode::Direction direction() const; 57 57 58 58 RenderBlock* block; -
trunk/WebCore/rendering/style/RenderStyle.h
r68854 r68899 307 307 308 308 private: 309 RenderStyle();309 ALWAYS_INLINE RenderStyle(); 310 310 // used to create the default style. 311 RenderStyle(bool);312 RenderStyle(const RenderStyle&);311 ALWAYS_INLINE RenderStyle(bool); 312 ALWAYS_INLINE RenderStyle(const RenderStyle&); 313 313 314 314 public:
Note: See TracChangeset
for help on using the changeset viewer.