fix unallocated variable in overflow.

This commit is contained in:
Vitor Santos Costa 2009-03-27 14:05:27 +00:00
parent 007a1346f4
commit 751426c610

View File

@ -3305,7 +3305,9 @@ Yap_PredIsIndexable(PredEntry *ap, UInt NSlots)
int setjres;
struct intermediates cint;
cint.CurrentPred = ap;
cint.code_addr = NULL;
Yap_Error_Size = 0;
if ((setjres = setjmp(cint.CompilerBotch)) == 3) {
@ -4371,6 +4373,7 @@ ExpandIndex(PredEntry *ap, int ExtraArgs) {
int cb;
struct intermediates cint;
cint.code_addr = NULL;
if ((cb = setjmp(cint.CompilerBotch)) == 3) {
restore_machine_regs();
/* grow stack */