]> gitweb.factorcode.org Git - factor.git/commit
cpu.x86.bootstrap: don't safepoint in a safepoint
authorJoe Groff <arcata@gmail.com>
Fri, 4 Nov 2011 03:19:01 +0000 (20:19 -0700)
committerJoe Groff <arcata@gmail.com>
Fri, 4 Nov 2011 03:19:38 +0000 (20:19 -0700)
commit1bc623167f63249fcff5c4b271886e98479b0c5a
treed228797cd589ab27237b7b0db157112dd203f48a
parent94eb9229984019582004376425380c62ec37fb60
cpu.x86.bootstrap: don't safepoint in a safepoint
Safepointing in the signal-handler primitive causes a crash if the safepoint is guarded and the signal being handled was raised by a safepoint. Put our own RET in the subprimitive to bail out before the standard epilog gets written out. This tentatively appears to fix #349.
basis/cpu/x86/bootstrap.factor