4 extern jmp_buf error_handler;
5 extern int instructioncount;
6 extern int failurecount;
10 void * allocate_new(void *, int type);
11 struct ArrayObject * allocate_newarray(void *, int type, int length);
12 struct ___String___ * NewString(void *, const char *str,int length);
14 void * allocate_new(int type);
15 struct ArrayObject * allocate_newarray(int type, int length);
16 struct ___String___ * NewString(const char *str,int length);
19 void failedboundschk();
22 void injectinstructionfailure();
23 void createstartupobject();
26 #define VAR(name) ___params___->name
27 #define CALL00(name) name(struct name ## _params * ___params___)
28 #define CALL01(name, alt) name(struct name ## _params * ___params___)
29 #define CALL02(name, alt1, alt2) name(struct name ## _params * ___params___)
30 #define CALL11(name,rest, alt) name(struct name ## _params * ___params___, rest)
31 #define CALL12(name,rest, alt1, alt2) name(struct name ## _params * ___params___, rest)
32 #define CALL21(name,rest, rest2, alt) name(struct name ## _params * ___params___, rest, rest2)
33 #define CALL23(name, rest, rest2, alt1, alt2, alt3) name(struct name ## _params * ___params___, rest, rest2)
35 #define VAR(name) name
36 #define CALL00(name) name()
37 #define CALL01(name, alt) name(alt)
38 #define CALL02(name, alt1, alt2) name(alt1, alt2)
39 #define CALL11(name,rest, alt) name(alt)
40 #define CALL12(name,rest, alt1, alt2) name(alt1, alt2)
41 #define CALL21(name,rest, rest2, alt) name(alt)
42 #define CALL23(name, rest, rest2, alt1, alt2, alt3) name(alt1, alt2, alt3)
46 #include "SimpleHash.h"
48 void flagorand(void * ptr, int ormask, int andmask);
52 struct parameterwrapper {
53 struct parameterwrapper *next;
54 struct RuntimeHash * objectset;
57 struct taskdescriptor * task;
60 struct taskparamdescriptor {
61 struct taskdescriptor * task;
63 void ** parameterArray;
67 struct taskparamdescriptor * task;
68 struct tpdlist * next;
71 int hashCodetpd(struct taskparamdescriptor *);
72 int comparetpd(struct taskparamdescriptor *, struct taskparamdescriptor *);