[llvm-commits] [123593] Fix build.
jlaskey at apple.com
jlaskey at apple.com
Thu Feb 8 10:12:43 PST 2007
Revision: 123593
Author: jlaskey
Date: 2007-02-08 10:12:42 -0800 (Thu, 08 Feb 2007)
Log Message:
-----------
Fix build.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-backend.cpp
apple-local/branches/llvm/gcc/llvm-linker-hack.cpp
Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-backend.cpp 2007-02-08 09:56:34 UTC (rev 123592)
+++ apple-local/branches/llvm/gcc/llvm-backend.cpp 2007-02-08 18:12:42 UTC (rev 123593)
@@ -192,7 +192,9 @@
fclose (asm_out_file);
std::string ErrMsg;
- TheModule = ParseBytecodeFile(asm_file_name, &ErrMsg);
+ TheModule = ParseBytecodeFile(asm_file_name,
+ Compressor::decompressToNewBuffer,
+ &ErrMsg);
if (!TheModule) {
cerr << "Error reading bytecodes from PCH file\n";
cerr << ErrMsg << "\n";
Modified: apple-local/branches/llvm/gcc/llvm-linker-hack.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-linker-hack.cpp 2007-02-08 09:56:34 UTC (rev 123592)
+++ apple-local/branches/llvm/gcc/llvm-linker-hack.cpp 2007-02-08 18:12:42 UTC (rev 123593)
@@ -42,7 +42,7 @@
new llvm::ExistingModuleProvider(0);
llvm::createVerifierPass();
llvm::WriteBytecodeToFile(0, llvm::cout);
- llvm::ParseBytecodeFile(NULL,NULL);
+ llvm::ParseBytecodeFile(NULL);
llvm::createInstructionCombiningPass();
llvm::createScalarReplAggregatesPass();
More information about the llvm-commits
mailing list