[llvm-commits] CVS: llvm-java/runtime/runtime.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Apr 22 16:43:47 PDT 2005



Changes in directory llvm-java/runtime:

runtime.h updated: 1.6 -> 1.7
---
Log message:

Cast to the right type.


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

 runtime.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-java/runtime/runtime.h
diff -u llvm-java/runtime/runtime.h:1.6 llvm-java/runtime/runtime.h:1.7
--- llvm-java/runtime/runtime.h:1.6	Sun Apr  3 18:10:44 2005
+++ llvm-java/runtime/runtime.h	Fri Apr 22 18:43:35 2005
@@ -3,7 +3,7 @@
 /* For now we cast a java/lang/Class reference to a class record. When
  * we get proper java/lang/Class representation this will be a field
  * access. */
-#define GET_CLASS_RECORD(clazz) ((struct llvm_java_object_class_record*) clazz)
+#define GET_CLASS_RECORD(clazz) ((struct llvm_java_class_record*) clazz)
 #define GET_CLASS(classRecord) ((jclass) classRecord)
 
 const JNIEnv llvm_java_JNIEnv;






More information about the llvm-commits mailing list