-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathjmp.h
49 lines (41 loc) · 1.25 KB
/
jmp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/********************************************
jmp.h
copyright 2009,2010 Thomas E. Dickey
copyright 1991, Michael D. Brennan
This is a source file for mawk, an implementation of
the AWK programming language.
Mawk is distributed without warranty under the terms of
the GNU General Public License, version 2, 1991.
********************************************/
/*
* $MawkId: jmp.h,v 1.5 2010/12/10 17:00:00 tom Exp $
* @Log: jmp.h,v @
* Revision 1.2 1995/04/21 14:20:19 mike
* move_level variable to fix bug in arglist patching of moved code.
*
* Revision 1.1.1.1 1993/07/03 18:58:15 mike
* move source to cvs
*
* Revision 5.2 1993/01/09 19:03:44 mike
* code_pop checks if the resolve_list needs relocation
*
* Revision 5.1 1991/12/05 07:59:24 brennan
* 1.1 pre-release
*
*/
#ifndef MAWK_JMP_H
#define MAWK_JMP_H
#include "types.h"
#include "symtype.h"
void BC_new(void);
void BC_insert(int, INST *);
void BC_clear(INST *, INST *);
void code_push(INST *, unsigned, int, FBLOCK *);
unsigned code_pop(INST *);
void code_jmp(int, INST *);
void patch_jmp(INST *);
extern int code_move_level;
/* used to as one part of unique identification of context when
moving code. Global for communication with parser.
*/
#endif /* MAWK_JMP_H */