fixed a bug in (not) handling variable-size frames in ikarus-exec.

This commit is contained in:
Abdulaziz Ghuloum 2010-01-26 07:35:09 +03:00
parent 943a72f01f
commit 1f2b250ed9
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
1868
1869

View File

@ -40,6 +40,9 @@ ikptr ik_exec_code(ikpcb* pcb, ikptr code_ptr, ikptr argcount, ikptr cp){
fprintf(stderr, "exec framesize=0x%016lx ksize=%ld rp=0x%016lx\n",
framesize, k->size, rp);
#endif
if(framesize == 0){
framesize = ref(top, wordsize);
}
if(framesize <= 0){
fprintf(stderr, "invalid framesize %ld\n", framesize);
exit(-10);