Revert changes.
[repair.git] / Repair / RepairCompiler / MCC / Runtime / tmap.h
index 87da756c80c2ef059a651a96f13c5891d265f287..85f8619f044d5acc251178c42e3133470578f97d 100755 (executable)
@@ -1,6 +1,6 @@
 #ifndef TMAP_H
 #define TMAP_H
-class typeobject;
+#include "classlist.h"
 
 class typemap {
  public:
@@ -10,14 +10,19 @@ class typemap {
   void deallocate(void *);
   bool assertvalidmemory(void* low, void* high);
   bool asserttype(void *ptr, void *high, int structure);
+  bool assertvalidmemory(void* low, int structure);
+  bool asserttype(void *ptr, int structure);
   bool istype(void *ptr, void *high, int structure);
   void reset();
+  typeobject *size;
+  void initializestack(void *high);
  private:
+  void *low;
+  void *high;
   bool checkmemory(void* low, void* high);
   bool checktype(bool doaction,void *ptr, int structure);
   bool checktype(bool doaction, void *low, void *high,int structure, struct rbtree *ttree);
   int findoffsetstructure(int s, int offset);
-  typeobject *size;
   struct rbtree *alloctree;
   struct rbtree *typetree;
 };