[gcjx] Patch: FYI: add method to aot class wrapper

Tom Tromey tromey@redhat.com
Sun Jan 30 03:10:00 GMT 2005


I'm checking this in on the gcjx branch.

This provides a way to go from the aot class wrapper to the
underlying class in the model.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* aot/aotclass.hh (aot_class::get): New method.

Index: aot/aotclass.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcjx/aot/Attic/aotclass.hh,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 aotclass.hh
--- aot/aotclass.hh 30 Jan 2005 02:27:59 -0000 1.1.2.1
+++ aot/aotclass.hh 30 Jan 2005 03:09:55 -0000
@@ -156,6 +156,11 @@
   {
     return itable_map;
   }
+
+  model_class *get () const
+  {
+    return klass;
+  }
 };
 
 #endif // GCJX_AOT_AOTCLASS_HH



More information about the Java-patches mailing list