]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Shortcut sorting when no move is in history
[stockfish] / src / movepick.h
index 10f0e8ef5c66a7ee30ddba345063b332c5de40db..b60dfe06ac0c224717c652458e2911a59dacdfd0 100644 (file)
@@ -81,13 +81,13 @@ private:
   Move ttMove, mateKiller, killer1, killer2;
   Bitboard pinned, dc;
   MoveStack moves[256], badCaptures[64];
-  static MovegenPhase PhaseTable[32];
   bool pvNode;
   Depth depth;
   int phaseIndex;
   int numOfMoves, numOfBadCaptures;
   int movesPicked, badCapturesPicked;
   bool finished;
+  bool All_zero;
 };
 
 
@@ -99,10 +99,6 @@ private:
 /// all pieces which can possibly give discovered check.  This bitboard is
 /// computed by the constructor function.
 
-inline MovePicker::MovegenPhase MovePicker::current_move_type() const {
-  return PhaseTable[phaseIndex];
-}
-
 inline Bitboard MovePicker::discovered_check_candidates() const {
   return dc;
 }