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 12e6719 commit 9a34039Copy full SHA for 9a34039
lib/SILGen/SILGenGlobalVariable.cpp
@@ -152,9 +152,6 @@ struct GenGlobalAccessors : public PatternVisitor<GenGlobalAccessors>
152
/// The function containing the initialization code.
153
SILFunction *OnceFunc;
154
155
- /// A reference to the Builtin.once declaration.
156
- FuncDecl *BuiltinOnceDecl;
157
-
158
GenGlobalAccessors(SILGenModule &SGM,
159
SILGlobalVariable *OnceToken,
160
SILFunction *OnceFunc)
@@ -167,8 +164,6 @@ struct GenGlobalAccessors : public PatternVisitor<GenGlobalAccessors>
167
164
NLKind::QualifiedLookup, found);
168
165
169
166
assert(found.size() == 1 && "didn't find Builtin.once?!");
170
171
- BuiltinOnceDecl = cast<FuncDecl>(found[0]);
172
}
173
174
// Walk through non-binding patterns.
0 commit comments