]> gitweb.factorcode.org Git - factor.git/commitdiff
added padding to align userenv to an 8byte boundary
authorPhil Dawes <phil@phildawes.net>
Fri, 21 Aug 2009 18:54:47 +0000 (19:54 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:16:32 +0000 (08:16 +0100)
vm/vm.hpp

index 967956e0cfba49b1dcd37c0a7d73f66df94ab69c..e0b598de6fbca394d0a1b86f3c21be55da1bda33 100644 (file)
--- a/vm/vm.hpp
+++ b/vm/vm.hpp
@@ -8,6 +8,7 @@ struct factorvm {
        zone nursery; /* new objects are allocated here */
        cell cards_offset;
        cell decks_offset;
+       cell __padding__ ;   // align to 8byte boundary (for 32bit platforms)
        cell userenv[USER_ENV]; /* TAGGED user environment data; see getenv/setenv prims */