Browse Source

* fixed ti8086vecnode.get_address_type not returning result

git-svn-id: branches/wasm@48377 -
nickysn 4 years ago
parent
commit
f5d75423b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/i8086/n8086mem.pas

+ 1 - 1
compiler/i8086/n8086mem.pas

@@ -189,7 +189,7 @@ implementation
 
     function ti8086vecnode.get_address_type: tdef;
       begin
-        tx86pointerdef(cpointerdef).getreusablex86(resultdef,x86pt_near);
+        result:=tx86pointerdef(cpointerdef).getreusablex86(resultdef,x86pt_near);
       end;