moved global state from dispatch into vm
parent
c506abc6cd
commit
498b1917dc
|
@ -3,9 +3,6 @@
|
|||
namespace factor
|
||||
{
|
||||
|
||||
cell megamorphic_cache_hits;
|
||||
cell megamorphic_cache_misses;
|
||||
|
||||
cell factorvm::search_lookup_alist(cell table, cell klass)
|
||||
{
|
||||
array *elements = untag<array>(table);
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
namespace factor
|
||||
{
|
||||
|
||||
extern cell megamorphic_cache_hits;
|
||||
extern cell megamorphic_cache_misses;
|
||||
|
||||
cell lookup_method(cell object, cell methods);
|
||||
PRIMITIVE(lookup_method);
|
||||
|
||||
|
|
|
@ -559,6 +559,8 @@ struct factorvm {
|
|||
inline void vmprim_quot_compiled_p();
|
||||
|
||||
//dispatch
|
||||
cell megamorphic_cache_hits;
|
||||
cell megamorphic_cache_misses;
|
||||
cell search_lookup_alist(cell table, cell klass);
|
||||
cell search_lookup_hash(cell table, cell klass, cell hashcode);
|
||||
cell nth_superclass(tuple_layout *layout, fixnum echelon);
|
||||
|
|
Loading…
Reference in New Issue