]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Unify undo_ep_move(m)
[stockfish] / src / movepick.cpp
index af530c5c3e6159b5b24da0ba633bc9fc770ef6d0..77c42efac8026716cd14237ddbe966a5d1bd0785 100644 (file)
@@ -42,12 +42,12 @@ namespace {
 
   /// Variables
 
-  MovePicker::MovegenPhase PhaseTable[32];
+  CACHE_LINE_ALIGNMENT
   int MainSearchPhaseIndex;
   int EvasionsPhaseIndex;
   int QsearchWithChecksPhaseIndex;
   int QsearchWithoutChecksPhaseIndex;
-
+  uint8_t PhaseTable[32];
 }
 
 
@@ -147,7 +147,7 @@ Move MovePicker::get_next_move() {
         movesPicked = numOfMoves = 0;
         if (killer1 != MOVE_NONE && move_is_legal(pos, killer1, pinned) && !pos.move_is_capture(killer1))
             moves[numOfMoves++].move = killer1;
-        if (killer2 != MOVE_NONE && move_is_legal(pos, killer2, pinned) && !pos.move_is_capture(killer2) )
+        if (killer2 != MOVE_NONE && move_is_legal(pos, killer2, pinned) && !pos.move_is_capture(killer2))
             moves[numOfMoves++].move = killer2;
         break;