Use the triple directly, rather then getTriple().

llvm-svn: 156501
This commit is contained in:
Chad Rosier 2012-05-09 18:51:13 +00:00
parent ce005eb2c6
commit bf8628e62f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ Darwin::Darwin(const Driver &D, const llvm::Triple& Triple)
DarwinVersion[2] = 0;
// Compute the initial iOS version from the triple
getTriple().getiOSVersion(Major, Minor, Micro);
Triple.getiOSVersion(Major, Minor, Micro);
llvm::raw_string_ostream(iOSVersionMin)
<< Major << '.' << Minor << '.' << Micro;
}