stdlib: add argument labels to _didEnterMain

This commit is contained in:
Dmitri Gribenko
2016-02-22 16:45:42 -08:00
parent 82998a155a
commit 3085c4937f
3 changed files with 5 additions and 5 deletions

View File

@@ -978,8 +978,8 @@ static void emitTopLevelProlog(SILGenFunction &gen, SILLocation loc) {
auto argv = new (gen.F.getModule()) SILArgument(
entry, FnTy->getParameters()[1].getSILType());
// If the standard library provides a _didEnterMain intrinsic, call it first
// thing.
// If the standard library provides a _stdlib_didEnterMain intrinsic, call it
// first thing.
if (auto didEnterMain = C.getDidEnterMain(nullptr)) {
ManagedValue params[] = {
ManagedValue::forUnmanaged(argc),