factor/vm/tuples.hpp

9 lines
173 B
C++
Raw Normal View History

namespace factor {
2009-05-04 02:46:13 -04:00
inline static cell tuple_size(const tuple_layout* layout) {
cell size = untag_fixnum(layout->size);
return sizeof(tuple) + size * sizeof(cell);
2009-05-02 05:04:19 -04:00
}
2009-05-04 02:46:13 -04:00
}