Преглед на файлове

* simplified tx86pointerdef.createx86

git-svn-id: trunk@32064 -
Jonas Maebe преди 10 години
родител
ревизия
9b310ea9b4
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  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;