diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-22 03:42:38 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:22 +0200 |
commit | 274897dfd59b4d08029ab7e93be4f84654abcdc8 (patch) | |
tree | 083336a4d665476a87b888368878a311a7edab2a /src/shader_recompiler/frontend/ir | |
parent | shader: Rename, implement FADD.SAT and P2R (imm) (diff) | |
download | yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.tar yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.tar.gz yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.tar.bz2 yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.tar.lz yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.tar.xz yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.tar.zst yuzu-274897dfd59b4d08029ab7e93be4f84654abcdc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/frontend/ir/structured_control_flow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shader_recompiler/frontend/ir/structured_control_flow.cpp b/src/shader_recompiler/frontend/ir/structured_control_flow.cpp index d145095d1..032ac8fda 100644 --- a/src/shader_recompiler/frontend/ir/structured_control_flow.cpp +++ b/src/shader_recompiler/frontend/ir/structured_control_flow.cpp @@ -272,11 +272,9 @@ public: explicit GotoPass(std::span<Block* const> blocks, ObjectPool<Statement>& stmt_pool) : pool{stmt_pool} { std::vector gotos{BuildUnorderedTreeGetGotos(blocks)}; - fmt::print(stdout, "BEFORE\n{}\n", DumpTree(root_stmt.children)); for (const Node& goto_stmt : gotos | std::views::reverse) { RemoveGoto(goto_stmt); } - fmt::print(stdout, "AFTER\n{}\n", DumpTree(root_stmt.children)); } Statement& RootStatement() noexcept { @@ -548,7 +546,6 @@ private: size_t Offset(ConstNode stmt) const { size_t offset{0}; if (!SearchNode(root_stmt.children, stmt, offset)) { - fmt::print(stdout, "{}\n", DumpTree(root_stmt.children)); throw LogicError("Node not found in tree"); } return offset; |