Inline some trivial functions.

llvm-svn: 86815
This commit is contained in:
Daniel Dunbar 2009-11-11 07:26:02 +00:00
parent 7e5e40c75e
commit f0f6f0efb0
1 changed files with 2 additions and 11 deletions

View File

@ -428,15 +428,6 @@ static llvm::cl::opt<bool>
PThread("pthread", llvm::cl::desc("Support POSIX threads in generated code"),
llvm::cl::init(false));
static void InitializeCOptions(LangOptions &Options) {
// Do nothing.
}
static void InitializeObjCOptions(LangOptions &Options) {
Options.ObjC1 = Options.ObjC2 = 1;
}
static void InitializeLangOptions(LangOptions &Options, LangKind LK){
bool NoPreprocess = false;
@ -449,7 +440,7 @@ static void InitializeLangOptions(LangOptions &Options, LangKind LK){
NoPreprocess = true;
// FALLTHROUGH
case langkind_c:
InitializeCOptions(Options);
// Do nothing.
break;
case langkind_cxx_cpp:
NoPreprocess = true;
@ -461,7 +452,7 @@ static void InitializeLangOptions(LangOptions &Options, LangKind LK){
NoPreprocess = true;
// FALLTHROUGH
case langkind_objc:
InitializeObjCOptions(Options);
Options.ObjC1 = Options.ObjC2 = 1;
break;
case langkind_objcxx_cpp:
NoPreprocess = true;