[llvm-commits] CVS: llvm/lib/Reoptimizer/BinInterface/analyze.cpp salloc.h binproc.cpp

Cameron Buschardt buschard at cs.uiuc.edu
Sat Dec 14 19:42:01 PST 2002


Changes in directory llvm/lib/Reoptimizer/BinInterface:

analyze.cpp updated: 1.5 -> 1.6
salloc.h updated: 1.2 -> 1.3
binproc.cpp (r1.3) removed

---
Log message:

Remove binproc.cpp tool - since I have checked in the preprocessed sparc9.h file


---
Diffs of the changes:

Index: llvm/lib/Reoptimizer/BinInterface/analyze.cpp
diff -u llvm/lib/Reoptimizer/BinInterface/analyze.cpp:1.5 llvm/lib/Reoptimizer/BinInterface/analyze.cpp:1.6
--- llvm/lib/Reoptimizer/BinInterface/analyze.cpp:1.5	Sat Dec 14 19:30:54 2002
+++ llvm/lib/Reoptimizer/BinInterface/analyze.cpp	Sat Dec 14 19:40:40 2002
@@ -57,6 +57,7 @@
 		assert(0);
 		return 0;
 	}
+      return 0;
 }
 
 //
@@ -160,6 +161,7 @@
 		assert(0);
 		
 	}
+        return 0;
 }
 
 
@@ -217,6 +219,7 @@
 			printf("Unknown OP_3: OP3 = %08X\n", RD_FLD(instr, INSTR_OP3));
 			assert(0);
 	}
+        return 0;
 }
 
 unsigned sparc_analyze_full(unsigned instr)
@@ -231,6 +234,7 @@
 		return IF_CALL;             // Call instruction not seen as branch
 		                            // in that control flow change is transparent
 		                            // to trace
+        return 0;
 }
 
 unsigned sparc_analyze(unsigned instr)


Index: llvm/lib/Reoptimizer/BinInterface/salloc.h
diff -u llvm/lib/Reoptimizer/BinInterface/salloc.h:1.2 llvm/lib/Reoptimizer/BinInterface/salloc.h:1.3
--- llvm/lib/Reoptimizer/BinInterface/salloc.h:1.2	Sat Dec 14 19:31:41 2002
+++ llvm/lib/Reoptimizer/BinInterface/salloc.h	Sat Dec 14 19:40:48 2002
@@ -24,6 +24,7 @@
     virtual void*alloc(unsigned size) = 0;
     virtual void free(void * block)              = 0;
     virtual void*resize(void * block , unsigned newsize) = 0;
+    virtual ~Allocator() {}
 };
 
 





More information about the llvm-commits mailing list