]> gitweb.factorcode.org Git - factor.git/blob - vm/segments.hpp
Fixing failing unit tests in compiler.tree.propagation due to constraints
[factor.git] / vm / segments.hpp
1 namespace factor
2 {
3
4 struct segment {
5         cell start;
6         cell size;
7         cell end;
8 };
9
10 inline static cell align_page(cell a)
11 {
12         return align(a,getpagesize());
13 }
14
15 }