Authors: Christian Thalinger
- $Id: typecheck.h 4357 2006-01-22 23:33:38Z twisti $
*/
#ifndef _TYPECHECK_H
#define _TYPECHECK_H
-#include "vm/method.h"
-#include "vm/jit/codegen-common.h"
-#include "vm/jit/reg.h"
+#include "config.h"
+
+#include "vm/global.h"
+#include "vm/jit/jit.h"
/* function prototypes ********************************************************/
-methodinfo *typecheck(methodinfo *m, codegendata *cd, registerdata *rd);
+#if defined(ENABLE_VERIFIER)
+bool typecheck(jitdata *jd);
+bool typecheck_stackbased(jitdata *jd);
+#endif
#endif /* _TYPECHECK_H */