factor/vm/code_heap.hpp

12 lines
136 B
C++
Raw Normal View History

2009-05-04 02:46:13 -04:00
namespace factor
{
2009-09-29 14:53:10 -04:00
inline void factor_vm::check_code_pointer(cell ptr)
{
#ifdef FACTOR_DEBUG
assert(in_code_heap_p(ptr));
#endif
}
2009-05-04 02:46:13 -04:00
}