[vmkit-commits] [vmkit] r72549 - /vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu May 28 15:22:02 PDT 2009


Author: geoffray
Date: Thu May 28 17:22:02 2009
New Revision: 72549

URL: http://llvm.org/viewvc/llvm-project?rev=72549&view=rev
Log:
Set the destructor too.


Modified:
    vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp

Modified: vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp?rev=72549&r1=72548&r2=72549&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp Thu May 28 17:22:02 2009
@@ -1515,6 +1515,7 @@
                                     const char* name) {
   // Set the name info into the operatorDelete directly, the compiler
   // will use the name to create a LLVM function.
+  VT->destructor = (uintptr_t)name;
   VT->operatorDelete = (uintptr_t)name;
 }
 





More information about the vmkit-commits mailing list