[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Jeff Cohen jeffc at jolt-lang.org
Wed Mar 14 08:25:38 PDT 2007



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.111 -> 1.112
---
Log message:

Fix for VS 2005 problem supplied by Morten Ofstad.

---
Diffs of the changes:  (+1 -0)

 TargetInstrInfo.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.111 llvm/include/llvm/Target/TargetInstrInfo.h:1.112
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.111	Fri Jan 26 08:34:51 2007
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Wed Mar 14 10:25:21 2007
@@ -386,6 +386,7 @@
   virtual const TargetRegisterClass *getPointerRegClass() const {
     assert(0 && "Target didn't implement getPointerRegClass!");
     abort();
+    return 0; // Must return a value in order to compile with VS 2005
   }
 };
 






More information about the llvm-commits mailing list