diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-05-16 17:06:13 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:31 -0400 |
commit | f7a2340205b4fa2db32403f20d7b7afe32b15f33 (patch) | |
tree | 22059632c5f3bf068e686997d833368f6c22f6ec /src/shader_recompiler/frontend/ir/post_order.cpp | |
parent | d4f9c798d652b0a225a47ab9032dd56dc49fa0d0 (diff) |
shader_recompiler: GCC fixes
Fixes members of unnamed union not being accessible, and one function
without a declaration.
Diffstat (limited to 'src/shader_recompiler/frontend/ir/post_order.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/ir/post_order.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/post_order.cpp b/src/shader_recompiler/frontend/ir/post_order.cpp index 1a28df7fbe..16bc441018 100644 --- a/src/shader_recompiler/frontend/ir/post_order.cpp +++ b/src/shader_recompiler/frontend/ir/post_order.cpp @@ -20,7 +20,7 @@ BlockList PostOrder(const AbstractSyntaxNode& root) { if (root.type != AbstractSyntaxNode::Type::Block) { throw LogicError("First node in abstract syntax list root is not a block"); } - Block* const first_block{root.block}; + Block* const first_block{root.data.block}; visited.insert(first_block); block_stack.push_back(first_block); |