Merge pull request #19 from weltling/ir_test_ws

ir_test: Ident and whitespace fixes
This commit is contained in:
Dmitry Stogov 2023-03-20 09:38:58 +03:00 committed by GitHub
commit 7ddca6d7b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,9 @@ void run(mandelbrot_t mandelbrot)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
ir_ctx ctx; ir_ctx ctx;
FILE *f; FILE *f;
int i; int i;
int opt_level = 2; int opt_level = 2;
uint32_t mflags = 0; uint32_t mflags = 0;
uint64_t debug_regset = 0xffffffffffffffff; uint64_t debug_regset = 0xffffffffffffffff;
@ -134,7 +134,7 @@ int main(int argc, char **argv)
} }
} }
ir_init(&ctx, 256, 1024); ir_init(&ctx, 256, 1024);
ctx.flags |= IR_FUNCTION; ctx.flags |= IR_FUNCTION;
ctx.flags |= mflags; ctx.flags |= mflags;
if (opt_level > 0) { if (opt_level > 0) {