Browse Source

* Replace asm block with pascal in setreference

michael 6 years ago
parent
commit
2742723507
1 changed files with 1 additions and 3 deletions
  1. 1 3
      packages/rtl/classes.pas

+ 1 - 3
packages/rtl/classes.pas

@@ -4375,9 +4375,7 @@ begin
         aValue:= Self
       else
         aValue := nil;
-      asm
-      aOwner[aField.name]=aValue;
-      end;
+      TJSObject(aOwner)[String(TJSObject(aField)['name'])]:=aValue;
       end;
   end;
 end;