| 470 | |
| 471 | #if !defined(TORQUE_DISABLE_MEMORY_MANAGER) |
| 472 | static void rotateLeft(TreeNode *hdr) |
| 473 | { |
| 474 | TreeNode *temp = hdr->right; |
| 475 | hdr->right = temp->left; |
| 476 | if(temp->left != NIL) |
| 477 | temp->left->parent = hdr; |
| 478 | temp->parent = hdr->parent; |
| 479 | if(temp->parent == NIL) |
| 480 | gFreeTreeRoot = temp; |
| 481 | else if(hdr == hdr->parent->left) |
| 482 | hdr->parent->left = temp; |
| 483 | else |
| 484 | hdr->parent->right = temp; |
| 485 | temp->left = hdr; |
| 486 | hdr->parent = temp; |
| 487 | } |
| 488 | #endif |
| 489 | |
| 490 | #if !defined(TORQUE_DISABLE_MEMORY_MANAGER) |
no outgoing calls
no test coverage detected