From 06cf32688522106b9ce9c9b3be0e7c7c4037c1b7 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 17 Dec 2012 16:27:15 +0000 Subject: [PATCH] avoi calls to inityaamregs. --- C/c_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C/c_interface.c b/C/c_interface.c index d3338a2da..775a4992a 100644 --- a/C/c_interface.c +++ b/C/c_interface.c @@ -3190,7 +3190,7 @@ YAP_Init(YAP_init_args *yap_init) /* first, initialise the saved state */ Term t_goal = MkAtomTerm(AtomInitProlog); YAP_RunGoalOnce(t_goal); - Yap_InitYaamRegs( 0 ); + // Yap_InitYaamRegs( 0 ); /* reset stacks */ return YAP_BOOT_FROM_SAVED_CODE; } else { @@ -3314,7 +3314,7 @@ YAP_Reset(void) } } /* reinitialise the engine */ - Yap_InitYaamRegs( worker_id ); + // Yap_InitYaamRegs( worker_id ); GLOBAL_Initialised = TRUE; RECOVER_MACHINE_REGS();