mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] Add new flag to SILFunction - IsDistributed
Determines whether given SILFunction represents a distributed method or its thunk.
This commit is contained in:
committed by
Pavel Yaskevich
parent
88fb8c2272
commit
4860f90fd7
@@ -657,7 +657,7 @@ void SILGenFunction::emitArtificialTopLevel(Decl *mainDecl) {
|
||||
auto NSStringFromClassFn = builder.getOrCreateFunction(
|
||||
mainClass, "NSStringFromClass", SILLinkage::PublicExternal,
|
||||
NSStringFromClassType, IsBare, IsTransparent, IsNotSerialized,
|
||||
IsNotDynamic);
|
||||
IsNotDynamic, IsNotDistributed);
|
||||
auto NSStringFromClass = B.createFunctionRef(mainClass, NSStringFromClassFn);
|
||||
SILValue metaTy = B.createMetatype(mainClass,
|
||||
SILType::getPrimitiveObjectType(mainClassMetaty));
|
||||
@@ -747,7 +747,7 @@ void SILGenFunction::emitArtificialTopLevel(Decl *mainDecl) {
|
||||
auto NSApplicationMainFn = builder.getOrCreateFunction(
|
||||
mainClass, "NSApplicationMain", SILLinkage::PublicExternal,
|
||||
NSApplicationMainType, IsBare, IsTransparent, IsNotSerialized,
|
||||
IsNotDynamic);
|
||||
IsNotDynamic, IsNotDistributed);
|
||||
|
||||
auto NSApplicationMain = B.createFunctionRef(mainClass, NSApplicationMainFn);
|
||||
SILValue args[] = { argc, argv };
|
||||
|
||||
Reference in New Issue
Block a user