1 #ifndef __MONO_METADATA_BASIC_BLOCK_H__
2 #define __MONO_METADATA_BASIC_BLOCK_H__
5 #include <mono/metadata/metadata.h>
6 #include <mono/utils/mono-compiler.h>
7 #include <mono/utils/mono-error.h>
11 typedef struct _MonoSimpleBasicBlock MonoSimpleBasicBlock;
13 struct _MonoSimpleBasicBlock {
14 MonoSimpleBasicBlock *next, *left, *right, *parent;
22 mono_basic_block_split (MonoMethod *method, MonoError *error, MonoMethodHeader *header);
25 mono_basic_block_free (MonoSimpleBasicBlock *bb);
28 /*This function is here because opcodes.h is a public header*/
30 mono_opcode_value_and_size (const unsigned char **ip, const unsigned char *end, int *value);
33 mono_opcode_size (const unsigned char *ip, const unsigned char *end);
37 #endif /* __MONO_METADATA_BASIC_BLOCK_H__ */