video_core/ast: Unindent most of IsFullyDecompiled() by one level
This commit is contained in:
parent
6c41d1cd7e
commit
d82b181d44
|
@ -340,8 +340,9 @@ public:
|
||||||
|
|
||||||
bool IsFullyDecompiled() const {
|
bool IsFullyDecompiled() const {
|
||||||
if (full_decompile) {
|
if (full_decompile) {
|
||||||
return gotos.size() == 0;
|
return gotos.empty();
|
||||||
} else {
|
}
|
||||||
|
|
||||||
for (ASTNode goto_node : gotos) {
|
for (ASTNode goto_node : gotos) {
|
||||||
auto label_index = goto_node->GetGotoLabel();
|
auto label_index = goto_node->GetGotoLabel();
|
||||||
if (!label_index) {
|
if (!label_index) {
|
||||||
|
@ -354,7 +355,6 @@ public:
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ASTNode GetProgram() const {
|
ASTNode GetProgram() const {
|
||||||
return main_node;
|
return main_node;
|
||||||
|
|
Reference in New Issue