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();


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to