]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Revert previous patch
[stockfish] / src / movepick.cpp
index 06ea5e25d2da257d57a1668e0ed3d2c10aa6384d..8baf32a4cfa6e9c814c1c76684713206dbaab475 100644 (file)
@@ -140,15 +140,6 @@ MovePicker::MovePicker(const Position& p, Move ttm, const HistoryStats& h, Piece
 }
 
 
-/// stage_moves() returns a pointer to the beginning of moves array. It
-/// is used to access already tried quiet moves when updating history.
-
-const ExtMove* MovePicker::stage_moves() const {
-  assert(stage == KILLERS_S1 || stage == QUIETS_1_S1 || stage == QUIETS_2_S1);
-  return stage == KILLERS_S1 ? killers : moves;
-}
-
-
 /// score() assign a numerical move ordering score to each move in a move list.
 /// The moves with highest scores will be picked first.
 template<>