Fix silly bug.

llvm-svn: 110684
This commit is contained in:
Rafael Espindola 2010-08-10 16:32:15 +00:00
parent 18bf25f189
commit 148c3284ee
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ namespace options {
} else if (opt.startswith("pass-through=")) { } else if (opt.startswith("pass-through=")) {
llvm::StringRef item = opt.substr(strlen("pass-through=")); llvm::StringRef item = opt.substr(strlen("pass-through="));
pass_through.push_back(item.str()); pass_through.push_back(item.str());
} else if (opt == "mtriple=") { } else if (opt.startswith("mtriple=")) {
triple = opt.substr(strlen("mtriple=")); triple = opt.substr(strlen("mtriple="));
} else if (opt == "emit-llvm") { } else if (opt == "emit-llvm") {
generate_bc_file = BC_ONLY; generate_bc_file = BC_ONLY;