commit 2086dbb6ec0ecf0727d928c28ec383661435f7f7
parent 4eaab72f2940c1e67270fec8db73eac550e49004
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 2 Jul 2021 10:46:18 -0400
gen: simplify =w constants
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/gen.c b/src/gen.c
@@ -114,12 +114,8 @@ gen_expr_constant(struct gen_context *ctx,
case STORAGE_CHAR:
case STORAGE_I8:
case STORAGE_U8:
- constw(&qval, constexpr->uval);
- break;
case STORAGE_I16:
case STORAGE_U16:
- constw(&qval, constexpr->uval);
- break;
case STORAGE_I32:
case STORAGE_U32:
case STORAGE_INT: