]> gitweb.factorcode.org Git - factor.git/commit
VM: "formalize" the callback_heaps object allocation using a
authorBjörn Lindqvist <bjourne@gmail.com>
Tue, 9 Sep 2014 12:45:01 +0000 (14:45 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 29 Sep 2014 14:30:20 +0000 (07:30 -0700)
commit4015565cf6a341204d493ece768a015185a638e4
tree53abbf48553a20e95644268efbb4723fd97d4e5d
parent4867e7bc96bd9b5439c26a1b1f7419863bc1a4dc
VM: "formalize" the callback_heaps object allocation using a
bump_allocator<code_block>

The advantage of doing it this way is that you can reuse the existing
each_object method to iterate all callbacks
vm/callbacks.cpp
vm/callbacks.hpp
vm/slot_visitor.hpp