]> gitweb.factorcode.org Git - factor.git/commit
cpu.*.bootstrap: return address for (set-context)
authorJoe Groff <arcata@gmail.com>
Wed, 30 Nov 2011 20:52:06 +0000 (12:52 -0800)
committerJoe Groff <arcata@gmail.com>
Wed, 14 Dec 2011 17:56:46 +0000 (09:56 -0800)
commitee656387eaae7c0e8a32e5b61728474d73dca73c
tree1be32c542be30a3824e6c38fa28531f12120fb58
parent1911905c6bbb0f33183297340382e9c2fbaa6205
cpu.*.bootstrap: return address for (set-context)
Instead of pushing zero as the fake return address for a set-context call, push an address that points back into the primitive so that callstack walking can match the frame back to the subprimitive.
basis/cpu/x86/32/bootstrap.factor
basis/cpu/x86/64/bootstrap.factor