Retire ss->bestMove

And introduce SPlitPoint bestMove to pass back the
best move after a split point.

This allow to define as const the search stack passed
to split.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-02-20 14:21:25 +01:00
parent 43f84efa15
commit 2608b9249d
4 changed files with 33 additions and 30 deletions
-1
View File
@@ -39,7 +39,6 @@ struct Stack {
int ply;
Move currentMove;
Move excludedMove;
Move bestMove;
Move killers[2];
Depth reduction;
Value eval;