Retire piece_type_from_char()

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-02-23 14:17:18 +01:00
parent 2511386155
commit 5b2ac7590c
3 changed files with 7 additions and 32 deletions
+4
View File
@@ -93,6 +93,10 @@ private:
//// Inline functions
////
inline Square pawn_push(Color c) {
return c == WHITE ? DELTA_N : DELTA_S;
}
inline void PawnInfoTable::prefetch(Key key) const {
unsigned index = unsigned(key & (PawnTableSize - 1));