put back bug_on() following brlib change
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#ifndef HASH_H
|
#ifndef HASH_H
|
||||||
#define HASH_H
|
#define HASH_H
|
||||||
|
|
||||||
//#include <bug.h>
|
#include <bug.h>
|
||||||
|
|
||||||
#include "chessdefs.h"
|
#include "chessdefs.h"
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ bool zobrist_verify(pos_t *pos);
|
|||||||
*/
|
*/
|
||||||
static inline void tt_prefetch(hkey_t key)
|
static inline void tt_prefetch(hkey_t key)
|
||||||
{
|
{
|
||||||
// bug_on(!hash_tt.keys);
|
bug_on(!hash_tt.keys);
|
||||||
__builtin_prefetch(hash_tt.keys + (key & hash_tt.mask));
|
__builtin_prefetch(hash_tt.keys + (key & hash_tt.mask));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#include <brlib.h>
|
#include <brlib.h>
|
||||||
#include <bitops.h>
|
#include <bitops.h>
|
||||||
#include <struct-group.h>
|
#include <struct-group.h>
|
||||||
// #include <bug.h>
|
#include <bug.h>
|
||||||
|
|
||||||
#include "chessdefs.h"
|
#include "chessdefs.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
Reference in New Issue
Block a user