Revert previous patch, I'm a moron :)

llvm-svn: 12773
This commit is contained in:
Chris Lattner 2004-04-08 15:18:03 +00:00
parent 177fe8d82f
commit a182f5bf48
1 changed files with 5 additions and 6 deletions

View File

@ -176,16 +176,15 @@ int llvm::GenerateCFile(const std::string &OutputFile,
const std::string &InputFile,
const std::string &llc, char ** const envp) {
// Run LLC to convert the bytecode file into C.
const char *cmd[8];
const char *cmd[7];
cmd[0] = llc.c_str();
cmd[1] = "-march=c";
cmd[2] = "-f";
cmd[3] = "-fno-strict-aliasing";
cmd[4] = "-o";
cmd[5] = OutputFile.c_str();
cmd[6] = InputFile.c_str();
cmd[7] = 0;
cmd[3] = "-o";
cmd[4] = OutputFile.c_str();
cmd[5] = InputFile.c_str();
cmd[6] = 0;
return ExecWait(cmd, envp);
}