Retire do_capture_move()

It is called only in do_move() that now has been fully
expanded. This is the most time consuming function of
all the engine.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-10-30 10:57:00 +01:00
parent 08abe8b4a3
commit fd5d6c5340
2 changed files with 58 additions and 67 deletions

View File

@@ -217,7 +217,6 @@ private:
bool move_is_legal(const Move m) const;
// Helper functions for doing and undoing moves
void do_capture_move(Key& key, PieceType capture, Color them, Square to, bool ep);
template<bool Do> void do_castle_move(Move m);
template<bool FindPinned>