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

Alkis Evlogimenos alkis at cs.uiuc.edu
Tue Sep 21 11:08:43 PDT 2004



Changes in directory llvm-java/runtime:

runtime.c updated: 1.2 -> 1.3
---
Log message:

Use C style comments.


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

Index: llvm-java/runtime/runtime.c
diff -u llvm-java/runtime/runtime.c:1.2 llvm-java/runtime/runtime.c:1.3
--- llvm-java/runtime/runtime.c:1.2	Wed Sep 15 13:06:47 2004
+++ llvm-java/runtime/runtime.c	Tue Sep 21 13:08:33 2004
@@ -4,7 +4,7 @@
 struct llvm_java_object_typeinfo;
 
 struct llvm_java_object_header {
-  // gc info, hash info, locking
+  /* gc info, hash info, locking */
 };
 
 struct llvm_java_object_base {
@@ -36,11 +36,11 @@
   struct llvm_java_object_vtable* objClazz = obj->vtable;
   if (objClazz == clazz)
     return 1;
-  // we are checking against a class' typeinfo
+  /* we are checking against a class' typeinfo */
   if (clazz->typeinfo.interfaceFlag != (unsigned)-1)
     return objClazz->typeinfo.depth > clazz->typeinfo.depth &&
            objClazz->typeinfo.vtables[objClazz->typeinfo.depth - clazz->typeinfo.depth - 1] == clazz;
-  // otherwise we are checking against an interface's typeinfo
+  /* otherwise we are checking against an interface's typeinfo */
   else
     return objClazz->typeinfo.lastIface >= clazz->typeinfo.lastIface &&
            objClazz->typeinfo.interfaces[clazz->typeinfo.lastIface];






More information about the llvm-commits mailing list