moved global state from debug into vm

db4
Phil Dawes 2009-08-17 21:37:13 +01:00
parent 396eeeba34
commit c506abc6cd
2 changed files with 4 additions and 5 deletions

View File

@ -3,8 +3,6 @@
namespace factor
{
static bool fep_disabled;
static bool full_output;
void factorvm::print_chars(string* str)
{
@ -346,8 +344,6 @@ void dump_objects(cell type)
return vm->dump_objects(type);
}
cell look_for;
cell obj;
void factorvm::find_data_references_step(cell *scan)
{

View File

@ -252,6 +252,10 @@ struct factorvm {
template <typename TYPE> TYPE *reallot_array(TYPE *array_, cell capacity);
//debug
bool fep_disabled;
bool full_output;
cell look_for;
cell obj;
void print_chars(string* str);
void print_word(word* word, cell nesting);
void print_factor_string(string* str);
@ -1073,7 +1077,6 @@ inline cell tag_boolean(cell untagged)
return vm->tag_boolean(untagged);
}
// next method here: