]> gitweb.factorcode.org Git - factor.git/commit
VM: put the singletons t, -1, 0 and 1 in the special objects table
authorBjörn Lindqvist <bjourne@gmail.com>
Wed, 9 Dec 2015 20:31:13 +0000 (21:31 +0100)
committerBjörn Lindqvist <bjourne@gmail.com>
Wed, 9 Dec 2015 20:31:13 +0000 (21:31 +0100)
commit339b1b6466434a57bfbea069ab5aedf3ffa7d16a
tree7731f23acd1f371b161753f2ee15a451231ee836
parentd6a91229670423b4e0b60a4ad716cf7468c5612b
VM: put the singletons t, -1, 0 and 1 in the special objects table

Having them there instead of as fields in the vm struct removes a bunch
of special handling. This commit just adds them and doesn't remove the
old ones to avoid potential chicken-and-egg bootstrap problems.
basis/bootstrap/image/image-tests.factor
basis/bootstrap/image/image.factor
core/kernel/kernel.factor
vm/objects.hpp