/src/mruby/build/host/mrbgems/mruby-catch/gem_init.c
Line | Count | Source |
1 | | /* |
2 | | * This file is loading the irep |
3 | | * Ruby GEM code. |
4 | | * |
5 | | * This file was generated by mruby/lib/mruby/gem.rb. |
6 | | * |
7 | | * IMPORTANT: |
8 | | * This file was generated! |
9 | | * All manual changes will get lost. |
10 | | */ |
11 | | #include <stdlib.h> |
12 | | #include <mruby.h> |
13 | | #include <mruby/irep.h> |
14 | | #include <mruby/debug.h> |
15 | | #include <mruby/proc.h> |
16 | | #include <mruby/presym.h> |
17 | | |
18 | | #define mrb_BRACED(...) {__VA_ARGS__} |
19 | | #define mrb_DEFINE_SYMS_VAR(name, len, syms, qualifier) \ |
20 | | static qualifier mrb_sym name[len] = mrb_BRACED syms |
21 | | |
22 | | static const mrb_irep_pool gem_mrblib_mruby_catch_proc_pool_2[2] = { |
23 | | {IREP_TT_STR|(15<<2), {"\x75\x6e\x63\x61\x75\x67\x68\x74\x20\x74\x68\x72\x6f\x77\x20"}}, |
24 | | {IREP_TT_STR|(0<<2), {""}}, |
25 | | }; |
26 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_catch_proc_syms_2, 3, (MRB_IVSYM(tag), MRB_IVSYM(value), MRB_SYM(inspect), ), const); |
27 | | static const mrb_code gem_mrblib_mruby_catch_proc_iseq_2[35] = { |
28 | | 0x34,0x08,0x00,0x00,0x1a,0x01,0x00,0x1a,0x02,0x01,0x51,0x05,0x00,0x01,0x06,0x01,0x2f,0x06,0x02,0x00, |
29 | | 0x52,0x05,0x51,0x06,0x01,0x52,0x05,0x01,0x06,0x03,0x32,0x04,0x01,0x38,0x04,}; |
30 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_catch_proc_lv_2, 3, (MRB_SYM(tag), MRB_SYM(value), 0,), const); |
31 | | static const mrb_irep gem_mrblib_mruby_catch_proc_irep_2 = { |
32 | | 4,8,0, |
33 | | MRB_IREP_STATIC,gem_mrblib_mruby_catch_proc_iseq_2, |
34 | | gem_mrblib_mruby_catch_proc_pool_2,gem_mrblib_mruby_catch_proc_syms_2,NULL, |
35 | | gem_mrblib_mruby_catch_proc_lv_2, |
36 | | NULL, /* debug_info */ |
37 | | 35,2,3,0,0 |
38 | | }; |
39 | | static const mrb_irep *gem_mrblib_mruby_catch_proc_reps_1[1] = { |
40 | | &gem_mrblib_mruby_catch_proc_irep_2, |
41 | | }; |
42 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_catch_proc_syms_1, 4, (MRB_SYM(tag), MRB_SYM(attr_reader), MRB_SYM(value), MRB_SYM(initialize), ), const); |
43 | | static const mrb_code gem_mrblib_mruby_catch_proc_iseq_1[24] = { |
44 | | 0x10,0x02,0x00,0x2d,0x01,0x01,0x01,0x10,0x02,0x02,0x2d,0x01,0x01,0x01,0x63,0x01,0x58,0x02,0x00,0x5f, |
45 | | 0x01,0x03,0x38,0x01,}; |
46 | | static const mrb_irep gem_mrblib_mruby_catch_proc_irep_1 = { |
47 | | 1,4,0, |
48 | | MRB_IREP_STATIC,gem_mrblib_mruby_catch_proc_iseq_1, |
49 | | NULL,gem_mrblib_mruby_catch_proc_syms_1,gem_mrblib_mruby_catch_proc_reps_1, |
50 | | NULL, /* lv */ |
51 | | NULL, /* debug_info */ |
52 | | 24,0,4,1,0 |
53 | | }; |
54 | | static const mrb_irep *gem_mrblib_mruby_catch_proc_reps_0[1] = { |
55 | | &gem_mrblib_mruby_catch_proc_irep_1, |
56 | | }; |
57 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_catch_proc_syms_0, 2, (MRB_SYM(ArgumentError), MRB_SYM(UncaughtThrowError), ), const); |
58 | | static const mrb_code gem_mrblib_mruby_catch_proc_iseq_0[14] = { |
59 | | 0x11,0x01,0x1d,0x02,0x00,0x5c,0x01,0x01,0x5e,0x01,0x00,0x38,0x01,0x69,}; |
60 | | static const mrb_irep gem_mrblib_mruby_catch_proc_irep_0 = { |
61 | | 1,3,0, |
62 | | MRB_IREP_STATIC,gem_mrblib_mruby_catch_proc_iseq_0, |
63 | | NULL,gem_mrblib_mruby_catch_proc_syms_0,gem_mrblib_mruby_catch_proc_reps_0, |
64 | | NULL, /* lv */ |
65 | | NULL, /* debug_info */ |
66 | | 14,0,2,1,0 |
67 | | }; |
68 | | static |
69 | | const struct RProc gem_mrblib_mruby_catch_proc[] = {{ |
70 | | NULL,NULL,MRB_TT_PROC,MRB_GC_RED,MRB_OBJ_IS_FROZEN,0,{&gem_mrblib_mruby_catch_proc_irep_0},NULL,{NULL}, |
71 | | }}; |
72 | | static void |
73 | | gem_mrblib_mruby_catch_proc_init_syms(mrb_state *mrb) |
74 | 1.32k | { |
75 | 1.32k | } |
76 | | void mrb_mruby_catch_gem_init(mrb_state *mrb); |
77 | | void mrb_mruby_catch_gem_final(mrb_state *mrb); |
78 | | |
79 | 1.32k | void GENERATED_TMP_mrb_mruby_catch_gem_init(mrb_state *mrb) { |
80 | 1.32k | gem_mrblib_mruby_catch_proc_init_syms(mrb); |
81 | 1.32k | mrb_mruby_catch_gem_init(mrb); |
82 | 1.32k | mrb_load_proc(mrb, gem_mrblib_mruby_catch_proc); |
83 | 1.32k | } |
84 | | |
85 | 1.32k | void GENERATED_TMP_mrb_mruby_catch_gem_final(mrb_state *mrb) { |
86 | 1.32k | mrb_mruby_catch_gem_final(mrb); |
87 | 1.32k | } |