[vmkit-commits] [vmkit] r69278 - /vmkit/trunk/lib/JnJVM/VMCore/JavaClass.h

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu Apr 16 02:03:35 PDT 2009


Author: geoffray
Date: Thu Apr 16 04:03:30 2009
New Revision: 69278

URL: http://llvm.org/viewvc/llvm-project?rev=69278&view=rev
Log:
code cleanup. No functioanltiy changes.


Modified:
    vmkit/trunk/lib/JnJVM/VMCore/JavaClass.h

Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaClass.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaClass.h?rev=69278&r1=69277&r2=69278&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaClass.h (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaClass.h Thu Apr 16 04:03:30 2009
@@ -80,7 +80,7 @@
   ///
   Attribut(const UTF8* name, uint32 length, uint32 offset);
   Attribut() {}
-  
+
   /// codeAttribut - The "Code" JVM attribut. This is a method attribut for
   /// finding the bytecode of a method in the .class file.
   //
@@ -330,10 +330,6 @@
   ///
   ~CommonClass();
 
-  /// CommonClass - Default constructor.
-  ///
-  CommonClass();
-  
   /// setInterfaces - Set the interfaces of the class.
   ///
   void setInterfaces(Class** I) {
@@ -358,7 +354,7 @@
 #if !defined(ISOLATE) && !defined(ISOLATE_SHARING)
   /// getDelegatee - Get the java/lang/Class object representing this class.
   ///
-  JavaObject* getDelegatee() {
+  JavaObject* getDelegatee() const {
     return delegatee[0];
   }
 
@@ -561,11 +557,11 @@
  
   /// getVirtualSize - Get the virtual size of instances of this class.
   ///
-  uint32 getVirtualSize()         { return virtualSize; }
+  uint32 getVirtualSize() const { return virtualSize; }
   
   /// getVirtualVT - Get the virtual VT of instances of this class.
   ///
-  JavaVirtualTable* getVirtualVT()    { return virtualVT; }
+  JavaVirtualTable* getVirtualVT() const { return virtualVT; }
 
   /// getOwnerClass - Get the thread that is currently initializing the class.
   ///
@@ -1357,8 +1353,6 @@
   
   JavaVirtualTable(ClassArray* C);
 
-  JavaVirtualTable() {}
-  
   uintptr_t* getFirstJavaMethod() {
     return &init;
   }





More information about the vmkit-commits mailing list