bindex 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +13 -33
  3. data/bindex.gemspec +1 -1
  4. data/ext/bindex/com/gsamokovarov/bindex/JRubyIntegration.java +2 -2
  5. data/ext/bindex/cruby.c +41 -13
  6. data/ext/bindex/extconf.rb +0 -15
  7. data/lib/bindex/jruby.rb +0 -1
  8. data/lib/bindex/jruby_internals.jar +0 -0
  9. data/lib/bindex/jruby_internals_9k.jar +0 -0
  10. data/lib/bindex/version.rb +1 -1
  11. metadata +17 -152
  12. data/ext/bindex/bindex.h +0 -11
  13. data/ext/bindex/bindings.c +0 -106
  14. data/ext/bindex/ruby_193.h +0 -101
  15. data/ext/bindex/ruby_193/addr2line.h +0 -21
  16. data/ext/bindex/ruby_193/constant.h +0 -34
  17. data/ext/bindex/ruby_193/debug.h +0 -41
  18. data/ext/bindex/ruby_193/dln.h +0 -50
  19. data/ext/bindex/ruby_193/encdb.h +0 -167
  20. data/ext/bindex/ruby_193/eval_intern.h +0 -234
  21. data/ext/bindex/ruby_193/gc.h +0 -99
  22. data/ext/bindex/ruby_193/id.h +0 -177
  23. data/ext/bindex/ruby_193/internal.h +0 -242
  24. data/ext/bindex/ruby_193/iseq.h +0 -126
  25. data/ext/bindex/ruby_193/method.h +0 -105
  26. data/ext/bindex/ruby_193/node.h +0 -504
  27. data/ext/bindex/ruby_193/parse.h +0 -302
  28. data/ext/bindex/ruby_193/probes.h +0 -369
  29. data/ext/bindex/ruby_193/regenc.h +0 -219
  30. data/ext/bindex/ruby_193/regint.h +0 -850
  31. data/ext/bindex/ruby_193/regparse.h +0 -362
  32. data/ext/bindex/ruby_193/revision.h +0 -1
  33. data/ext/bindex/ruby_193/ruby_atomic.h +0 -175
  34. data/ext/bindex/ruby_193/siphash.h +0 -48
  35. data/ext/bindex/ruby_193/thread_pthread.h +0 -51
  36. data/ext/bindex/ruby_193/thread_win32.h +0 -40
  37. data/ext/bindex/ruby_193/timev.h +0 -21
  38. data/ext/bindex/ruby_193/transcode_data.h +0 -117
  39. data/ext/bindex/ruby_193/transdb.h +0 -186
  40. data/ext/bindex/ruby_193/verconf.h +0 -12
  41. data/ext/bindex/ruby_193/version.h +0 -52
  42. data/ext/bindex/ruby_193/vm_core.h +0 -763
  43. data/ext/bindex/ruby_193/vm_exec.h +0 -184
  44. data/ext/bindex/ruby_193/vm_insnhelper.h +0 -220
  45. data/ext/bindex/ruby_193/vm_opts.h +0 -51
  46. data/ext/bindex/ruby_20.h +0 -142
  47. data/ext/bindex/ruby_20/addr2line.h +0 -21
  48. data/ext/bindex/ruby_20/constant.h +0 -36
  49. data/ext/bindex/ruby_20/dln.h +0 -50
  50. data/ext/bindex/ruby_20/encdb.h +0 -169
  51. data/ext/bindex/ruby_20/eval_intern.h +0 -241
  52. data/ext/bindex/ruby_20/gc.h +0 -104
  53. data/ext/bindex/ruby_20/id.h +0 -135
  54. data/ext/bindex/ruby_20/internal.h +0 -395
  55. data/ext/bindex/ruby_20/iseq.h +0 -140
  56. data/ext/bindex/ruby_20/method.h +0 -138
  57. data/ext/bindex/ruby_20/node.h +0 -541
  58. data/ext/bindex/ruby_20/parse.h +0 -292
  59. data/ext/bindex/ruby_20/probes.h +0 -369
  60. data/ext/bindex/ruby_20/probes_helper.h +0 -67
  61. data/ext/bindex/ruby_20/regenc.h +0 -227
  62. data/ext/bindex/ruby_20/regint.h +0 -915
  63. data/ext/bindex/ruby_20/regparse.h +0 -367
  64. data/ext/bindex/ruby_20/revision.h +0 -1
  65. data/ext/bindex/ruby_20/ruby_atomic.h +0 -170
  66. data/ext/bindex/ruby_20/siphash.h +0 -48
  67. data/ext/bindex/ruby_20/thread_pthread.h +0 -56
  68. data/ext/bindex/ruby_20/thread_win32.h +0 -45
  69. data/ext/bindex/ruby_20/timev.h +0 -21
  70. data/ext/bindex/ruby_20/transcode_data.h +0 -127
  71. data/ext/bindex/ruby_20/transdb.h +0 -190
  72. data/ext/bindex/ruby_20/verconf.h +0 -12
  73. data/ext/bindex/ruby_20/version.h +0 -52
  74. data/ext/bindex/ruby_20/vm_core.h +0 -1018
  75. data/ext/bindex/ruby_20/vm_debug.h +0 -41
  76. data/ext/bindex/ruby_20/vm_exec.h +0 -173
  77. data/ext/bindex/ruby_20/vm_insnhelper.h +0 -274
  78. data/ext/bindex/ruby_20/vm_opts.h +0 -56
  79. data/ext/bindex/ruby_21.h +0 -142
  80. data/ext/bindex/ruby_21/addr2line.h +0 -21
  81. data/ext/bindex/ruby_21/constant.h +0 -36
  82. data/ext/bindex/ruby_21/dln.h +0 -51
  83. data/ext/bindex/ruby_21/encdb.h +0 -170
  84. data/ext/bindex/ruby_21/eval_intern.h +0 -260
  85. data/ext/bindex/ruby_21/gc.h +0 -101
  86. data/ext/bindex/ruby_21/id.h +0 -210
  87. data/ext/bindex/ruby_21/internal.h +0 -889
  88. data/ext/bindex/ruby_21/iseq.h +0 -136
  89. data/ext/bindex/ruby_21/method.h +0 -142
  90. data/ext/bindex/ruby_21/node.h +0 -543
  91. data/ext/bindex/ruby_21/parse.h +0 -298
  92. data/ext/bindex/ruby_21/probes.h +0 -401
  93. data/ext/bindex/ruby_21/probes_helper.h +0 -67
  94. data/ext/bindex/ruby_21/regenc.h +0 -223
  95. data/ext/bindex/ruby_21/regint.h +0 -911
  96. data/ext/bindex/ruby_21/regparse.h +0 -363
  97. data/ext/bindex/ruby_21/revision.h +0 -1
  98. data/ext/bindex/ruby_21/ruby_atomic.h +0 -170
  99. data/ext/bindex/ruby_21/siphash.h +0 -48
  100. data/ext/bindex/ruby_21/thread_native.h +0 -23
  101. data/ext/bindex/ruby_21/thread_pthread.h +0 -56
  102. data/ext/bindex/ruby_21/thread_win32.h +0 -45
  103. data/ext/bindex/ruby_21/timev.h +0 -42
  104. data/ext/bindex/ruby_21/transcode_data.h +0 -123
  105. data/ext/bindex/ruby_21/transdb.h +0 -190
  106. data/ext/bindex/ruby_21/verconf.h +0 -13
  107. data/ext/bindex/ruby_21/version.h +0 -52
  108. data/ext/bindex/ruby_21/vm_core.h +0 -1043
  109. data/ext/bindex/ruby_21/vm_debug.h +0 -37
  110. data/ext/bindex/ruby_21/vm_exec.h +0 -182
  111. data/ext/bindex/ruby_21/vm_insnhelper.h +0 -273
  112. data/ext/bindex/ruby_21/vm_opts.h +0 -56
  113. data/ext/bindex/ruby_21preview.h +0 -146
  114. data/ext/bindex/ruby_21preview/addr2line.h +0 -21
  115. data/ext/bindex/ruby_21preview/constant.h +0 -36
  116. data/ext/bindex/ruby_21preview/dln.h +0 -51
  117. data/ext/bindex/ruby_21preview/encdb.h +0 -270
  118. data/ext/bindex/ruby_21preview/eval_intern.h +0 -217
  119. data/ext/bindex/ruby_21preview/gc.h +0 -100
  120. data/ext/bindex/ruby_21preview/id.h +0 -169
  121. data/ext/bindex/ruby_21preview/internal.h +0 -765
  122. data/ext/bindex/ruby_21preview/iseq.h +0 -136
  123. data/ext/bindex/ruby_21preview/method.h +0 -141
  124. data/ext/bindex/ruby_21preview/node.h +0 -543
  125. data/ext/bindex/ruby_21preview/parse.h +0 -298
  126. data/ext/bindex/ruby_21preview/probes.h +0 -385
  127. data/ext/bindex/ruby_21preview/probes_helper.h +0 -67
  128. data/ext/bindex/ruby_21preview/regenc.h +0 -223
  129. data/ext/bindex/ruby_21preview/regint.h +0 -911
  130. data/ext/bindex/ruby_21preview/regparse.h +0 -363
  131. data/ext/bindex/ruby_21preview/revision.h +0 -1
  132. data/ext/bindex/ruby_21preview/ruby_atomic.h +0 -130
  133. data/ext/bindex/ruby_21preview/siphash.h +0 -48
  134. data/ext/bindex/ruby_21preview/thread_native.h +0 -23
  135. data/ext/bindex/ruby_21preview/thread_pthread.h +0 -56
  136. data/ext/bindex/ruby_21preview/thread_win32.h +0 -45
  137. data/ext/bindex/ruby_21preview/timev.h +0 -42
  138. data/ext/bindex/ruby_21preview/transcode_data.h +0 -123
  139. data/ext/bindex/ruby_21preview/transdb.h +0 -190
  140. data/ext/bindex/ruby_21preview/verconf.h +0 -13
  141. data/ext/bindex/ruby_21preview/version.h +0 -53
  142. data/ext/bindex/ruby_21preview/vm_core.h +0 -1017
  143. data/ext/bindex/ruby_21preview/vm_debug.h +0 -37
  144. data/ext/bindex/ruby_21preview/vm_exec.h +0 -180
  145. data/ext/bindex/ruby_21preview/vm_insnhelper.h +0 -272
  146. data/ext/bindex/ruby_21preview/vm_opts.h +0 -56
