]> gitweb.factorcode.org Git - factor.git/commit
compiler.cfg.*: new step in finalization: clear-uninitialized
authorBjörn Lindqvist <bjourne@gmail.com>
Thu, 1 Jan 2015 10:12:58 +0000 (11:12 +0100)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 22 Jan 2015 20:17:20 +0000 (12:17 -0800)
commit640759ffed177920d10974222b1900a23f88fbc2
treea1e16f7e245911d37f057f7dafb4a6e60145cf1c
parentfd06e22e9a056ec1ba88cde5b883dc60c11b2214
compiler.cfg.*: new step in finalization: clear-uninitialized

this step is supposed to analyze the cfg, find where there are peeks
that can cause stack underflow, and insert replace-imm instructions so
that there are no uninitialized stack locations if they do. could fix #1187
basis/compiler/cfg/finalization/finalization.factor
basis/compiler/cfg/stacks/clearing/clearing-tests.factor [new file with mode: 0644]
basis/compiler/cfg/stacks/clearing/clearing.factor [new file with mode: 0644]
basis/compiler/cfg/stacks/vacant/vacant-docs.factor
basis/compiler/cfg/stacks/vacant/vacant-tests.factor
basis/compiler/cfg/stacks/vacant/vacant.factor