jdk改成21
This commit is contained in:
parent
fa5786d907
commit
6985240b96
@ -92,7 +92,7 @@ public final class BasicIRBuilder {
|
||||
}
|
||||
|
||||
// 编译函数体中的每条语句
|
||||
for (StatementNode stmt : functionNode.body()) stmt(stmt);
|
||||
for (StatementNode statementNode : functionNode.body()) stmt(statementNode);
|
||||
|
||||
// 如果函数末尾没有 return,自动添加一个 return(无返回值)
|
||||
if (currentFn.body().isEmpty() || !(currentFn.body().getLast() instanceof ReturnInstruction))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user