fixes for RISC machines
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@174 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
418fb0680a
commit
4fad5b3f3e
@ -11137,7 +11137,6 @@ absmi(int inp)
|
||||
PredEntry *pen;
|
||||
|
||||
CACHE_Y_AS_ENV(Y);
|
||||
CACHE_A1();
|
||||
BEGD(d0);
|
||||
d0 = ARG1;
|
||||
if (PredGoalExpansion->OpcodeOfPred != UNDEF_OPCODE) {
|
||||
@ -11173,6 +11172,7 @@ absmi(int inp)
|
||||
}
|
||||
ENDD(d2);
|
||||
ENDP(pt1);
|
||||
CACHE_A1();
|
||||
} else if (IsAtomTerm(d0)) {
|
||||
pen = RepPredProp(PredPropByAtom(AtomOfTerm(d0), ARG2));
|
||||
} else {
|
||||
@ -11250,7 +11250,6 @@ absmi(int inp)
|
||||
PredEntry *pen;
|
||||
|
||||
CACHE_Y_AS_ENV(Y);
|
||||
CACHE_A1();
|
||||
BEGD(d0);
|
||||
d0 = ARG1;
|
||||
if (PredGoalExpansion->OpcodeOfPred != UNDEF_OPCODE) {
|
||||
@ -11286,6 +11285,7 @@ absmi(int inp)
|
||||
}
|
||||
ENDD(d2);
|
||||
ENDP(pt1);
|
||||
CACHE_A1();
|
||||
} else if (IsAtomTerm(d0)) {
|
||||
if (AtomOfTerm(d0) == AtomCut) {
|
||||
choiceptr pt0;
|
||||
|
2
C/init.c
2
C/init.c
@ -722,7 +722,7 @@ InitFlags(void)
|
||||
yap_flags[SOURCE_MODE_FLAG] = FALSE;
|
||||
yap_flags[CHARACTER_ESCAPE_FLAG] = ISO_CHARACTER_ESCAPES;
|
||||
yap_flags[WRITE_QUOTED_STRING_FLAG] = FALSE;
|
||||
#if (defined(YAPOR) || defined(THREADS)) && VSC_FOR_YAPOR
|
||||
#if (defined(YAPOR) || defined(THREADS)) && PURE_YAPOR
|
||||
yap_flags[ALLOW_ASSERTING_STATIC_FLAG] = FALSE;
|
||||
#else
|
||||
yap_flags[ALLOW_ASSERTING_STATIC_FLAG] = TRUE;
|
||||
|
Reference in New Issue
Block a user