pass regs when constructing long ints and floats.

fix small gcc complaints.
This commit is contained in:
Vitor Santos Costa
2013-03-26 15:01:52 -05:00
parent a599699f0c
commit d163cadda1
24 changed files with 234 additions and 152 deletions

View File

@@ -738,6 +738,7 @@ YAP_IsCompoundTerm(Term t)
X_API Term
YAP_MkIntTerm(Int n)
{
CACHE_REGS
Term I;
BACKUP_H();
@@ -854,6 +855,7 @@ YAP_BlobOfTerm(Term t)
X_API Term
YAP_MkFloatTerm(double n)
{
CACHE_REGS
Term t;
BACKUP_H();