moved global state from debug into vm
parent
396eeeba34
commit
c506abc6cd
|
@ -3,8 +3,6 @@
|
||||||
namespace factor
|
namespace factor
|
||||||
{
|
{
|
||||||
|
|
||||||
static bool fep_disabled;
|
|
||||||
static bool full_output;
|
|
||||||
|
|
||||||
void factorvm::print_chars(string* str)
|
void factorvm::print_chars(string* str)
|
||||||
{
|
{
|
||||||
|
@ -346,8 +344,6 @@ void dump_objects(cell type)
|
||||||
return vm->dump_objects(type);
|
return vm->dump_objects(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
cell look_for;
|
|
||||||
cell obj;
|
|
||||||
|
|
||||||
void factorvm::find_data_references_step(cell *scan)
|
void factorvm::find_data_references_step(cell *scan)
|
||||||
{
|
{
|
||||||
|
|
|
@ -252,6 +252,10 @@ struct factorvm {
|
||||||
template <typename TYPE> TYPE *reallot_array(TYPE *array_, cell capacity);
|
template <typename TYPE> TYPE *reallot_array(TYPE *array_, cell capacity);
|
||||||
|
|
||||||
//debug
|
//debug
|
||||||
|
bool fep_disabled;
|
||||||
|
bool full_output;
|
||||||
|
cell look_for;
|
||||||
|
cell obj;
|
||||||
void print_chars(string* str);
|
void print_chars(string* str);
|
||||||
void print_word(word* word, cell nesting);
|
void print_word(word* word, cell nesting);
|
||||||
void print_factor_string(string* str);
|
void print_factor_string(string* str);
|
||||||
|
@ -1073,7 +1077,6 @@ inline cell tag_boolean(cell untagged)
|
||||||
return vm->tag_boolean(untagged);
|
return vm->tag_boolean(untagged);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// next method here:
|
// next method here:
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue