-/* jit/loop/tracing.h - trace functions header
+/* vm/jit/loop/tracing.h - trace functions header
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
- R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser,
- M. Probst, S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck,
- P. Tomsich, J. Wenninger
+ Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+ R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+ C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+ Institut f. Computersprachen - TU Wien
This file is part of CACAO.
Authors: Christian Thalinger
- $Id: tracing.h 665 2003-11-21 18:36:43Z jowenn $
+ $Id: tracing.h 1735 2004-12-07 14:33:27Z twisti $
*/
#ifndef _TRACING_H
#define _TRACING_H
-#include "jit.h"
+#include "vm/jit/jit.h"
+
+
+typedef struct Trace Trace;
+
/*
This struct is needed to record the source of operands of intermediate code
};
+/* function protoypes *********************************************************/
-/* function protoypes */
-struct Trace* create_trace(int type, int var, int constant, int nr);
-struct Trace* add(struct Trace* a, struct Trace* b);
-struct Trace* negate(struct Trace* a);
-struct Trace* sub(struct Trace* a, struct Trace* b);
-struct Trace* array_length(struct Trace* a);
-struct Trace* tracing(struct basicblock *block, int index, int temp);
+Trace* create_trace(int type, int var, int constant, int nr);
+Trace* add(Trace* a, Trace* b);
+Trace* negate(Trace* a);
+Trace* sub(Trace* a, Trace* b);
+Trace* array_length(Trace* a);
+Trace* tracing(basicblock *block, int index, int temp);
#endif /* _TRACING_H */