@@ -1,302 +0,0 @@
1
- /* A Bison parser, made by GNU Bison 2.3. */
2
-
3
- /* Skeleton interface for Bison's Yacc-like parsers in C
4
-
5
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6
- Free Software Foundation, Inc.
7
-
8
- This program is free software; you can redistribute it and/or modify
9
- it under the terms of the GNU General Public License as published by
10
- the Free Software Foundation; either version 2, or (at your option)
11
- any later version.
12
-
13
- This program is distributed in the hope that it will be useful,
14
- but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- GNU General Public License for more details.
17
-
18
- You should have received a copy of the GNU General Public License
19
- along with this program; if not, write to the Free Software
20
- Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
- Boston, MA 02110-1301, USA. */
22
-
23
- /* As a special exception, you may create a larger work that contains
24
- part or all of the Bison parser skeleton and distribute that work
25
- under terms of your choice, so long as that work isn't itself a
26
- parser generator using the skeleton or a modified version thereof
27
- as a parser skeleton. Alternatively, if you modify or redistribute
28
- the parser skeleton itself, you may (at your option) remove this
29
- special exception, which will cause the skeleton and the resulting
30
- Bison output files to be licensed under the GNU General Public
31
- License without this special exception.
32
-
33
- This special exception was added by the Free Software Foundation in
34
- version 2.2 of Bison. */
35
-
36
- /* Tokens. */
37
- #ifndef YYTOKENTYPE
38
- # define YYTOKENTYPE
39
- /* Put the tokens into the symbol table, so that GDB and other debuggers
40
- know about them. */
41
- enum yytokentype {
42
- keyword_class = 258,
43
- keyword_module = 259,
44
- keyword_def = 260,
45
- keyword_undef = 261,
46
- keyword_begin = 262,
47
- keyword_rescue = 263,
48
- keyword_ensure = 264,
49
- keyword_end = 265,
50
- keyword_if = 266,
51
- keyword_unless = 267,
52
- keyword_then = 268,
53
- keyword_elsif = 269,
54
- keyword_else = 270,
55
- keyword_case = 271,
56
- keyword_when = 272,
57
- keyword_while = 273,
58
- keyword_until = 274,
59
- keyword_for = 275,
60
- keyword_break = 276,
61
- keyword_next = 277,
62
- keyword_redo = 278,
63
- keyword_retry = 279,
64
- keyword_in = 280,
65
- keyword_do = 281,
66
- keyword_do_cond = 282,
67
- keyword_do_block = 283,
68
- keyword_do_LAMBDA = 284,
69
- keyword_return = 285,
70
- keyword_yield = 286,
71
- keyword_super = 287,
72
- keyword_self = 288,
73
- keyword_nil = 289,
74
- keyword_true = 290,
75
- keyword_false = 291,
76
- keyword_and = 292,
77
- keyword_or = 293,
78
- keyword_not = 294,
79
- modifier_if = 295,
80
- modifier_unless = 296,
81
- modifier_while = 297,
82
- modifier_until = 298,
83
- modifier_rescue = 299,
84
- keyword_alias = 300,
85
- keyword_defined = 301,
86
- keyword_BEGIN = 302,
87
- keyword_END = 303,
88
- keyword__LINE__ = 304,
89
- keyword__FILE__ = 305,
90
- keyword__ENCODING__ = 306,
91
- tIDENTIFIER = 307,
92
- tFID = 308,
93
- tGVAR = 309,
94
- tIVAR = 310,
95
- tCONSTANT = 311,
96
- tCVAR = 312,
97
- tLABEL = 313,
98
- tINTEGER = 314,
99
- tFLOAT = 315,
100
- tSTRING_CONTENT = 316,
101
- tCHAR = 317,
102
- tNTH_REF = 318,
103
- tBACK_REF = 319,
104
- tREGEXP_END = 320,
105
- tUPLUS = 321,
106
- tUMINUS = 322,
107
- tPOW = 323,
108
- tCMP = 324,
109
- tEQ = 325,
110
- tEQQ = 326,
111
- tNEQ = 327,
112
- tGEQ = 328,
113
- tLEQ = 329,
114
- tANDOP = 330,
115
- tOROP = 331,
116
- tMATCH = 332,
117
- tNMATCH = 333,
118
- tDOT2 = 334,
119
- tDOT3 = 335,
120
- tAREF = 336,
121
- tASET = 337,
122
- tLSHFT = 338,
123
- tRSHFT = 339,
124
- tCOLON2 = 340,
125
- tCOLON3 = 341,
126
- tOP_ASGN = 342,
127
- tASSOC = 343,
128
- tLPAREN = 344,
129
- tLPAREN_ARG = 345,
130
- tRPAREN = 346,
131
- tLBRACK = 347,
132
- tLBRACE = 348,
133
- tLBRACE_ARG = 349,
134
- tSTAR = 350,
135
- tAMPER = 351,
136
- tLAMBDA = 352,
137
- tSYMBEG = 353,
138
- tSTRING_BEG = 354,
139
- tXSTRING_BEG = 355,
140
- tREGEXP_BEG = 356,
141
- tWORDS_BEG = 357,
142
- tQWORDS_BEG = 358,
143
- tSTRING_DBEG = 359,
144
- tSTRING_DVAR = 360,
145
- tSTRING_END = 361,
146
- tLAMBEG = 362,
147
- tLOWEST = 363,
148
- tUMINUS_NUM = 364,
149
- idNULL = 365,
150
- idRespond_to = 366,
151
- idIFUNC = 367,
152
- idCFUNC = 368,
153
- id_core_set_method_alias = 369,
154
- id_core_set_variable_alias = 370,
155
- id_core_undef_method = 371,
156
- id_core_define_method = 372,
157
- id_core_define_singleton_method = 373,
158
- id_core_set_postexe = 374,
159
- tLAST_TOKEN = 375
160
- };
161
- #endif
162
- /* Tokens. */
163
- #define keyword_class 258
164
- #define keyword_module 259
165
- #define keyword_def 260
166
- #define keyword_undef 261
167
- #define keyword_begin 262
168
- #define keyword_rescue 263
169
- #define keyword_ensure 264
170
- #define keyword_end 265
171
- #define keyword_if 266
172
- #define keyword_unless 267
173
- #define keyword_then 268
174
- #define keyword_elsif 269
175
- #define keyword_else 270
176
- #define keyword_case 271
177
- #define keyword_when 272
178
- #define keyword_while 273
179
- #define keyword_until 274
180
- #define keyword_for 275
181
- #define keyword_break 276
182
- #define keyword_next 277
183
- #define keyword_redo 278
184
- #define keyword_retry 279
185
- #define keyword_in 280
186
- #define keyword_do 281
187
- #define keyword_do_cond 282
188
- #define keyword_do_block 283
189
- #define keyword_do_LAMBDA 284
190
- #define keyword_return 285
191
- #define keyword_yield 286
192
- #define keyword_super 287
193
- #define keyword_self 288
194
- #define keyword_nil 289
195
- #define keyword_true 290
196
- #define keyword_false 291
197
- #define keyword_and 292
198
- #define keyword_or 293
199
- #define keyword_not 294
200
- #define modifier_if 295
201
- #define modifier_unless 296
202
- #define modifier_while 297
203
- #define modifier_until 298
204
- #define modifier_rescue 299
205
- #define keyword_alias 300
206
- #define keyword_defined 301
207
- #define keyword_BEGIN 302
208
- #define keyword_END 303
209
- #define keyword__LINE__ 304
210
- #define keyword__FILE__ 305
211
- #define keyword__ENCODING__ 306
212
- #define tIDENTIFIER 307
213
- #define tFID 308
214
- #define tGVAR 309
215
- #define tIVAR 310
216
- #define tCONSTANT 311
217
- #define tCVAR 312
218
- #define tLABEL 313
219
- #define tINTEGER 314
220
- #define tFLOAT 315
221
- #define tSTRING_CONTENT 316
222
- #define tCHAR 317
223
- #define tNTH_REF 318
224
- #define tBACK_REF 319
225
- #define tREGEXP_END 320
226
- #define tUPLUS 321
227
- #define tUMINUS 322
228
- #define tPOW 323
229
- #define tCMP 324
230
- #define tEQ 325
231
- #define tEQQ 326
232
- #define tNEQ 327
233
- #define tGEQ 328
234
- #define tLEQ 329
235
- #define tANDOP 330
236
- #define tOROP 331
237
- #define tMATCH 332
238
- #define tNMATCH 333
239
- #define tDOT2 334
240
- #define tDOT3 335
241
- #define tAREF 336
242
- #define tASET 337
243
- #define tLSHFT 338
244
- #define tRSHFT 339
245
- #define tCOLON2 340
246
- #define tCOLON3 341
247
- #define tOP_ASGN 342
248
- #define tASSOC 343
249
- #define tLPAREN 344
250
- #define tLPAREN_ARG 345
251
- #define tRPAREN 346
252
- #define tLBRACK 347
253
- #define tLBRACE 348
254
- #define tLBRACE_ARG 349
255
- #define tSTAR 350
256
- #define tAMPER 351
257
- #define tLAMBDA 352
258
- #define tSYMBEG 353
259
- #define tSTRING_BEG 354
260
- #define tXSTRING_BEG 355
261
- #define tREGEXP_BEG 356
262
- #define tWORDS_BEG 357
263
- #define tQWORDS_BEG 358
264
- #define tSTRING_DBEG 359
265
- #define tSTRING_DVAR 360
266
- #define tSTRING_END 361
267
- #define tLAMBEG 362
268
- #define tLOWEST 363
269
- #define tUMINUS_NUM 364
270
- #define idNULL 365
271
- #define idRespond_to 366
272
- #define idIFUNC 367
273
- #define idCFUNC 368
274
- #define id_core_set_method_alias 369
275
- #define id_core_set_variable_alias 370
276
- #define id_core_undef_method 371
277
- #define id_core_define_method 372
278
- #define id_core_define_singleton_method 373
279
- #define id_core_set_postexe 374
280
- #define tLAST_TOKEN 375
281
-
282
-
283
-
284
-
285
- #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
286
- typedef union YYSTYPE
287
- {
288
- VALUE val;
289
- NODE *node;
290
- ID id;
291
- int num;
292
- const struct vtable *vars;
293
- }
294
- /* Line 1529 of yacc.c. */
295
- YYSTYPE;
296
- # define yystype YYSTYPE /* obsolescent; will be withdrawn */
297
- # define YYSTYPE_IS_DECLARED 1
298
- # define YYSTYPE_IS_TRIVIAL 1
299
- #endif
300
-
301
-
302
-
@@ -1,369 +0,0 @@
1
- /*
2
- * Generated by dtrace(1M).
3
- */
4
-
5
- #ifndef _PROBES_H
6
- #define _PROBES_H
7
-
8
- #include <unistd.h>
9
-
10
- #ifdef __cplusplus
11
- extern "C" {
12
- #endif
13
-
14
- #define RUBY_DTRACE_STABILITY "___dtrace_stability$ruby$v1$6_5_5_6_5_5_6_5_5_5_5_5_5_5_5"
15
-
16
- #define RUBY_DTRACE_TYPEDEFS "___dtrace_typedefs$ruby$v2"
17
-
18
- #if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED
19
-
20
- #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) \
21
- do { \
22
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
23
- __dtrace_probe$ruby$array__create$v1$6c6f6e67$63686172202a$696e74(arg0, arg1, arg2); \
24
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
25
- } while (0)
26
- #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() \
27
- ({ int _r = __dtrace_isenabled$ruby$array__create$v1(); \
28
- __asm__ volatile(""); \
29
- _r; })
30
- #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) \
31
- do { \
32
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
33
- __dtrace_probe$ruby$cmethod__entry$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \
34
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
35
- } while (0)
36
- #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() \
37
- ({ int _r = __dtrace_isenabled$ruby$cmethod__entry$v1(); \
38
- __asm__ volatile(""); \
39
- _r; })
40
- #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) \
41
- do { \
42
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
43
- __dtrace_probe$ruby$cmethod__return$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \
44
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
45
- } while (0)
46
- #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() \
47
- ({ int _r = __dtrace_isenabled$ruby$cmethod__return$v1(); \
48
- __asm__ volatile(""); \
49
- _r; })
50
- #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) \
51
- do { \
52
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
53
- __dtrace_probe$ruby$find__require__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
54
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
55
- } while (0)
56
- #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() \
57
- ({ int _r = __dtrace_isenabled$ruby$find__require__entry$v1(); \
58
- __asm__ volatile(""); \
59
- _r; })
60
- #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) \
61
- do { \
62
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
63
- __dtrace_probe$ruby$find__require__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
64
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
65
- } while (0)
66
- #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() \
67
- ({ int _r = __dtrace_isenabled$ruby$find__require__return$v1(); \
68
- __asm__ volatile(""); \
69
- _r; })
70
- #define RUBY_DTRACE_GC_MARK_BEGIN() \
71
- do { \
72
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
73
- __dtrace_probe$ruby$gc__mark__begin$v1(); \
74
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
75
- } while (0)
76
- #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() \
77
- ({ int _r = __dtrace_isenabled$ruby$gc__mark__begin$v1(); \
78
- __asm__ volatile(""); \
79
- _r; })
80
- #define RUBY_DTRACE_GC_MARK_END() \
81
- do { \
82
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
83
- __dtrace_probe$ruby$gc__mark__end$v1(); \
84
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
85
- } while (0)
86
- #define RUBY_DTRACE_GC_MARK_END_ENABLED() \
87
- ({ int _r = __dtrace_isenabled$ruby$gc__mark__end$v1(); \
88
- __asm__ volatile(""); \
89
- _r; })
90
- #define RUBY_DTRACE_GC_SWEEP_BEGIN() \
91
- do { \
92
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
93
- __dtrace_probe$ruby$gc__sweep__begin$v1(); \
94
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
95
- } while (0)
96
- #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() \
97
- ({ int _r = __dtrace_isenabled$ruby$gc__sweep__begin$v1(); \
98
- __asm__ volatile(""); \
99
- _r; })
100
- #define RUBY_DTRACE_GC_SWEEP_END() \
101
- do { \
102
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
103
- __dtrace_probe$ruby$gc__sweep__end$v1(); \
104
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
105
- } while (0)
106
- #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() \
107
- ({ int _r = __dtrace_isenabled$ruby$gc__sweep__end$v1(); \
108
- __asm__ volatile(""); \
109
- _r; })
110
- #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) \
111
- do { \
112
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
113
- __dtrace_probe$ruby$hash__create$v1$6c6f6e67$63686172202a$696e74(arg0, arg1, arg2); \
114
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
115
- } while (0)
116
- #define RUBY_DTRACE_HASH_CREATE_ENABLED() \
117
- ({ int _r = __dtrace_isenabled$ruby$hash__create$v1(); \
118
- __asm__ volatile(""); \
119
- _r; })
120
- #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) \
121
- do { \
122
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
123
- __dtrace_probe$ruby$load__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
124
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
125
- } while (0)
126
- #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() \
127
- ({ int _r = __dtrace_isenabled$ruby$load__entry$v1(); \
128
- __asm__ volatile(""); \
129
- _r; })
130
- #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) \
131
- do { \
132
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
133
- __dtrace_probe$ruby$load__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
134
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
135
- } while (0)
136
- #define RUBY_DTRACE_LOAD_RETURN_ENABLED() \
137
- ({ int _r = __dtrace_isenabled$ruby$load__return$v1(); \
138
- __asm__ volatile(""); \
139
- _r; })
140
- #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) \
141
- do { \
142
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
143
- __dtrace_probe$ruby$method__entry$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \
144
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
145
- } while (0)
146
- #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() \
147
- ({ int _r = __dtrace_isenabled$ruby$method__entry$v1(); \
148
- __asm__ volatile(""); \
149
- _r; })
150
- #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) \
151
- do { \
152
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
153
- __dtrace_probe$ruby$method__return$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \
154
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
155
- } while (0)
156
- #define RUBY_DTRACE_METHOD_RETURN_ENABLED() \
157
- ({ int _r = __dtrace_isenabled$ruby$method__return$v1(); \
158
- __asm__ volatile(""); \
159
- _r; })
160
- #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) \
161
- do { \
162
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
163
- __dtrace_probe$ruby$object__create$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
164
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
165
- } while (0)
166
- #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() \
167
- ({ int _r = __dtrace_isenabled$ruby$object__create$v1(); \
168
- __asm__ volatile(""); \
169
- _r; })
170
- #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) \
171
- do { \
172
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
173
- __dtrace_probe$ruby$parse__begin$v1$63686172202a$696e74(arg0, arg1); \
174
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
175
- } while (0)
176
- #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() \
177
- ({ int _r = __dtrace_isenabled$ruby$parse__begin$v1(); \
178
- __asm__ volatile(""); \
179
- _r; })
180
- #define RUBY_DTRACE_PARSE_END(arg0, arg1) \
181
- do { \
182
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
183
- __dtrace_probe$ruby$parse__end$v1$63686172202a$696e74(arg0, arg1); \
184
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
185
- } while (0)
186
- #define RUBY_DTRACE_PARSE_END_ENABLED() \
187
- ({ int _r = __dtrace_isenabled$ruby$parse__end$v1(); \
188
- __asm__ volatile(""); \
189
- _r; })
190
- #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) \
191
- do { \
192
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
193
- __dtrace_probe$ruby$raise$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
194
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
195
- } while (0)
196
- #define RUBY_DTRACE_RAISE_ENABLED() \
197
- ({ int _r = __dtrace_isenabled$ruby$raise$v1(); \
198
- __asm__ volatile(""); \
199
- _r; })
200
- #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) \
201
- do { \
202
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
203
- __dtrace_probe$ruby$require__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
204
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
205
- } while (0)
206
- #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() \
207
- ({ int _r = __dtrace_isenabled$ruby$require__entry$v1(); \
208
- __asm__ volatile(""); \
209
- _r; })
210
- #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) \
211
- do { \
212
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
213
- __dtrace_probe$ruby$require__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
214
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
215
- } while (0)
216
- #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() \
217
- ({ int _r = __dtrace_isenabled$ruby$require__return$v1(); \
218
- __asm__ volatile(""); \
219
- _r; })
220
- #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) \
221
- do { \
222
- __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \
223
- __dtrace_probe$ruby$string__create$v1$6c6f6e67$63686172202a$696e74(arg0, arg1, arg2); \
224
- __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \
225
- } while (0)
226
- #define RUBY_DTRACE_STRING_CREATE_ENABLED() \
227
- ({ int _r = __dtrace_isenabled$ruby$string__create$v1(); \
228
- __asm__ volatile(""); \
229
- _r; })
230
-
231
-
232
- extern void __dtrace_probe$ruby$array__create$v1$6c6f6e67$63686172202a$696e74(long, const char *, int);
233
- extern int __dtrace_isenabled$ruby$array__create$v1(void);
234
- extern void __dtrace_probe$ruby$cmethod__entry$v1$63686172202a$63686172202a$63686172202a$696e74(const char *, const char *, const char *, int);
235
- extern int __dtrace_isenabled$ruby$cmethod__entry$v1(void);
236
- extern void __dtrace_probe$ruby$cmethod__return$v1$63686172202a$63686172202a$63686172202a$696e74(const char *, const char *, const char *, int);
237
- extern int __dtrace_isenabled$ruby$cmethod__return$v1(void);
238
- extern void __dtrace_probe$ruby$find__require__entry$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
239
- extern int __dtrace_isenabled$ruby$find__require__entry$v1(void);
240
- extern void __dtrace_probe$ruby$find__require__return$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
241
- extern int __dtrace_isenabled$ruby$find__require__return$v1(void);
242
- extern void __dtrace_probe$ruby$gc__mark__begin$v1(void);
243
- extern int __dtrace_isenabled$ruby$gc__mark__begin$v1(void);
244
- extern void __dtrace_probe$ruby$gc__mark__end$v1(void);
245
- extern int __dtrace_isenabled$ruby$gc__mark__end$v1(void);
246
- extern void __dtrace_probe$ruby$gc__sweep__begin$v1(void);
247
- extern int __dtrace_isenabled$ruby$gc__sweep__begin$v1(void);
248
- extern void __dtrace_probe$ruby$gc__sweep__end$v1(void);
249
- extern int __dtrace_isenabled$ruby$gc__sweep__end$v1(void);
250
- extern void __dtrace_probe$ruby$hash__create$v1$6c6f6e67$63686172202a$696e74(long, const char *, int);
251
- extern int __dtrace_isenabled$ruby$hash__create$v1(void);
252
- extern void __dtrace_probe$ruby$load__entry$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
253
- extern int __dtrace_isenabled$ruby$load__entry$v1(void);
254
- extern void __dtrace_probe$ruby$load__return$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
255
- extern int __dtrace_isenabled$ruby$load__return$v1(void);
256
- extern void __dtrace_probe$ruby$method__entry$v1$63686172202a$63686172202a$63686172202a$696e74(const char *, const char *, const char *, int);
257
- extern int __dtrace_isenabled$ruby$method__entry$v1(void);
258
- extern void __dtrace_probe$ruby$method__return$v1$63686172202a$63686172202a$63686172202a$696e74(const char *, const char *, const char *, int);
259
- extern int __dtrace_isenabled$ruby$method__return$v1(void);
260
- extern void __dtrace_probe$ruby$object__create$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
261
- extern int __dtrace_isenabled$ruby$object__create$v1(void);
262
- extern void __dtrace_probe$ruby$parse__begin$v1$63686172202a$696e74(const char *, int);
263
- extern int __dtrace_isenabled$ruby$parse__begin$v1(void);
264
- extern void __dtrace_probe$ruby$parse__end$v1$63686172202a$696e74(const char *, int);
265
- extern int __dtrace_isenabled$ruby$parse__end$v1(void);
266
- extern void __dtrace_probe$ruby$raise$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
267
- extern int __dtrace_isenabled$ruby$raise$v1(void);
268
- extern void __dtrace_probe$ruby$require__entry$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
269
- extern int __dtrace_isenabled$ruby$require__entry$v1(void);
270
- extern void __dtrace_probe$ruby$require__return$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
271
- extern int __dtrace_isenabled$ruby$require__return$v1(void);
272
- extern void __dtrace_probe$ruby$string__create$v1$6c6f6e67$63686172202a$696e74(long, const char *, int);
273
- extern int __dtrace_isenabled$ruby$string__create$v1(void);
274
-
275
- #else
276
-
277
- #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) \
278
- do { \
279
- } while (0)
280
- #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() (0)
281
- #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) \
282
- do { \
283
- } while (0)
284
- #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() (0)
285
- #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) \
286
- do { \
287
- } while (0)
288
- #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() (0)
289
- #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) \
290
- do { \
291
- } while (0)
292
- #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() (0)
293
- #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) \
294
- do { \
295
- } while (0)
296
- #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() (0)
297
- #define RUBY_DTRACE_GC_MARK_BEGIN() \
298
- do { \
299
- } while (0)
300
- #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() (0)
301
- #define RUBY_DTRACE_GC_MARK_END() \
302
- do { \
303
- } while (0)
304
- #define RUBY_DTRACE_GC_MARK_END_ENABLED() (0)
305
- #define RUBY_DTRACE_GC_SWEEP_BEGIN() \
306
- do { \
307
- } while (0)
308
- #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() (0)
309
- #define RUBY_DTRACE_GC_SWEEP_END() \
310
- do { \
311
- } while (0)
312
- #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() (0)
313
- #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) \
314
- do { \
315
- } while (0)
316
- #define RUBY_DTRACE_HASH_CREATE_ENABLED() (0)
317
- #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) \
318
- do { \
319
- } while (0)
320
- #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() (0)
321
- #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) \
322
- do { \
323
- } while (0)
324
- #define RUBY_DTRACE_LOAD_RETURN_ENABLED() (0)
325
- #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) \
326
- do { \
327
- } while (0)
328
- #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() (0)
329
- #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) \
330
- do { \
331
- } while (0)
332
- #define RUBY_DTRACE_METHOD_RETURN_ENABLED() (0)
333
- #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) \
334
- do { \
335
- } while (0)
336
- #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() (0)
337
- #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) \
338
- do { \
339
- } while (0)
340
- #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() (0)
341
- #define RUBY_DTRACE_PARSE_END(arg0, arg1) \
342
- do { \
343
- } while (0)
344
- #define RUBY_DTRACE_PARSE_END_ENABLED() (0)
345
- #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) \
346
- do { \
347
- } while (0)
348
- #define RUBY_DTRACE_RAISE_ENABLED() (0)
349
- #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) \
350
- do { \
351
- } while (0)
352
- #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() (0)
353
- #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) \
354
- do { \
355
- } while (0)
356
- #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() (0)
357
- #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) \
358
- do { \
359
- } while (0)
360
- #define RUBY_DTRACE_STRING_CREATE_ENABLED() (0)
361
-
362
- #endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */
363
-
364
-
365
- #ifdef __cplusplus
366
- }
367
- #endif
368
-
369
- #endif /* _PROBES_H */