mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Drop BB from all argument related code in SILBasicBlock.
Before this commit all code relating to handling arguments in SILBasicBlock had somewhere in the name BB. This is redundant given that the class's name is already SILBasicBlock. This commit drops those names. Some examples: getBBArg() => getArgument() BBArgList => ArgumentList bbarg_begin() => args_begin()
This commit is contained in:
@@ -498,8 +498,8 @@ void SILGenFunction::emitClosure(AbstractClosureExpr *ace) {
|
||||
|
||||
void SILGenFunction::emitArtificialTopLevel(ClassDecl *mainClass) {
|
||||
// Load argc and argv from the entry point arguments.
|
||||
SILValue argc = F.begin()->getBBArg(0);
|
||||
SILValue argv = F.begin()->getBBArg(1);
|
||||
SILValue argc = F.begin()->getArgument(0);
|
||||
SILValue argv = F.begin()->getArgument(1);
|
||||
|
||||
switch (mainClass->getArtificialMainKind()) {
|
||||
case ArtificialMainKind::UIApplicationMain: {
|
||||
|
||||
Reference in New Issue
Block a user