diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-03-05 17:36:37 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-03-05 17:36:37 +0100 |
| commit | e0f904856b3d665a84b4342b79967b97a3739545 (patch) | |
| tree | 6bcf9d5aaed252c9416c867e508942d54b97bb65 /show-parse.c | |
| parent | 41222364c4a6ba9e515df5eee96ae6262735fdc6 (diff) | |
| parent | 778de2bf52a2bed588d1653aaebe2cbd25f80eac (diff) | |
| download | sparse-dev-e0f904856b3d665a84b4342b79967b97a3739545.tar.gz | |
Merge branch 'slice'
* slice: small reorg of OP_SLICE in preparation for some incoming changes
Diffstat (limited to 'show-parse.c')
| -rw-r--r-- | show-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show-parse.c b/show-parse.c index 3ab8ec8f..e2fc18bb 100644 --- a/show-parse.c +++ b/show-parse.c @@ -819,7 +819,7 @@ static int show_slice(struct expression *expr) { int target = show_expression(expr->base); int new = new_pseudo(); - printf("\tslice.%d\t\tv%d,v%d,%d\n", expr->r_nrbits, target, new, expr->r_bitpos); + printf("\tslice.%d\t\tv%d,v%d,%d\n", expr->ctype->bit_size, target, new, expr->r_bitpos); return new; } |
