fix abolish/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@182 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -153,13 +153,20 @@
|
||||
GONext(); \
|
||||
}
|
||||
|
||||
|
||||
#ifdef DEPTH_LIMIT
|
||||
#define allocate_environment(PTR) \
|
||||
PTR[E_CP] = (CELL) CPREG; \
|
||||
PTR[E_E] = (CELL) ENV; \
|
||||
PTR[E_DEPTH] = (CELL)DEPTH;\
|
||||
PTR[E_B] = (CELL) B; \
|
||||
ENV = PTR
|
||||
#else
|
||||
#define allocate_environment(PTR) \
|
||||
PTR[E_CP] = (CELL) CPREG; \
|
||||
PTR[E_E] = (CELL) ENV; \
|
||||
PTR[E_B] = (CELL) B; \
|
||||
ENV = PTR
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------ **
|
||||
|
Reference in New Issue
Block a user