From 9926e82a82d2d5ede22a4a48983ab1bfac5a1c87 Mon Sep 17 00:00:00 2001 From: Anthony Pesch Date: Sun, 8 Oct 2017 23:34:08 -0400 Subject: [PATCH] fix tools bitrot --- tools/recc/main.c | 6 +++--- tools/retex/main.c | 2 +- tools/retrace/main.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/recc/main.c b/tools/recc/main.c index 53a51c5c..c893b39b 100644 --- a/tools/recc/main.c +++ b/tools/recc/main.c @@ -1,5 +1,5 @@ +#include "core/core.h" #include "core/filesystem.h" -#include "core/log.h" #include "core/option.h" #include "jit/backend/x64/x64_backend.h" #include "jit/ir/ir.h" @@ -16,8 +16,8 @@ DEFINE_OPTION_STRING(pass, "cfa,lse,cprop,esimp,dce,ra", "Comma-separated list of passes to run"); -DEFINE_STAT(ir_instrs_total, "total ir instructions"); -DEFINE_STAT(ir_instrs_removed, "removed ir instructions"); +DEFINE_PASS_STAT(ir_instrs_total, "total ir instructions"); +DEFINE_PASS_STAT(ir_instrs_removed, "removed ir instructions"); DEFINE_JIT_CODE_BUFFER(code); static uint8_t ir_buffer[1024 * 1024]; diff --git a/tools/retex/main.c b/tools/retex/main.c index 29a6ee28..4e91b9d7 100644 --- a/tools/retex/main.c +++ b/tools/retex/main.c @@ -1,5 +1,5 @@ #include -#include "core/assert.h" +#include "core/core.h" #include "core/filesystem.h" #include "guest/pvr/tex.h" diff --git a/tools/retrace/main.c b/tools/retrace/main.c index fb065202..f9cda45e 100644 --- a/tools/retrace/main.c +++ b/tools/retrace/main.c @@ -1,4 +1,4 @@ -#include "core/log.h" +#include "core/core.h" extern int cmd_depth(int argc, const char **argv);