5 #ifndef __MONO_METADATA_BASIC_BLOCK_H__
6 #define __MONO_METADATA_BASIC_BLOCK_H__
9 #include <mono/metadata/metadata.h>
10 #include <mono/utils/mono-compiler.h>
11 #include <mono/utils/mono-error.h>
15 typedef struct _MonoSimpleBasicBlock MonoSimpleBasicBlock;
17 struct _MonoSimpleBasicBlock {
18 MonoSimpleBasicBlock *next, *left, *right, *parent;
26 mono_basic_block_split (MonoMethod *method, MonoError *error, MonoMethodHeader *header);
29 mono_basic_block_free (MonoSimpleBasicBlock *bb);
32 /*This function is here because opcodes.h is a public header*/
34 mono_opcode_value_and_size (const unsigned char **ip, const unsigned char *end, int *value);
37 mono_opcode_size (const unsigned char *ip, const unsigned char *end);
41 #endif /* __MONO_METADATA_BASIC_BLOCK_H__ */