[vmkit-commits] [vmkit] r57173 - /vmkit/trunk/include/mvm/MvmMemoryManager.h

Nicolas Geoffray nicolas.geoffray at lip6.fr
Mon Oct 6 08:43:26 PDT 2008


Author: geoffray
Date: Mon Oct  6 10:43:25 2008
New Revision: 57173

URL: http://llvm.org/viewvc/llvm-project?rev=57173&view=rev
Log:
Implement new virtual functions of MemoryManager in LLVM.


Modified:
    vmkit/trunk/include/mvm/MvmMemoryManager.h

Modified: vmkit/trunk/include/mvm/MvmMemoryManager.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/mvm/MvmMemoryManager.h?rev=57173&r1=57172&r2=57173&view=diff

==============================================================================
--- vmkit/trunk/include/mvm/MvmMemoryManager.h (original)
+++ vmkit/trunk/include/mvm/MvmMemoryManager.h Mon Oct  6 10:43:25 2008
@@ -93,6 +93,15 @@
   virtual void endExceptionTable(const Function *F, unsigned char *TableStart,
                                unsigned char *TableEnd, 
                                unsigned char* FrameRegister);
+  
+  virtual void setMemoryWritable() {
+    realMemoryManager->setMemoryWritable();
+  }
+  
+  virtual void setMemoryExecutable() {
+    realMemoryManager->setMemoryExecutable();
+  }
+
 };
 
 } // End mvm namespace





More information about the vmkit-commits mailing list