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>
12 #include <mono/metadata/opcodes.h>
14 typedef struct _MonoSimpleBasicBlock MonoSimpleBasicBlock
;
16 struct _MonoSimpleBasicBlock
{
17 MonoSimpleBasicBlock
*next
, *left
, *right
, *parent
;
25 mono_basic_block_split (MonoMethod
*method
, MonoError
*error
, MonoMethodHeader
*header
);
28 mono_basic_block_free (MonoSimpleBasicBlock
*bb
);
30 /*This function is here because opcodes.h is a public header*/
32 mono_opcode_value_and_size (const unsigned char **ip
, const unsigned char *end
, MonoOpcodeEnum
*value
);
35 mono_opcode_size (const unsigned char *ip
, const unsigned char *end
);
37 #endif /* __MONO_METADATA_BASIC_BLOCK_H__ */