From 8dec7f64780167276a12b292a825d1de5d3ce33a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Wed, 22 Jul 2015 19:01:15 -0500 Subject: [PATCH] initialize YAAM regs earl on. --- C/c_interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C/c_interface.c b/C/c_interface.c index e183d5d8e..713a61182 100755 --- a/C/c_interface.c +++ b/C/c_interface.c @@ -2421,6 +2421,8 @@ YAP_RunGoalOnce(Term t) Int oldPrologMode = LOCAL_PrologMode; BACKUP_MACHINE_REGS(); + Yap_InitYaamRegs( 0 ); + LOCAL_PrologMode = UserMode; // Yap_heap_regs->yap_do_low_level_trace=true; out = Yap_RunTopGoal(t);