diff options
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 1a28df7fb..16bc44101 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) { | |||
| 20 | if (root.type != AbstractSyntaxNode::Type::Block) { | 20 | if (root.type != AbstractSyntaxNode::Type::Block) { |
| 21 | throw LogicError("First node in abstract syntax list root is not a block"); | 21 | throw LogicError("First node in abstract syntax list root is not a block"); |
| 22 | } | 22 | } |
| 23 | Block* const first_block{root.block}; | 23 | Block* const first_block{root.data.block}; |
| 24 | visited.insert(first_block); | 24 | visited.insert(first_block); |
| 25 | block_stack.push_back(first_block); | 25 | block_stack.push_back(first_block); |
| 26 | 26 | ||