Changeset 19631 in webkit for trunk/JavaScriptCore/wtf/VectorTraits.h
- Timestamp:
- Feb 14, 2007, 3:42:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/VectorTraits.h
r17127 r19631 61 61 static const bool canCopyWithMemcpy = false; 62 62 static const bool canFillWithMemset = false; 63 static const bool canCompareWithMemcmp = false; 63 64 }; 64 65 … … 72 73 static const bool canCopyWithMemcpy = true; 73 74 static const bool canFillWithMemset = sizeof(T) == sizeof(char); 75 static const bool canCompareWithMemcmp = true; 74 76 }; 75 77 … … 85 87 static const bool canCopyWithMemcpy = false; 86 88 static const bool canFillWithMemset = false; 89 static const bool canCompareWithMemcmp = true; 87 90 }; 88 91 … … 104 107 static const bool canCopyWithMemcpy = FirstTraits::canCopyWithMemcpy && SecondTraits::canCopyWithMemcpy; 105 108 static const bool canFillWithMemset = false; 109 static const bool canCompareWithMemcmp = FirstTraits::canCompareWithMemcmp && SecondTraits::canCompareWithMemcmp; 106 110 }; 107 111
Note:
See TracChangeset
for help on using the changeset viewer.