Changeset 4047a6 in git
- Timestamp:
- Sep 18, 2000, 12:26:13 PM (24 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- a5127397c476917935268a35df746271b31ac4d5
- Parents:
- 9f537845c135f3acb5065187370df2bb778ce0fe
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/Makefile.in
r9f5378 r4047a6 277 277 278 278 p_Procs.inc: p_Procs.cc p_Procs.h mod2.h 279 $(CXX) -g -Wall -DNDEBUG -DGENERATE_P_PROCS p_Procs.cc -o p_Procs 280 ./p_Procs > p_Procs.inc 281 p_Procs_debug.inc: p_Procs.cc p_Procs.h mod2.h 279 282 $(CXX) -g -Wall -DGENERATE_P_PROCS p_Procs.cc -o p_Procs 280 ./p_Procs > p_Procs .inc281 282 p_Procs.o: p_Procs.inc 283 ./p_Procs > p_Procs_debug.inc 284 285 p_Procs.o: p_Procs.inc p_Procs_debug.inc 283 286 284 287 src: scanner.cc grammar.h grammar.cc libparse.cc -
Singular/p_Procs.cc
r9f5378 r4047a6 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Procs.cc,v 1. 8 2000-09-18 09:19:27obachman Exp $9 * Version: $Id: p_Procs.cc,v 1.9 2000-09-18 10:26:13 obachman Exp $ 10 10 *******************************************************************/ 11 11 #include <string.h> … … 19 19 *******************************************************************/ 20 20 // define to enable/disable ptest in p_Procs 21 #undef TEST_P_PROCS22 // #define TEST_P_PROCS23 21 24 22 /*************************************************************** … … 46 44 // 3 -- plus Field*_Length*_OrdGeneral procs 47 45 // 4 -- all Field*_Length*_Ord* procs 46 #ifdef NDEBUG 47 const int HAVE_FAST_P_PROCS = 4; 48 #else 48 49 const int HAVE_FAST_P_PROCS = 0; 50 #endif 49 51 50 52 // Set HAVE_FAST_FIELD to: … … 60 62 // 3 -- special cases for length <= 4 61 63 // 4 -- special cases for length <= 8 62 const int HAVE_FAST_LENGTH = 2;64 const int HAVE_FAST_LENGTH = 4; 63 65 64 66 // Set HAVE_FAST_ORD to: … … 506 508 #include "p_MemAdd.h" 507 509 #include "p_MemCopy.h" 508 510 #ifdef NDEBUG 509 511 #include "p_Procs.inc" 512 #else 513 #include "p_Procs_debug.inc" 514 #endif 510 515 511 516 // the rest is related to getting the procs
Note: See TracChangeset
for help on using the changeset viewer.