4 extern jmp_buf error_handler;
5 extern int instructioncount;
9 void * allocate_new(void *, int type);
10 struct ArrayObject * allocate_newarray(void *, int type, int length);
11 struct ___String___ * NewString(void *, const char *str,int length);
13 void * allocate_new(int type);
14 struct ArrayObject * allocate_newarray(int type, int length);
15 struct ___String___ * NewString(const char *str,int length);
18 void failedboundschk();
21 void injectinstructionfailure();
22 void createstartupobject();
25 #define VAR(name) ___params___->name
26 #define CALL01(name, alt) name(struct name ## _params * ___params___)
27 #define CALL02(name, alt1, alt2) name(struct name ## _params * ___params___)
28 #define CALL11(name,rest, alt) name(struct name ## _params * ___params___, rest)
29 #define CALL12(name,rest, alt1, alt2) name(struct name ## _params * ___params___, rest)
30 #define CALL21(name,rest, rest2, alt) name(struct name ## _params * ___params___, rest, rest2)
31 #define CALL23(name, rest, rest2, alt1, alt2, alt3) name(struct name ## _params * ___params___, rest, rest2)
33 #define VAR(name) name
34 #define CALL01(name, alt) name(alt)
35 #define CALL02(name, alt1, alt2) name(alt1, alt2)
36 #define CALL11(name,rest, alt) name(alt)
37 #define CALL12(name,rest, alt1, alt2) name(alt1, alt2)
38 #define CALL21(name,rest, rest2, alt) name(alt)
39 #define CALL23(name, rest, rest2, alt1, alt2, alt3) name(alt1, alt2, alt3)
43 #include "SimpleHash.h"
45 void flagorand(void * ptr, int ormask, int andmask);
49 struct parameterwrapper {
50 struct parameterwrapper *next;
51 struct RuntimeHash * objectset;
54 struct taskdescriptor * task;
57 struct taskparamdescriptor {
58 struct taskdescriptor * task;
60 void ** parameterArray;
64 struct taskparamdescriptor * task;
65 struct tpdlist * next;
68 int hashCodetpd(struct taskparamdescriptor *);
69 int comparetpd(struct taskparamdescriptor *, struct taskparamdescriptor *);