|
From: | grischka |
Subject: | Re: [Tinycc-devel] BUG: called function should pop the arguments when using fastcall |
Date: | Wed, 23 Aug 2017 14:42:47 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
张博洋 wrote:
Hello,I found that TCC implement 'fastcall' that the calling function pops arguments. However, according to MSDN (https://msdn.microsoft.com/en-us/library/6xa169sk.aspx), the called function should pop arguments when using fastcall. I provided a patch and I have already pushed it to the mob branch, since I'm new to TCC and compilers, please review my patch carefully. I also wrote a test case which is in attachments, you may use the testcase to discover the problem.
Did someone try this on Linux? The wanted behavior might be different. -- gr
Thanks Zhang Boyang
[Prev in Thread] | Current Thread | [Next in Thread] |