[vmkit-commits] [vmkit] r84121 - in /vmkit/trunk/lib/N3: PNetLib/PNetLib.cpp VMCore/VMCache.cpp

Gael Thomas gael.thomas at lip6.fr
Wed Oct 14 11:32:01 PDT 2009


Author: gthomas
Date: Wed Oct 14 13:32:01 2009
New Revision: 84121

URL: http://llvm.org/viewvc/llvm-project?rev=84121&view=rev
Log:
Remove last mvm::Object


Modified:
    vmkit/trunk/lib/N3/PNetLib/PNetLib.cpp
    vmkit/trunk/lib/N3/VMCore/VMCache.cpp

Modified: vmkit/trunk/lib/N3/PNetLib/PNetLib.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/N3/PNetLib/PNetLib.cpp?rev=84121&r1=84120&r2=84121&view=diff

==============================================================================
--- vmkit/trunk/lib/N3/PNetLib/PNetLib.cpp (original)
+++ vmkit/trunk/lib/N3/PNetLib/PNetLib.cpp Wed Oct 14 13:32:01 2009
@@ -679,7 +679,7 @@
   return 0;
 }
 
-extern "C" VMObject* System_Reflection_ClrHelpers_GetSemantics(mvm::Object* item, uint32 attributes, bool nonPublic) {
+extern "C" VMObject* System_Reflection_ClrHelpers_GetSemantics(uintptr_t item, uint32 attributes, bool nonPublic) {
 	if (attributes == METHOD_SEMANTIC_ATTRIBUTES_GETTER) {
 		Property* prop = (Property*)item;
 		mvm::PrintBuffer _asciiz(prop->name);

Modified: vmkit/trunk/lib/N3/VMCore/VMCache.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/N3/VMCore/VMCache.cpp?rev=84121&r1=84120&r2=84121&view=diff

==============================================================================
--- vmkit/trunk/lib/N3/VMCore/VMCache.cpp (original)
+++ vmkit/trunk/lib/N3/VMCore/VMCache.cpp Wed Oct 14 13:32:01 2009
@@ -36,7 +36,7 @@
   if (lastCible) {
     lastCible->print(buf);
     buf->write(" -- ");
-    ((mvm::Object*)((void**)methPtr - 1))->print(buf);
+		buf->writePtr(methPtr - 1);
   }
   buf->write(" in ");
   enveloppe->print(buf);





More information about the vmkit-commits mailing list