/* src/vm/jit/ifconv/ifconv.c - if-conversion
- Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+ Copyright (C) 1996-2005, 2006, 2007 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
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Contact: cacao@cacaojvm.org
-
- Authors: Christian Thalinger
-
- Changes:
-
- $Id: stack.c 4455 2006-02-06 01:02:59Z edwin $
-
*/
#include "vm/types.h"
-#include "vm/method.h"
+#include "vm/vm.h"
+
#include "vm/jit/codegen-common.h"
#include "vm/jit/jit.h"
#include "vm/jit/reg.h"
#include "vm/jit/show.h"
+#include "vmcore/method.h"
+
/* patterns for a total number of 3 instructions ******************************/
/* keep compiler happy */
pattern = NULL;
+ patternsize = 0;
/* that should not happen */
- assert(0);
+ vm_abort("ifconv_static: invalid instruction count %d", icount);
}
/* Iterate over all patterns of the given pattern. */
condition = 0;
- assert(0);
+ vm_abort("ifconv_static: invalid opcode: %d", iptr->opc);
}
/* get the condition array index */