Browse Source

[PATCH 09/83] update temp allocation debugging message

From faf29365e8104610bd62554c6edb16f9948c0782 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Tue, 3 Sep 2019 15:08:27 -0400

git-svn-id: branches/wasm@45886 -
nickysn 5 years ago
parent
commit
6a3bb89d3c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/wasm/agwat.pas

+ 2 - 2
compiler/wasm/agwat.pas

@@ -646,8 +646,8 @@ implementation
             else if tmp[i].tempsize = 8 then writer.AsmWrite('i64');
             writer.AsmWrite(')');
 
-            writer.AsmWriteLn(#9+asminfo^.comment+'Temp '+tostr(tai_tempalloc(hp).temppos)+','+
-              tostr(tai_tempalloc(hp).tempsize)+' '+tempallocstr[tai_tempalloc(hp).allocation]);
+            writer.AsmWriteLn(#9+asminfo^.comment+'Temp '+tostr(tmp[i].temppos)+','+
+              tostr(tmp[i].tempsize)+' '+tempallocstr[tmp[i].allocation]);
 
             writer.AsmLn;
           end;