diff options
author | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-04-03 16:54:01 +0000 |
---|---|---|
committer | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-04-03 16:54:01 +0000 |
commit | 6ba6e9629c33b31b3bc76b23e6e789fbd7c80d4a (patch) | |
tree | 65bf0301eb31a5ae3669fe4aed22eb959eade1d8 /compiler/ncgutil.pas | |
parent | 81e479a90fb45e0ce60287339c9a1508a622df05 (diff) | |
download | fpc-6ba6e9629c33b31b3bc76b23e6e789fbd7c80d4a.tar.gz |
+ added size info to the 'Var X located at' comment generated in the asm output
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27454 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ncgutil.pas')
-rw-r--r-- | compiler/ncgutil.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/ncgutil.pas b/compiler/ncgutil.pas index e0689a512b..2184f391b1 100644 --- a/compiler/ncgutil.pas +++ b/compiler/ncgutil.pas @@ -1515,7 +1515,8 @@ implementation begin if not assigned(vs.initialloc.reference.symbol) then list.concat(Tai_comment.Create(strpnew('Var '+vs.realname+' located at '+ - std_regname(vs.initialloc.reference.base)+tostr_with_plus(vs.initialloc.reference.offset)))); + std_regname(vs.initialloc.reference.base)+tostr_with_plus(vs.initialloc.reference.offset)+ + ', size='+tcgsize2str(vs.initialloc.size)))); end; end; end; |