[llvm-commits] CVS: llvm-java/include/llvm/Java/ClassFile.h Bytecode.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Feb 2 08:27:07 PST 2005



Changes in directory llvm-java/include/llvm/Java:

ClassFile.h updated: 1.27 -> 1.28
Bytecode.h updated: 1.13 -> 1.14
---
Log message:

Make llvm-java compile on Windows. Patch contributed by Jeff Cohen!


---
Diffs of the changes:  (+8 -5)

 Bytecode.h  |    2 +-
 ClassFile.h |   11 +++++++----
 2 files changed, 8 insertions(+), 5 deletions(-)


Index: llvm-java/include/llvm/Java/ClassFile.h
diff -u llvm-java/include/llvm/Java/ClassFile.h:1.27 llvm-java/include/llvm/Java/ClassFile.h:1.28
--- llvm-java/include/llvm/Java/ClassFile.h:1.27	Mon Dec 13 01:15:00 2004
+++ llvm-java/include/llvm/Java/ClassFile.h	Wed Feb  2 10:26:54 2005
@@ -22,7 +22,7 @@
 #include <stdexcept>
 #include <vector>
 
-#include <stdint.h>
+#include <llvm/Support/DataTypes.h>
 
 namespace llvm { namespace Java {
 
@@ -193,17 +193,20 @@
     std::ostream& dump(std::ostream& os) const;
   };
 
-  struct ConstantFieldRef : public ConstantMemberRef {
+  class ConstantFieldRef : public ConstantMemberRef {
+  public:
     ConstantFieldRef(const ConstantPool& cp, std::istream& is)
       : ConstantMemberRef(cp, is) { }
   };
 
-  struct ConstantMethodRef : public ConstantMemberRef {
+  class ConstantMethodRef : public ConstantMemberRef {
+  public:
     ConstantMethodRef(const ConstantPool& cp, std::istream& is)
       : ConstantMemberRef(cp, is) { }
   };
 
-  struct ConstantInterfaceMethodRef : public ConstantMemberRef {
+  class ConstantInterfaceMethodRef : public ConstantMemberRef {
+  public:
     ConstantInterfaceMethodRef(const ConstantPool& cp, std::istream& is)
       : ConstantMemberRef(cp, is) { }
   };


Index: llvm-java/include/llvm/Java/Bytecode.h
diff -u llvm-java/include/llvm/Java/Bytecode.h:1.13 llvm-java/include/llvm/Java/Bytecode.h:1.14
--- llvm-java/include/llvm/Java/Bytecode.h:1.13	Mon Nov  8 02:00:40 2004
+++ llvm-java/include/llvm/Java/Bytecode.h	Wed Feb  2 10:26:54 2005
@@ -14,7 +14,7 @@
 #ifndef LLVM_JAVA_BYTECODE_H
 #define LLVM_JAVA_BYTECODE_H
 
-#include <stdint.h>
+#include <llvm/Support/DataTypes.h>
 
 namespace llvm { namespace Java {
 






More information about the llvm-commits mailing list