We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0c26f commit f4ed12eCopy full SHA for f4ed12e
README.md
@@ -21,7 +21,7 @@ Once you do that, you can start adding functions, global variables, and generati
21
let main = builder.addFunction(name: "main",
22
type: FunctionType(argTypes: [],
23
returnType: VoidType())
24
-let entry = builder.appendBasicBlock(named: "entry")
+let entry = function.appendBasicBlock(named: "entry")
25
builder.positionAtEnd(of: entry)
26
27
builder.buildRetVoid()
0 commit comments