misc: remove #include <cassert> from misc.hh since not everyone needs it.

This commit is contained in:
Nathan Binkert 2008-10-10 10:15:00 -07:00
parent 94b08bed07
commit 5586b1539b
6 changed files with 12 additions and 5 deletions

View file

@ -30,6 +30,8 @@
* Kevin Lim
*/
#include <cassert>
#include "arch/alpha/miscregfile.hh"
#include "base/misc.hh"

View file

@ -31,6 +31,8 @@
#ifndef __ARCH_SPARC_PAGETABLE_HH__
#define __ARCH_SPARC_PAGETABLE_HH__
#include <cassert>
#include "arch/sparc/isa_traits.hh"
#include "base/bitfield.hh"
#include "base/misc.hh"

View file

@ -55,6 +55,8 @@
* Authors: Gabe Black
*/
#include <cassert>
#include "arch/x86/emulenv.hh"
#include "base/misc.hh"

View file

@ -58,6 +58,8 @@
#ifndef __ARCH_X86_PREDECODER_HH__
#define __ARCH_X86_PREDECODER_HH__
#include <cassert>
#include "arch/x86/types.hh"
#include "base/bitfield.hh"
#include "base/misc.hh"

View file

@ -29,6 +29,7 @@
* Ali Saidi
*/
#include <cassert>
#include <string>
#include "gelf.h"

View file

@ -29,10 +29,8 @@
* Dave Greene
*/
#ifndef __MISC_HH__
#define __MISC_HH__
#include <cassert>
#ifndef __BASE_MISC_HH__
#define __BASE_MISC_HH__
#include "base/compiler.hh"
#include "base/cprintf.hh"
@ -113,4 +111,4 @@ __warn(const char *func, const char *file, int line, const std::string &format,
} \
} while (0)
#endif // __MISC_HH__
#endif // __BASE_MISC_HH__