Changeset 185711 in webkit
- Timestamp:
- Jun 18, 2015, 11:05:52 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r185710 r185711 1 2015-06-18 Mark Lam <mark.lam@apple.com> 2 3 Refactor CheckedArithmeticOperations.cpp to use templates instead of macros. 4 https://bugs.webkit.org/show_bug.cgi?id=146103 5 6 Not reviewed. 7 8 Follow up to fix some typos not caught before original patch was landed. 9 10 * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp: 11 (TestWebKitAPI::CheckedArithmeticTester::run): 12 (TestWebKitAPI::AllowMixedSignednessTest::run): 13 (TestWebKitAPI::IgnoreMixedSignednessTest::run): 14 1 15 2015-06-18 Daniel Bates <dabates@apple.com> 2 16 -
trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp
r185708 r185711 34 34 typedef Coercer<type> CoercerType; \ 35 35 typedef MixedSignednessTester<type, CoercerType> MixedSignednessTesterType; \ 36 CheckedArithmeticTester<type, CoercerType, MixedSignednessTesterType> (); \36 CheckedArithmeticTester<type, CoercerType, MixedSignednessTesterType>::run(); \ 37 37 } 38 38 39 #define coerceLiteral(x) Coer ser::coerce(x)39 #define coerceLiteral(x) Coercer::coerce(x) 40 40 41 template <typename type, typename Coer ser, typename MixedSignednessTester>41 template <typename type, typename Coercer, typename MixedSignednessTester> 42 42 class CheckedArithmeticTester { 43 43 public: … … 126 126 }; 127 127 128 template <typename type, typename Coer ser>128 template <typename type, typename Coercer> 129 129 class AllowMixedSignednessTest { 130 130 public: … … 165 165 }; 166 166 167 template <typename type, typename Coer ser>167 template <typename type, typename Coercer> 168 168 class IgnoreMixedSignednessTest { 169 169 public:
Note:
See TracChangeset
for help on using the changeset viewer.