Changeset 155491 in webkit
- Timestamp:
- Sep 10, 2013 4:37:21 PM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r155484 r155491 1 2013-09-10 Anders Carlsson <andersca@apple.com> 2 3 Remove wtf/Alignment.h 4 https://bugs.webkit.org/show_bug.cgi?id=121077 5 6 Reviewed by Andreas Kling. 7 8 * GNUmakefile.list.am: 9 * WTF.pro: 10 * WTF.vcxproj/WTF.vcxproj: 11 * WTF.vcxproj/WTF.vcxproj.filters: 12 * WTF.xcodeproj/project.pbxproj: 13 * wtf/Alignment.h: Removed. 14 * wtf/CMakeLists.txt: 15 * wtf/text/ASCIIFastPath.h: 16 1 17 2013-09-10 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Source/WTF/GNUmakefile.list.am
r155483 r155491 4 4 Source/WTF/wtf/ASCIICType.h \ 5 5 Source/WTF/wtf/AVLTree.h \ 6 Source/WTF/wtf/Alignment.h \7 6 Source/WTF/wtf/Assertions.cpp \ 8 7 Source/WTF/wtf/Assertions.h \ -
trunk/Source/WTF/WTF.pro
r155483 r155491 21 21 22 22 HEADERS += \ 23 Alignment.h \24 23 ASCIICType.h \ 25 24 Assertions.h \ -
trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj
r155476 r155491 119 119 <ClInclude Include="..\wtf\CompilationThread.h" /> 120 120 <ClInclude Include="..\WTF\config.h" /> 121 <ClInclude Include="..\wtf\Alignment.h" />122 121 <ClInclude Include="..\wtf\ASCIICType.h" /> 123 122 <ClInclude Include="..\wtf\Assertions.h" /> -
trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters
r155476 r155491 323 323 <ClInclude Include="..\wtf\unicode\UTF8.h"> 324 324 <Filter>wtf\unicode</Filter> 325 </ClInclude>326 <ClInclude Include="..\wtf\Alignment.h">327 <Filter>wtf</Filter>328 325 </ClInclude> 329 326 <ClInclude Include="..\wtf\WTFThreadData.h"> -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r155402 r155491 75 75 A7E643C717C5423B003BB16B /* Compression.h in Headers */ = {isa = PBXBuildFile; fileRef = A7E643C517C5423B003BB16B /* Compression.h */; }; 76 76 A876DBD8151816E500DADB95 /* Platform.h in Headers */ = {isa = PBXBuildFile; fileRef = A876DBD7151816E500DADB95 /* Platform.h */; }; 77 A8A4737F151A825B004123FF /* Alignment.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47254151A825A004123FF /* Alignment.h */; };78 77 A8A47385151A825B004123FF /* ASCIICType.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4725A151A825A004123FF /* ASCIICType.h */; }; 79 78 A8A47386151A825B004123FF /* Assertions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A4725B151A825A004123FF /* Assertions.cpp */; }; … … 343 342 A7E643C517C5423B003BB16B /* Compression.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Compression.h; sourceTree = "<group>"; }; 344 343 A876DBD7151816E500DADB95 /* Platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Platform.h; sourceTree = "<group>"; }; 345 A8A47254151A825A004123FF /* Alignment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Alignment.h; sourceTree = "<group>"; };346 344 A8A4725A151A825A004123FF /* ASCIICType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASCIICType.h; sourceTree = "<group>"; }; 347 345 A8A4725B151A825A004123FF /* Assertions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Assertions.cpp; sourceTree = "<group>"; }; … … 608 606 A8A47339151A825B004123FF /* threads */, 609 607 A8A47348151A825B004123FF /* unicode */, 610 A8A47254151A825A004123FF /* Alignment.h */,611 608 A8A4725A151A825A004123FF /* ASCIICType.h */, 612 609 A8A4725B151A825A004123FF /* Assertions.cpp */, … … 911 908 buildActionMask = 2147483647; 912 909 files = ( 913 A8A4737F151A825B004123FF /* Alignment.h in Headers */,914 910 A8A47385151A825B004123FF /* ASCIICType.h in Headers */, 915 911 A8A47434151A825B004123FF /* ASCIIFastPath.h in Headers */, -
trunk/Source/WTF/wtf/CMakeLists.txt
r155483 r155491 2 2 ASCIICType.h 3 3 AVLTree.h 4 Alignment.h5 4 Assertions.h 6 5 Atomics.h -
trunk/Source/WTF/wtf/text/ASCIIFastPath.h
r155484 r155491 27 27 #endif 28 28 #include <stdint.h> 29 #include <wtf/Alignment.h>30 29 #include <wtf/StdLibExtras.h> 31 30 #include <wtf/unicode/Unicode.h> -
trunk/Source/WebCore/ChangeLog
r155490 r155491 1 2013-09-10 Anders Carlsson <andersca@apple.com> 2 3 Remove wtf/Alignment.h 4 https://bugs.webkit.org/show_bug.cgi?id=121077 5 6 Reviewed by Andreas Kling. 7 8 * platform/PODArena.h: 9 (WebCore::PODArena::minAlignment): 10 * platform/graphics/cpu/arm/filters/FELightingNEON.h: 11 (WebCore::FELighting::platformApplyNeon): 12 1 13 2013-09-10 Zoltan Horvath <zoltan@webkit.org> 2 14 -
trunk/Source/WebCore/platform/PODArena.h
r155484 r155491 28 28 29 29 #include <stdint.h> 30 #include <wtf/Alignment.h>31 30 #include <wtf/Assertions.h> 32 31 #include <wtf/FastMalloc.h> … … 53 52 template <class T> static size_t minAlignment() 54 53 { 55 return WTF_ALIGN_OF(T);54 return std::alignment_of<T>::value; 56 55 } 57 56 -
trunk/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
r134767 r155491 30 30 #if CPU(ARM_NEON) && CPU(ARM_TRADITIONAL) && COMPILER(GCC) 31 31 32 #include <wtf/Alignment.h>33 34 32 namespace WebCore { 35 33 -
trunk/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
r134767 r155491 31 31 32 32 #include "FELighting.h" 33 #include <wtf/Alignment.h>34 33 #include <wtf/ParallelJobs.h> 35 34 … … 95 94 inline void FELighting::platformApplyNeon(LightingData& data, LightSource::PaintingData& paintingData) 96 95 { 97 WTF_ALIGNED(FELightingFloatArgumentsForNeon, floatArguments, 16); 96 union { 97 FELightingFloatArgumentsForNeon floatArguments; 98 std::aligned_storage<sizeof(FELightingFloatArgumentsForNeon), 16>::type forAlignment; 99 } alignedArguments; 100 101 auto& floatArguments = alignedArguments.floatArguments; 98 102 99 103 FELightingPaintingDataForNeon neonData = {
Note: See TracChangeset
for help on using the changeset viewer.