fixed bug in prepareStackForAbsOpt (rtemgr.c).
commitc3079241c4d460cecf091f7082268c5f733d8aec
authorItamar <itamar@itamar-desktop.(none)>
Tue, 10 Mar 2009 16:09:21 +0000 (10 18:09 +0200)
committerItamar <itamar@itamar-desktop.(none)>
Tue, 10 Mar 2009 16:09:21 +0000 (10 18:09 +0200)
tree7896afe0c544b5ab5b307404936df43819dc755c
parent6eca9fe5bf4e35e10245517974e337143e7913ce
fixed bug in prepareStackForAbsOpt (rtemgr.c).
I used ST_OLDFP() to reach the end of the current activation frame, but its wrong. The end of the current
activation frame (which now can be kindly obtained by ST_FRMEND()) is not always equal to ST_OLDFP() -
such is the case when we are in the middle of some application and already pushed some evaluated
arguments onto the stack. yay!
compiler.sml
src/c/arch.h
src/c/arch.h~
src/c/builtins.c
src/c/builtins.c~
src/c/rtemgr.c
src/c/rtemgr.c~ [deleted file]
src/scm/support-code.scm
src/scm/support-code.scm~
src/sml/cg.sml
src/sml/cg.sml~