[vmkit-commits] [vmkit] r69277 - /vmkit/trunk/lib/JnJVM/VMCore/JnjvmClassLoader.h

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


Author: geoffray
Date: Thu Apr 16 04:02:12 2009
New Revision: 69277

URL: http://llvm.org/viewvc/llvm-project?rev=69277&view=rev
Log:
Constify some functions.


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

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

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JnjvmClassLoader.h (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JnjvmClassLoader.h Thu Apr 16 04:02:12 2009
@@ -104,11 +104,11 @@
  
   /// getIsolate - Returns the isolate that created this class loader.
   ///
-  Jnjvm* getIsolate() { return isolate; }
+  Jnjvm* getIsolate() const { return isolate; }
 
   /// getClasses - Returns the classes this class loader has loaded.
   ///
-  ClassMap* getClasses() { return classes; }
+  ClassMap* getClasses() const { return classes; }
   
   /// hashUTF8 - Tables of UTF8s defined by this class loader.
   ///
@@ -116,7 +116,7 @@
   
   /// getCompiler - Get the Java compiler of this class loader.
   ///
-  JavaCompiler* getCompiler() { return TheCompiler; }
+  JavaCompiler* getCompiler() const { return TheCompiler; }
 
   /// setCompiler - Set the compiler of classes loaded by this class loader.
   ///
@@ -133,7 +133,7 @@
   
   /// getJavaClassLoader - Return the Java representation of this class loader.
   ///
-  JavaObject* getJavaClassLoader() {
+  JavaObject* getJavaClassLoader() const {
     return javaLoader;
   }
   





More information about the vmkit-commits mailing list