[frontend] Made EmitObject the default requested action.

This matches the behavior of the swift executable.

Swift SVN r12881
This commit is contained in:
Connor Wakamo
2014-01-23 22:20:07 +00:00
parent 6348426d3f
commit 6325d2eac5

View File

@@ -154,8 +154,8 @@ static bool ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
// (Setting up module output will be handled below.)
Action = FrontendOptions::EmitModuleOnly;
} else {
// In the absence of any other mode indicators, parse the inputs.
Action = FrontendOptions::Parse;
// In the absence of any other mode indicators, emit an object file.
Action = FrontendOptions::EmitObject;
}
}
Opts.RequestedAction = Action;