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

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat May 22 00:59:03 PDT 2004


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

ClassFile.h updated: 1.9 -> 1.10

---
Log message:

Make code be an array of uint8_t's instead of char's.


---
Diffs of the changes:  (+2 -2)

Index: llvm-java/include/llvm/Java/ClassFile.h
diff -u llvm-java/include/llvm/Java/ClassFile.h:1.9 llvm-java/include/llvm/Java/ClassFile.h:1.10
--- llvm-java/include/llvm/Java/ClassFile.h:1.9	Thu May 20 19:05:59 2004
+++ llvm-java/include/llvm/Java/ClassFile.h	Sat May 22 00:57:09 2004
@@ -387,7 +387,7 @@
         uint16_t maxStack_;
         uint16_t maxLocals_;
         uint32_t codeSize_;
-        char* code_;
+        uint8_t* code_;
         Exceptions exceptions_;
         Attributes attributes_;
 
@@ -398,7 +398,7 @@
         ~CodeAttribute();
         uint16_t getMaxStack() const { return maxStack_; }
         uint16_t getMaxLocals() const { return maxLocals_; }
-        const char* getCode() const { return code_; }
+        const uint8_t* getCode() const { return code_; }
         uint32_t getCodeSize() const { return codeSize_; }
         const Exceptions& getExceptions() const { return exceptions_; }
         const Attributes& getAttributes() const { return attributes_; }





More information about the llvm-commits mailing list