Merge generate_direct_checks() in generate_moves()
authorMarco Costalba <mcostalba@gmail.com>
Wed, 22 Aug 2012 09:13:09 +0000 (10:13 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 22 Aug 2012 10:34:52 +0000 (11:34 +0100)
commit4e619a13d6671db198bc9c39d54dd7f243ef5873
treed93ce5f56a9b97730efc15e92fe2103182257aab
parent0de92576100bba948cae854ebb9cd5a7a9502b43
Merge generate_direct_checks() in generate_moves()

Further reduce redundancy in move generation.
Veirifed no speed regression on MSVC, Clang and gcc.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movegen.cpp