Browse Source

* tx86pointertyp moved from unit symdef to symconst, so it can be used by ppudump

git-svn-id: trunk@24547 -
nickysn 12 years ago
parent
commit
f571aebdd0
3 changed files with 4 additions and 4 deletions
  1. 3 0
      compiler/symconst.pas
  2. 0 3
      compiler/symdef.pas
  3. 1 1
      compiler/x86/nx86mem.pas

+ 3 - 0
compiler/symconst.pas

@@ -641,6 +641,9 @@ type
     dbg_state_queued
   );
 
+  tx86pointertyp = (x86pt_near, x86pt_near_cs, x86pt_near_ds, x86pt_near_ss,
+    x86pt_near_es, x86pt_near_fs, x86pt_near_gs, x86pt_far, x86pt_huge);
+
 var
   clearstack_pocalls : tproccalloptions;
   cdecl_pocalls      : tproccalloptions;

+ 0 - 3
compiler/symdef.pas

@@ -175,9 +175,6 @@ interface
        end;
 
 {$ifdef x86}
-       tx86pointertyp = (x86pt_near, x86pt_near_cs, x86pt_near_ds, x86pt_near_ss,
-         x86pt_near_es, x86pt_near_fs, x86pt_near_gs, x86pt_far, x86pt_huge);
-
     const
        { TODO: make this depend on the memory model, when other memory models are supported }
        default_x86_data_pointer_type = x86pt_near;

+ 1 - 1
compiler/x86/nx86mem.pas

@@ -46,7 +46,7 @@ implementation
       cutils,verbose,
       aasmtai,aasmdata,
       cgutils,cgobj,
-      symdef;
+      symconst,symdef;
 
 {*****************************************************************************
                            TX86DEREFNODE