summaryrefslogtreecommitdiff
path: root/private_include/ops.h
blob: ed8bd20216186a6b389c4a61cb808e97796e6454 (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
#ifndef OPS_H
#define OPS_H

#include <interp.h>
#include <stdio.h>

int op_unreachable(struct interp *i);
int op_nop(struct interp *i);
int op_block(struct interp *i);
int op_loop(struct interp *i);
int op_if(struct interp *i);
int op_else(struct interp *i);
int op_end(struct interp *i);
int op_br(struct interp *i);
int op_br_if(struct interp *i);
int op_br_table(struct interp *i);
int op_return(struct interp *i);
int op_call(struct interp *i);
int op_call_indirect(struct interp *i);
int op_get_local(struct interp *i);
int op_set_local(struct interp *i);
int op_tee_local(struct interp *i);
int op_get_global(struct interp *i);
int op_set_global(struct interp *i);
int op_i32_load(struct interp *i);
int op_i32_store(struct interp *i);
int op_i32_const(struct interp *i);
int op_i64_const(struct interp *i);
int op_f32_const(struct interp *i);
int op_f64_const(struct interp *i);
int op_i32_sub(struct interp *i);

int check_unreachable(FILE *f);
int check_nop(FILE *f);
int check_block(FILE *f);
int check_loop(FILE *f);
int check_if(FILE *f);
int check_else(FILE *f);
int check_end(FILE *f);
int check_br(FILE *f);
int check_br_if(FILE *f);
int check_br_table(FILE *f);
int check_return(FILE *f);
int check_call(FILE *f);
int check_call_indirect(FILE *f);
int check_get_local(FILE *f);
int check_set_local(FILE *f);
int check_tee_local(FILE *f);
int check_get_global(FILE *f);
int check_set_global(FILE *f);
int check_i32_load(FILE *f);
int check_i32_store(FILE *f);
int check_i32_const(FILE *f);
int check_i64_const(FILE *f);
int check_f32_const(FILE *f);
int check_f64_const(FILE *f);
int check_i32_sub(FILE *f);

#endif