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

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sun Apr 26 07:30:42 PDT 2009


Author: geoffray
Date: Sun Apr 26 09:30:22 2009
New Revision: 70126

URL: http://llvm.org/viewvc/llvm-project?rev=70126&view=rev
Log:
Only put the info in the operatorDelete.


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=70126&r1=70125&r2=70126&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp Sun Apr 26 09:30:22 2009
@@ -1480,9 +1480,8 @@
 
 void JavaAOTCompiler::setDestructor(JavaVirtualTable* VT, uintptr_t ptr,
                                     const char* name) {
-  // Set the name info directly, the compiler will use the name to
-  // create a LLVM function.
-  VT->destructor = (uintptr_t)name;
+  // Set the name info into the operatorDelete directly, the compiler
+  // will use the name to create a LLVM function.
   VT->operatorDelete = (uintptr_t)name;
 }
 





More information about the vmkit-commits mailing list