diff src/impl/vm_impl.h @ 203:9fb193a2c352

fix_vm_iml_private
author anatofuz
date Thu, 23 Jan 2020 14:42:47 +0900
parents 1301727600cc
children 3cac4139b31d
line wrap: on
line diff
--- a/src/impl/vm_impl.h	Thu Jan 23 09:39:56 2020 +0900
+++ b/src/impl/vm_impl.h	Thu Jan 23 14:42:47 2020 +0900
@@ -1,10 +1,11 @@
 typedef struct vm_impl<Impl, Isa> impl vm{
+    union Data* vm_impl;
     uint i;
     pte_t* pte;
-    unsigned int sz;
+    uint sz;
  
     __code loaduvm_ptesize_check(Type* vm_impl, __code next(...));
-    __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, unsigned int sz, __code next(...));
+    __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(...));
     __code next(...);