Commit 5298fb04 authored by Benoit Perrot's avatar Benoit Perrot
Browse files

2005-03-08 Benoît Perrot <benoit@lrde.epita.fr>

	* src/vm/table.hh: Move to...
	* src/misc/table.hh: This file.
	* src/vm/cpu.hh: Update accordingly.
parent d0a692ef
2005-03-08 Benoît Perrot <benoit@lrde.epita.fr>
* src/vm/table.hh: Move to...
* src/misc/table.hh: This file.
* src/vm/cpu.hh: Update accordingly.
2005-03-08 Benoît Perrot <benoit@lrde.epita.fr>
Prefer explicit function calls to constructor optional arguments
......
......@@ -16,14 +16,16 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
#ifndef VM_TABLE_HH
# define VM_TABLE_HH
#ifndef MISC_TABLE_HH
# define MISC_TABLE_HH
# include <iostream>
# include <list>
# include <map>
namespace vm
# include "misc/contract.hh"
namespace misc
{
template <class Key_T, class Entry_T>
......@@ -100,6 +102,6 @@ namespace vm
return ostr;
}
} // namespace vm
} // namespace misc
#endif // !VM_TABLE_HH
#endif // !MISC_TABLE_HH
......@@ -27,13 +27,14 @@
# include <stack>
# include "misc/table.hh"
# include "inst/visitor.hh"
# include "inst/register.hh"
# include "inst/program.hh"
# include "vm/mmu.hh"
# include "vm/cp0.hh"
# include "vm/table.hh"
namespace vm
{
......@@ -257,7 +258,7 @@ namespace vm
register_type pc_;
/// Unlimited registers.
Table<int, register_type> unlimited_;
misc::Table<int, register_type> unlimited_;
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment