diff options
| author | David Given <dg@cowlark.com> | 2008-12-17 22:01:16 +0300 |
|---|---|---|
| committer | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-12-17 22:01:16 +0300 |
| commit | eb800bdc37916dc96dfbd5b424dea3e6cde2409b (patch) | |
| tree | 5a3d8d4cb7680c3890541c74c41747da3e32fe40 /compile-i386.c | |
| parent | e45e23489743c2c6e316008d1fbf11422cf0f4a9 (diff) | |
| download | sparse-dev-eb800bdc37916dc96dfbd5b424dea3e6cde2409b.tar.gz | |
Unhardcode byte size being 8 bits.
Signed-off-by: David Given <dg@cowlark.com>
[negative value division fixed by alexey.zaytsev@gmal.com]
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'compile-i386.c')
| -rw-r--r-- | compile-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compile-i386.c b/compile-i386.c index 8526408d..37ea52ee 100644 --- a/compile-i386.c +++ b/compile-i386.c @@ -2081,7 +2081,7 @@ static struct storage *x86_call_expression(struct expression *expr) insn("pushl", new, NULL, !framesize ? "begin function call" : NULL); - framesize += size >> 3; + framesize += bits_to_bytes(size); } END_FOR_EACH_PTR_REVERSE(arg); fn = expr->fn; |
