Fix usage of changed function prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-11-14 22:30:54 +00:00
parent 63ab669120
commit 227b6d00dd
9 changed files with 17 additions and 16 deletions

View File

@ -223,7 +223,7 @@ int main(int argc, char **argv, char **envp) {
// Ensure that the bytecode file gets removed from the disk if we get a
// terminating signal.
sys::RemoveFileOnSignal(RealBytecodeOutput);
sys::RemoveFileOnSignal(sys::Path(RealBytecodeOutput));
// Generate the bytecode file.
if (GenerateBytecode(Composite.get(), Strip, !NoInternalize, &Out)) {
@ -246,8 +246,8 @@ int main(int argc, char **argv, char **envp) {
std::string AssemblyFile = OutputFilename + ".s";
// Mark the output files for removal if we get an interrupt.
sys::RemoveFileOnSignal(AssemblyFile);
sys::RemoveFileOnSignal(OutputFilename);
sys::RemoveFileOnSignal(sys::Path(AssemblyFile));
sys::RemoveFileOnSignal(sys::Path(OutputFilename));
// Determine the locations of the llc and gcc programs.
std::string llc = FindExecutable("llc", argv[0]);
@ -271,8 +271,8 @@ int main(int argc, char **argv, char **envp) {
std::string CFile = OutputFilename + ".cbe.c";
// Mark the output files for removal if we get an interrupt.
sys::RemoveFileOnSignal(CFile);
sys::RemoveFileOnSignal(OutputFilename);
sys::RemoveFileOnSignal(sys::Path(CFile));
sys::RemoveFileOnSignal(sys::Path(OutputFilename));
// Determine the locations of the llc and gcc programs.
std::string llc = FindExecutable("llc", argv[0]);