diff options
| author | jiang <30155751@qq.com> | 2014-05-03 23:51:09 +0800 |
|---|---|---|
| committer | jiang <30155751@qq.com> | 2014-05-03 23:51:09 +0800 |
| commit | 089dea355a28da44376ce4f5195baa4b4e0b217d (patch) | |
| tree | 6b06240e0d4f7271d3e165cbf962750e689e566c /x86_64-gen.c | |
| parent | a0d45c1bcd87d2388817076ac9b62343d8ae04c3 (diff) | |
| download | tinycc-089dea355a28da44376ce4f5195baa4b4e0b217d.tar.gz tinycc-089dea355a28da44376ce4f5195baa4b4e0b217d.tar.bz2 | |
tcc on i386 are still having problems at work.Thank Roy report again. Struck on several variables can be connected to commit in the register. I am worried whether tcc can run the os. Since my machine is ubuntu 64 bits I can test my machine.
Diffstat (limited to 'x86_64-gen.c')
| -rw-r--r-- | x86_64-gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c index 7a79278..2b52bb1 100644 --- a/x86_64-gen.c +++ b/x86_64-gen.c @@ -408,7 +408,7 @@ void load(int r, SValue *sv) if(fr & VT_TMP){ int size, align; if((ft & VT_BTYPE) == VT_FUNC) - size = 8; + size = PTR_SIZE; else size = type_size(&sv->type, &align); loc_stack(size, 0); |
