[vmkit-commits] [vmkit] r76549 - /vmkit/trunk/lib/JnJVM/VMCore/JavaMetaJIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Jul 21 01:07:56 PDT 2009


Author: geoffray
Date: Tue Jul 21 03:07:43 2009
New Revision: 76549

URL: http://llvm.org/viewvc/llvm-project?rev=76549&view=rev
Log:
Add a comment.


Modified:
    vmkit/trunk/lib/JnJVM/VMCore/JavaMetaJIT.cpp

Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaMetaJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaMetaJIT.cpp?rev=76549&r1=76548&r2=76549&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaMetaJIT.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaMetaJIT.cpp Tue Jul 21 03:07:43 2009
@@ -62,6 +62,12 @@
     buf += 8; \
   }\
 
+//===----------------------------------------------------------------------===//
+// We do not need to have special care on the GC-pointers manipulated in these
+// functions (this and the buffer). Once the Java function is called, they
+// are never used (because the buffer is alloca'd and "this" is only used when
+// calling).
+//===----------------------------------------------------------------------===//
 
 #if defined(DWARF_EXCEPTIONS)
 





More information about the vmkit-commits mailing list