Parcourir la source

* simplified tx86pointerdef.createx86

git-svn-id: trunk@32064 -
Jonas Maebe il y a 9 ans
Parent
commit
9b310ea9b4
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      compiler/x86/symx86.pas

+ 2 - 3
compiler/x86/symx86.pas

@@ -121,9 +121,8 @@ implementation
 
   constructor tx86pointerdef.createx86(def: tdef; x86typ: tx86pointertyp);
     begin
-      tabstractpointerdef(self).create(pointerdef,def);
-      x86pointertyp := x86typ;
-      has_pointer_math:=cs_pointermath in current_settings.localswitches;
+      inherited create(def);
+      x86pointertyp:=x86typ;
     end;