Changeset 38259 in webkit for trunk/JavaScriptCore
- Timestamp:
- Nov 10, 2008, 7:03:44 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r38250 r38259 1 2008-11-10 Alexey Proskuryakov <[email protected]> 2 3 Reviewed by Adam Roben. 4 5 A few coding style fixes for AVLTree. 6 7 * wtf/AVLTree.h: Moved to WTF namespace, Removed "KJS_" from include guards. 8 (WTF::AVLTree::Iterator::start_iter): Fixed indentation 9 10 * runtime/JSArray.cpp: Added "using namepace WTF". 11 1 12 2008-11-09 Cameron Zwarich <[email protected]> 2 13 -
trunk/JavaScriptCore/runtime/JSArray.cpp
r38139 r38259 33 33 34 34 using namespace std; 35 using namespace WTF; 35 36 36 37 namespace JSC { -
trunk/JavaScriptCore/wtf/AVLTree.h
r38190 r38259 30 30 */ 31 31 32 #ifndef KJS_AVL_TREE_H_33 #define KJS_AVL_TREE_H_32 #ifndef AVL_TREE_H_ 33 #define AVL_TREE_H_ 34 34 35 35 #include "Assertions.h" 36 36 37 namespace JSC{37 namespace WTF { 38 38 39 39 // Here is the reference class for BSet. … … 204 204 } 205 205 cmp = -target_cmp; 206 } else if (target_cmp != 0) 207 if (!((cmp ^ target_cmp) & MASK_HIGH_BIT)) 206 } else if (target_cmp != 0) { 207 if (!((cmp ^ target_cmp) & MASK_HIGH_BIT)) { 208 208 // cmp and target_cmp are both negative or both positive. 209 209 depth = d; 210 h = cmp < 0 ? get_lt(h) : get_gt(h); 211 if (h == null()) 212 break; 213 branch[d] = cmp > 0; 214 path_h[d++] = h; 210 } 211 } 212 h = cmp < 0 ? get_lt(h) : get_gt(h); 213 if (h == null()) 214 break; 215 branch[d] = cmp > 0; 216 path_h[d++] = h; 215 217 } 216 218 }
Note:
See TracChangeset
for help on using the changeset viewer.