diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog index 46af79a87a91..f3e814dfcb5a 100644 --- a/Source/JavaScriptCore/ChangeLog +++ b/Source/JavaScriptCore/ChangeLog @@ -1,3 +1,12 @@ +2011-05-13 Oliver Hunt + + Build fix. + + * runtime/WriteBarrier.h: + (JSC::validateCell): + (JSC::JSCell): + (JSC::JSGlobalObject): + 2011-05-13 Oliver Hunt Reviewed by Geoffrey Garen. diff --git a/Source/JavaScriptCore/runtime/WriteBarrier.h b/Source/JavaScriptCore/runtime/WriteBarrier.h index 00bad9b5af4d..89989479529c 100644 --- a/Source/JavaScriptCore/runtime/WriteBarrier.h +++ b/Source/JavaScriptCore/runtime/WriteBarrier.h @@ -43,22 +43,22 @@ void slowValidateCell(JSCell*); void slowValidateCell(JSGlobalObject*); #if ENABLE(GC_VALIDATION) -template static inline void validateCell(T cell) +template inline void validateCell(T cell) { ASSERT_GC_OBJECT_INHERITS(cell, &WTF::RemovePointer::Type::s_info); } -template<> static inline void validateCell(JSCell* cell) +template<> inline void validateCell(JSCell* cell) { slowValidateCell(cell); } -template<> static inline void validateCell(JSGlobalObject* globalObject) +template<> inline void validateCell(JSGlobalObject* globalObject) { slowValidateCell(globalObject); } #else -template static inline void validateCell(T) +template inline void validateCell(T) { } #endif