Revision b03cce8e tcg/tcg.h

b/tcg/tcg.h
90 90

  
91 91
#define TCG_MAX_TEMPS 512
92 92

  
93
/* when the size of the arguments of a called function is smaller than
94
   this value, they are statically allocated in the TB stack frame */
95
#define TCG_STATIC_CALL_ARGS_SIZE 128
96

  
93 97
typedef int TCGType;
94 98

  
95 99
#define TCG_TYPE_I32 0
......
285 289

  
286 290
#define TCG_OPF_BB_END     0x01 /* instruction defines the end of a basic
287 291
                                   block */
288
#define TCG_OPF_CALL_CLOBBER 0x02 /* instruction clobbers call registers */
289
#define TCG_OPF_SIDE_EFFECTS 0x04 /* instruction has side effects */
292
#define TCG_OPF_CALL_CLOBBER 0x02 /* instruction clobbers call registers 
293
                                   and potentially update globals. */
294
#define TCG_OPF_SIDE_EFFECTS 0x04 /* instruction has side effects : it
295
                                     cannot be removed if its output
296
                                     are not used */
290 297

  
291 298
typedef struct TCGOpDef {
292 299
    const char *name;
......
305 312
extern TCGOpDef tcg_op_defs[];
306 313

  
307 314
void tcg_target_init(TCGContext *s);
315
void tcg_target_qemu_prologue(TCGContext *s);
308 316

  
309 317
#define tcg_abort() \
310 318
do {\
......
358 366
int64_t tcg_helper_rem_i64(int64_t arg1, int64_t arg2);
359 367
uint64_t tcg_helper_divu_i64(uint64_t arg1, uint64_t arg2);
360 368
uint64_t tcg_helper_remu_i64(uint64_t arg1, uint64_t arg2);
369

  
370
extern uint8_t code_gen_prologue[];
371
#define tcg_qemu_tb_exec(tb_ptr) ((long REGPARM (*)(void *))code_gen_prologue)(tb_ptr)

Also available in: Unified diff