rake-builder 0.0.19 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. data/README.md +0 -1
  2. data/examples/01_hello_world_cpp/vendor/bundle/gems/coderay-1.0.8/Rakefile +35 -0
  3. data/examples/01_hello_world_cpp/vendor/bundle/gems/method_source-0.8.1/Rakefile +79 -0
  4. data/examples/01_hello_world_cpp/vendor/bundle/gems/pry-0.9.11.3/Rakefile +136 -0
  5. data/examples/01_hello_world_cpp/vendor/bundle/gems/slop-3.4.3/Rakefile +29 -0
  6. data/examples/03_search_paths/Rakefile +1 -1
  7. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/Rakefile +412 -0
  8. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +185 -0
  9. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +1427 -0
  10. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +149 -0
  11. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +2204 -0
  12. data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +77 -0
  13. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/Rakefile +374 -0
  14. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +6 -0
  15. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +6 -0
  16. data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +11 -0
  17. data/examples/04_zlib/Rakefile +2 -3
  18. data/examples/04_zlib/src/main.c +4 -3
  19. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/Rakefile +125 -0
  20. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/binding_of_caller.c +224 -0
  21. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/debug.h +36 -0
  22. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/dln.h +41 -0
  23. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/eval_intern.h +232 -0
  24. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/gc.h +77 -0
  25. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/id.h +173 -0
  26. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/iseq.h +104 -0
  27. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/method.h +103 -0
  28. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/node.h +483 -0
  29. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regenc.h +211 -0
  30. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regint.h +841 -0
  31. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regparse.h +354 -0
  32. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_pthread.h +27 -0
  33. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_win32.h +33 -0
  34. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/timev.h +21 -0
  35. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/transcode_data.h +109 -0
  36. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/version.h +63 -0
  37. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_core.h +703 -0
  38. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_exec.h +184 -0
  39. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h +208 -0
  40. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_opts.h +51 -0
  41. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/addr2line.h +21 -0
  42. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/atomic.h +56 -0
  43. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/constant.h +34 -0
  44. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/debug.h +41 -0
  45. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/dln.h +50 -0
  46. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/encdb.h +167 -0
  47. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/eval_intern.h +234 -0
  48. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/gc.h +98 -0
  49. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/id.h +175 -0
  50. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/internal.h +227 -0
  51. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/iseq.h +125 -0
  52. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/method.h +105 -0
  53. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/node.h +503 -0
  54. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/parse.h +186 -0
  55. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regenc.h +219 -0
  56. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regint.h +851 -0
  57. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regparse.h +362 -0
  58. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/revision.h +1 -0
  59. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_pthread.h +51 -0
  60. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_win32.h +40 -0
  61. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/timev.h +21 -0
  62. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transcode_data.h +117 -0
  63. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transdb.h +189 -0
  64. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/version.h +52 -0
  65. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_core.h +755 -0
  66. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_exec.h +184 -0
  67. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h +220 -0
  68. data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_opts.h +51 -0
  69. data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/Rakefile +47 -0
  70. data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/ext/readline_line_buffer/readline_line_buffer.c +24 -0
  71. data/examples/04_zlib/vendor/bundle/gems/coderay-1.0.8/Rakefile +35 -0
  72. data/examples/04_zlib/vendor/bundle/gems/columnize-0.3.6/Rakefile +93 -0
  73. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/Rakefile +130 -0
  74. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/breakpoint.c +586 -0
  75. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.c +2645 -0
  76. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.h +148 -0
  77. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/breakpoint.c +586 -0
  78. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.c +2626 -0
  79. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.h +148 -0
  80. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/breakpoint.c +586 -0
  81. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.c +2626 -0
  82. data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.h +148 -0
  83. data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/Rakefile +71 -0
  84. data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.c +105 -0
  85. data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.h +111 -0
  86. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/Rakefile +32 -0
  87. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/debug.h +36 -0
  88. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/dln.h +41 -0
  89. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/encdb.h +163 -0
  90. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/eval_intern.h +232 -0
  91. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/gc.h +77 -0
  92. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/id.h +170 -0
  93. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/iseq.h +104 -0
  94. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/method.h +103 -0
  95. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/node.h +483 -0
  96. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/parse.h +187 -0
  97. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regenc.h +211 -0
  98. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regint.h +841 -0
  99. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regparse.h +354 -0
  100. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/revision.h +1 -0
  101. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_pthread.h +27 -0
  102. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_win32.h +33 -0
  103. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/timev.h +21 -0
  104. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transcode_data.h +109 -0
  105. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transdb.h +179 -0
  106. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/version.h +55 -0
  107. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_core.h +707 -0
  108. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_exec.h +184 -0
  109. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_insnhelper.h +208 -0
  110. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_opts.h +51 -0
  111. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/debug.h +36 -0
  112. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/dln.h +41 -0
  113. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/encdb.h +163 -0
  114. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/eval_intern.h +232 -0
  115. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/gc.h +77 -0
  116. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/id.h +170 -0
  117. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/iseq.h +104 -0
  118. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/method.h +103 -0
  119. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/node.h +483 -0
  120. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/parse.h +186 -0
  121. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regenc.h +211 -0
  122. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regint.h +841 -0
  123. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regparse.h +354 -0
  124. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/revision.h +1 -0
  125. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_pthread.h +27 -0
  126. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_win32.h +33 -0
  127. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/timev.h +21 -0
  128. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transcode_data.h +109 -0
  129. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transdb.h +179 -0
  130. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/version.h +55 -0
  131. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_core.h +706 -0
  132. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_exec.h +184 -0
  133. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_insnhelper.h +208 -0
  134. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_opts.h +51 -0
  135. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/debug.h +36 -0
  136. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/dln.h +41 -0
  137. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/encdb.h +163 -0
  138. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/eval_intern.h +232 -0
  139. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/gc.h +77 -0
  140. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/id.h +170 -0
  141. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/iseq.h +104 -0
  142. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/method.h +103 -0
  143. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/node.h +483 -0
  144. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/parse.h +186 -0
  145. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regenc.h +211 -0
  146. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regint.h +841 -0
  147. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regparse.h +354 -0
  148. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/revision.h +1 -0
  149. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_pthread.h +27 -0
  150. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_win32.h +33 -0
  151. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/timev.h +21 -0
  152. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transcode_data.h +109 -0
  153. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transdb.h +179 -0
  154. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/version.h +55 -0
  155. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_core.h +706 -0
  156. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_exec.h +184 -0
  157. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_insnhelper.h +208 -0
  158. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_opts.h +51 -0
  159. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/addr2line.h +21 -0
  160. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/atomic.h +56 -0
  161. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/constant.h +34 -0
  162. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/debug.h +41 -0
  163. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/dln.h +50 -0
  164. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/encdb.h +167 -0
  165. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/eval_intern.h +234 -0
  166. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/gc.h +98 -0
  167. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/id.h +175 -0
  168. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/internal.h +227 -0
  169. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/iseq.h +125 -0
  170. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/method.h +105 -0
  171. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/node.h +503 -0
  172. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/parse.h +186 -0
  173. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regenc.h +219 -0
  174. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regint.h +851 -0
  175. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regparse.h +362 -0
  176. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/revision.h +1 -0
  177. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_pthread.h +51 -0
  178. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_win32.h +40 -0
  179. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/timev.h +21 -0
  180. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transcode_data.h +117 -0
  181. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transdb.h +189 -0
  182. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/version.h +52 -0
  183. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_core.h +756 -0
  184. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_exec.h +184 -0
  185. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_insnhelper.h +220 -0
  186. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_opts.h +51 -0
  187. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/addr2line.h +21 -0
  188. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/atomic.h +56 -0
  189. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/constant.h +34 -0
  190. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/debug.h +41 -0
  191. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/dln.h +50 -0
  192. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/encdb.h +167 -0
  193. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/eval_intern.h +234 -0
  194. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/gc.h +98 -0
  195. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/id.h +175 -0
  196. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/internal.h +231 -0
  197. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/iseq.h +125 -0
  198. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/method.h +105 -0
  199. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/node.h +503 -0
  200. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/parse.h +186 -0
  201. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regenc.h +219 -0
  202. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regint.h +850 -0
  203. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regparse.h +362 -0
  204. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/revision.h +1 -0
  205. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_pthread.h +51 -0
  206. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_win32.h +40 -0
  207. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/timev.h +21 -0
  208. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transcode_data.h +117 -0
  209. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transdb.h +189 -0
  210. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/version.h +52 -0
  211. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_core.h +756 -0
  212. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_exec.h +184 -0
  213. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_insnhelper.h +220 -0
  214. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_opts.h +51 -0
  215. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/addr2line.h +21 -0
  216. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/atomic.h +56 -0
  217. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/constant.h +34 -0
  218. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/debug.h +41 -0
  219. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/dln.h +50 -0
  220. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/encdb.h +167 -0
  221. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/eval_intern.h +234 -0
  222. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/gc.h +98 -0
  223. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/id.h +175 -0
  224. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/internal.h +232 -0
  225. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/iseq.h +125 -0
  226. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/method.h +105 -0
  227. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/node.h +503 -0
  228. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/parse.h +186 -0
  229. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regenc.h +219 -0
  230. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regint.h +850 -0
  231. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regparse.h +362 -0
  232. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/revision.h +1 -0
  233. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_pthread.h +51 -0
  234. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_win32.h +40 -0
  235. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/timev.h +21 -0
  236. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transcode_data.h +117 -0
  237. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transdb.h +189 -0
  238. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/version.h +52 -0
  239. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_core.h +756 -0
  240. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_exec.h +184 -0
  241. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_insnhelper.h +220 -0
  242. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_opts.h +51 -0
  243. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/addr2line.h +21 -0
  244. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/atomic.h +56 -0
  245. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/constant.h +34 -0
  246. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/debug.h +41 -0
  247. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/dln.h +50 -0
  248. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/encdb.h +167 -0
  249. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/eval_intern.h +234 -0
  250. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/gc.h +99 -0
  251. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/id.h +175 -0
  252. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/internal.h +232 -0
  253. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/iseq.h +125 -0
  254. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/method.h +105 -0
  255. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/node.h +503 -0
  256. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/parse.h +302 -0
  257. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regenc.h +219 -0
  258. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regint.h +850 -0
  259. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regparse.h +362 -0
  260. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/revision.h +1 -0
  261. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_pthread.h +51 -0
  262. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_win32.h +40 -0
  263. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/timev.h +21 -0
  264. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transcode_data.h +117 -0
  265. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transdb.h +189 -0
  266. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/version.h +52 -0
  267. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_core.h +756 -0
  268. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_exec.h +184 -0
  269. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_insnhelper.h +220 -0
  270. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_opts.h +51 -0
  271. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/addr2line.h +21 -0
  272. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/atomic.h +56 -0
  273. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/constant.h +34 -0
  274. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/debug.h +41 -0
  275. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/dln.h +50 -0
  276. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/encdb.h +167 -0
  277. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/eval_intern.h +234 -0
  278. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/gc.h +99 -0
  279. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/id.h +175 -0
  280. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/internal.h +239 -0
  281. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/iseq.h +125 -0
  282. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/method.h +105 -0
  283. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/node.h +503 -0
  284. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/parse.h +302 -0
  285. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regenc.h +219 -0
  286. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regint.h +850 -0
  287. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regparse.h +362 -0
  288. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/revision.h +1 -0
  289. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/siphash.h +48 -0
  290. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_pthread.h +51 -0
  291. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_win32.h +40 -0
  292. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/timev.h +21 -0
  293. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transcode_data.h +117 -0
  294. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transdb.h +189 -0
  295. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/version.h +52 -0
  296. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_core.h +756 -0
  297. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_exec.h +184 -0
  298. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_insnhelper.h +220 -0
  299. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_opts.h +51 -0
  300. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/addr2line.h +21 -0
  301. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/constant.h +34 -0
  302. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/debug.h +41 -0
  303. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/dln.h +50 -0
  304. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/encdb.h +167 -0
  305. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/eval_intern.h +234 -0
  306. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/gc.h +99 -0
  307. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/id.h +175 -0
  308. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/internal.h +239 -0
  309. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/iseq.h +127 -0
  310. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/method.h +105 -0
  311. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/node.h +503 -0
  312. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/parse.h +302 -0
  313. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regenc.h +219 -0
  314. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regint.h +850 -0
  315. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regparse.h +362 -0
  316. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/revision.h +1 -0
  317. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/ruby_atomic.h +115 -0
  318. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/siphash.h +48 -0
  319. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_pthread.h +51 -0
  320. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_win32.h +40 -0
  321. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/timev.h +21 -0
  322. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transcode_data.h +117 -0
  323. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transdb.h +189 -0
  324. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/version.h +52 -0
  325. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_core.h +756 -0
  326. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_exec.h +184 -0
  327. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_insnhelper.h +220 -0
  328. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_opts.h +51 -0
  329. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/addr2line.h +21 -0
  330. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/constant.h +34 -0
  331. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/debug.h +41 -0
  332. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/dln.h +50 -0
  333. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/encdb.h +167 -0
  334. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/eval_intern.h +234 -0
  335. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/gc.h +99 -0
  336. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/id.h +175 -0
  337. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/internal.h +239 -0
  338. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/iseq.h +126 -0
  339. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/method.h +105 -0
  340. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/node.h +503 -0
  341. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/parse.h +302 -0
  342. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regenc.h +219 -0
  343. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regint.h +850 -0
  344. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regparse.h +362 -0
  345. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/revision.h +1 -0
  346. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/ruby_atomic.h +115 -0
  347. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/siphash.h +48 -0
  348. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_pthread.h +51 -0
  349. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_win32.h +40 -0
  350. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/timev.h +21 -0
  351. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transcode_data.h +117 -0
  352. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transdb.h +189 -0
  353. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/version.h +52 -0
  354. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_core.h +763 -0
  355. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_exec.h +184 -0
  356. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_insnhelper.h +220 -0
  357. data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_opts.h +51 -0
  358. data/examples/04_zlib/vendor/bundle/gems/interception-0.3/Rakefile +32 -0
  359. data/examples/04_zlib/vendor/bundle/gems/interception-0.3/ext/interception.c +73 -0
  360. data/examples/04_zlib/vendor/bundle/gems/jist-1.3.1/Rakefile +10 -0
  361. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/Rakefile +412 -0
  362. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +185 -0
  363. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +1427 -0
  364. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +149 -0
  365. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +2204 -0
  366. data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +77 -0
  367. data/examples/04_zlib/vendor/bundle/gems/method_source-0.8.1/Rakefile +79 -0
  368. data/examples/04_zlib/vendor/bundle/gems/pry-0.9.11.4/Rakefile +136 -0
  369. data/examples/04_zlib/vendor/bundle/gems/pry-debugger-0.2.1/Rakefile +2 -0
  370. data/examples/04_zlib/vendor/bundle/gems/pry-doc-0.4.4/Rakefile +88 -0
  371. data/examples/04_zlib/vendor/bundle/gems/pry-exception_explorer-0.2.3/Rakefile +123 -0
  372. data/examples/04_zlib/vendor/bundle/gems/pry-rescue-0.15/Rakefile +22 -0
  373. data/examples/04_zlib/vendor/bundle/gems/pry-stack_explorer-0.4.7/Rakefile +109 -0
  374. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/Rakefile +374 -0
  375. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +6 -0
  376. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +6 -0
  377. data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +11 -0
  378. data/examples/04_zlib/vendor/bundle/gems/slop-3.4.3/Rakefile +29 -0
  379. data/examples/04_zlib/vendor/bundle/gems/yard-0.8.3/Rakefile +61 -0
  380. data/lib/compiler.rb +1 -1
  381. data/lib/rake/builder/autoconf/version.rb +24 -14
  382. data/lib/rake/builder/presenters/makefile/builder_presenter.rb +7 -0
  383. data/lib/rake/builder/task_definers/builder_collection_task_definer.rb +15 -0
  384. data/lib/rake/builder/{task_definer.rb → task_definers/builder_task_definer.rb} +31 -29
  385. data/lib/rake/builder/version.rb +4 -9
  386. data/lib/rake/builder.rb +61 -66
  387. data/lib/rake/microsecond.rb +11 -3
  388. data/spec/generated_files_spec.rb +0 -7
  389. data/spec/spec_helper.rb +3 -3
  390. data/spec/unit/rake/builder/autoconf/version_spec.rb +59 -0
  391. data/spec/unit/rake/builder/task_definers/builder_collection_task_definer_spec.rb +42 -0
  392. data/spec/unit/rake/builder/task_definers/builder_task_definer_spec.rb +250 -0
  393. data/spec/unit/rake/builder_spec.rb +38 -7
  394. metadata +387 -9
  395. data/spec/autoconf_spec.rb +0 -166
  396. data/spec/dependencies_spec.rb +0 -225
@@ -0,0 +1,756 @@
1
+ /**********************************************************************
2
+
3
+ vm_core.h -
4
+
5
+ $Author: naruse $
6
+ created at: 04/01/01 19:41:38 JST
7
+
8
+ Copyright (C) 2004-2007 Koichi Sasada
9
+
10
+ **********************************************************************/
11
+
12
+ #ifndef RUBY_VM_CORE_H
13
+ #define RUBY_VM_CORE_H
14
+
15
+ #define RUBY_VM_THREAD_MODEL 2
16
+
17
+ #include "ruby/ruby.h"
18
+ #include "ruby/st.h"
19
+
20
+ #include "node.h"
21
+ #include "debug.h"
22
+ #include "vm_opts.h"
23
+ #include "id.h"
24
+ #include "method.h"
25
+ #include "atomic.h"
26
+
27
+ #if defined(_WIN32)
28
+ #include "thread_win32.h"
29
+ #elif defined(HAVE_PTHREAD_H)
30
+ #include "thread_pthread.h"
31
+ #else
32
+ #error "unsupported thread type"
33
+ #endif
34
+
35
+ #ifndef ENABLE_VM_OBJSPACE
36
+ #ifdef _WIN32
37
+ /*
38
+ * TODO: object space independent st_table.
39
+ * socklist needs st_table in rb_w32_sysinit(), before object space
40
+ * initialization.
41
+ * It is too early now to change st_hash_type, since it breaks binary
42
+ * compatibility.
43
+ */
44
+ #define ENABLE_VM_OBJSPACE 0
45
+ #else
46
+ #define ENABLE_VM_OBJSPACE 1
47
+ #endif
48
+ #endif
49
+
50
+ #include <setjmp.h>
51
+ #include <signal.h>
52
+
53
+ #ifndef NSIG
54
+ # define NSIG (_SIGMAX + 1) /* For QNX */
55
+ #endif
56
+
57
+ #define RUBY_NSIG NSIG
58
+
59
+ #ifdef HAVE_STDARG_PROTOTYPES
60
+ #include <stdarg.h>
61
+ #define va_init_list(a,b) va_start((a),(b))
62
+ #else
63
+ #include <varargs.h>
64
+ #define va_init_list(a,b) va_start((a))
65
+ #endif
66
+
67
+ #if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO) && !defined(__NetBSD__)
68
+ #define USE_SIGALTSTACK
69
+ #endif
70
+
71
+ /*****************/
72
+ /* configuration */
73
+ /*****************/
74
+
75
+ /* gcc ver. check */
76
+ #if defined(__GNUC__) && __GNUC__ >= 2
77
+
78
+ #if OPT_TOKEN_THREADED_CODE
79
+ #if OPT_DIRECT_THREADED_CODE
80
+ #undef OPT_DIRECT_THREADED_CODE
81
+ #endif
82
+ #endif
83
+
84
+ #else /* defined(__GNUC__) && __GNUC__ >= 2 */
85
+
86
+ /* disable threaded code options */
87
+ #if OPT_DIRECT_THREADED_CODE
88
+ #undef OPT_DIRECT_THREADED_CODE
89
+ #endif
90
+ #if OPT_TOKEN_THREADED_CODE
91
+ #undef OPT_TOKEN_THREADED_CODE
92
+ #endif
93
+ #endif
94
+
95
+ /* call threaded code */
96
+ #if OPT_CALL_THREADED_CODE
97
+ #if OPT_DIRECT_THREADED_CODE
98
+ #undef OPT_DIRECT_THREADED_CODE
99
+ #endif /* OPT_DIRECT_THREADED_CODE */
100
+ #if OPT_STACK_CACHING
101
+ #undef OPT_STACK_CACHING
102
+ #endif /* OPT_STACK_CACHING */
103
+ #endif /* OPT_CALL_THREADED_CODE */
104
+
105
+ /* likely */
106
+ #if __GNUC__ >= 3
107
+ #define LIKELY(x) (__builtin_expect((x), 1))
108
+ #define UNLIKELY(x) (__builtin_expect((x), 0))
109
+ #else /* __GNUC__ >= 3 */
110
+ #define LIKELY(x) (x)
111
+ #define UNLIKELY(x) (x)
112
+ #endif /* __GNUC__ >= 3 */
113
+
114
+ #if __GNUC__ >= 3
115
+ #define UNINITIALIZED_VAR(x) x = x
116
+ #else
117
+ #define UNINITIALIZED_VAR(x) x
118
+ #endif
119
+
120
+ typedef unsigned long rb_num_t;
121
+
122
+ /* iseq data type */
123
+
124
+ struct iseq_compile_data_ensure_node_stack;
125
+
126
+ typedef struct rb_compile_option_struct rb_compile_option_t;
127
+
128
+ struct iseq_inline_cache_entry {
129
+ VALUE ic_vmstat;
130
+ VALUE ic_class;
131
+ union {
132
+ VALUE value;
133
+ rb_method_entry_t *method;
134
+ long index;
135
+ } ic_value;
136
+ };
137
+
138
+ #if 1
139
+ #define GetCoreDataFromValue(obj, type, ptr) do { \
140
+ (ptr) = (type*)DATA_PTR(obj); \
141
+ } while (0)
142
+ #else
143
+ #define GetCoreDataFromValue(obj, type, ptr) Data_Get_Struct((obj), type, (ptr))
144
+ #endif
145
+
146
+ #define GetISeqPtr(obj, ptr) \
147
+ GetCoreDataFromValue((obj), rb_iseq_t, (ptr))
148
+
149
+ struct rb_iseq_struct;
150
+
151
+ struct rb_iseq_struct {
152
+ /***************/
153
+ /* static data */
154
+ /***************/
155
+
156
+ enum iseq_type {
157
+ ISEQ_TYPE_TOP,
158
+ ISEQ_TYPE_METHOD,
159
+ ISEQ_TYPE_BLOCK,
160
+ ISEQ_TYPE_CLASS,
161
+ ISEQ_TYPE_RESCUE,
162
+ ISEQ_TYPE_ENSURE,
163
+ ISEQ_TYPE_EVAL,
164
+ ISEQ_TYPE_MAIN,
165
+ ISEQ_TYPE_DEFINED_GUARD
166
+ } type; /* instruction sequence type */
167
+
168
+ VALUE name; /* String: iseq name */
169
+ VALUE filename; /* file information where this sequence from */
170
+ VALUE filepath; /* real file path or nil */
171
+ VALUE *iseq; /* iseq (insn number and operands) */
172
+ VALUE *iseq_encoded; /* encoded iseq */
173
+ unsigned long iseq_size;
174
+ VALUE mark_ary; /* Array: includes operands which should be GC marked */
175
+ VALUE coverage; /* coverage array */
176
+ unsigned short line_no;
177
+
178
+ /* insn info, must be freed */
179
+ struct iseq_insn_info_entry *insn_info_table;
180
+ size_t insn_info_size;
181
+
182
+ ID *local_table; /* must free */
183
+ int local_table_size;
184
+
185
+ /* method, class frame: sizeof(vars) + 1, block frame: sizeof(vars) */
186
+ int local_size;
187
+
188
+ struct iseq_inline_cache_entry *ic_entries;
189
+ int ic_size;
190
+
191
+ /**
192
+ * argument information
193
+ *
194
+ * def m(a1, a2, ..., aM, # mandatory
195
+ * b1=(...), b2=(...), ..., bN=(...), # optional
196
+ * *c, # rest
197
+ * d1, d2, ..., dO, # post
198
+ * &e) # block
199
+ * =>
200
+ *
201
+ * argc = M
202
+ * arg_rest = M+N+1 // or -1 if no rest arg
203
+ * arg_opts = N+1 // or 0 if no optional arg
204
+ * arg_opt_table = [ (arg_opts entries) ]
205
+ * arg_post_len = O // 0 if no post arguments
206
+ * arg_post_start = M+N+2
207
+ * arg_block = M+N + 1 + O + 1 // -1 if no block arg
208
+ * arg_simple = 0 if not simple arguments.
209
+ * = 1 if no opt, rest, post, block.
210
+ * = 2 if ambiguous block parameter ({|a|}).
211
+ * arg_size = argument size.
212
+ */
213
+
214
+ int argc;
215
+ int arg_simple;
216
+ int arg_rest;
217
+ int arg_block;
218
+ int arg_opts;
219
+ int arg_post_len;
220
+ int arg_post_start;
221
+ int arg_size;
222
+ VALUE *arg_opt_table;
223
+
224
+ size_t stack_max; /* for stack overflow check */
225
+
226
+ /* catch table */
227
+ struct iseq_catch_table_entry *catch_table;
228
+ int catch_table_size;
229
+
230
+ /* for child iseq */
231
+ struct rb_iseq_struct *parent_iseq;
232
+ struct rb_iseq_struct *local_iseq;
233
+
234
+ /****************/
235
+ /* dynamic data */
236
+ /****************/
237
+
238
+ VALUE self;
239
+ VALUE orig; /* non-NULL if its data have origin */
240
+
241
+ /* block inlining */
242
+ /*
243
+ * NODE *node;
244
+ * void *special_block_builder;
245
+ * void *cached_special_block_builder;
246
+ * VALUE cached_special_block;
247
+ */
248
+
249
+ /* klass/module nest information stack (cref) */
250
+ NODE *cref_stack;
251
+ VALUE klass;
252
+
253
+ /* misc */
254
+ ID defined_method_id; /* for define_method */
255
+
256
+ /* used at compile time */
257
+ struct iseq_compile_data *compile_data;
258
+ };
259
+
260
+ enum ruby_special_exceptions {
261
+ ruby_error_reenter,
262
+ ruby_error_nomemory,
263
+ ruby_error_sysstack,
264
+ ruby_error_closed_stream,
265
+ ruby_special_error_count
266
+ };
267
+
268
+ #define GetVMPtr(obj, ptr) \
269
+ GetCoreDataFromValue((obj), rb_vm_t, (ptr))
270
+
271
+ #if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
272
+ struct rb_objspace;
273
+ void rb_objspace_free(struct rb_objspace *);
274
+ #endif
275
+
276
+ typedef struct rb_vm_struct {
277
+ VALUE self;
278
+
279
+ rb_global_vm_lock_t gvl;
280
+
281
+ struct rb_thread_struct *main_thread;
282
+ struct rb_thread_struct *running_thread;
283
+
284
+ st_table *living_threads;
285
+ VALUE thgroup_default;
286
+
287
+ int running;
288
+ int inhibit_thread_creation;
289
+ int thread_abort_on_exception;
290
+ unsigned long trace_flag;
291
+ volatile int sleeper;
292
+
293
+ /* object management */
294
+ VALUE mark_object_ary;
295
+
296
+ VALUE special_exceptions[ruby_special_error_count];
297
+
298
+ /* load */
299
+ VALUE top_self;
300
+ VALUE load_path;
301
+ VALUE loaded_features;
302
+ struct st_table *loading_table;
303
+
304
+ /* signal */
305
+ struct {
306
+ VALUE cmd;
307
+ int safe;
308
+ } trap_list[RUBY_NSIG];
309
+
310
+ /* hook */
311
+ rb_event_hook_t *event_hooks;
312
+
313
+ int src_encoding_index;
314
+
315
+ VALUE verbose, debug, progname;
316
+ VALUE coverages;
317
+
318
+ struct unlinked_method_entry_list_entry *unlinked_method_entry_list;
319
+
320
+ #if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
321
+ struct rb_objspace *objspace;
322
+ #endif
323
+
324
+ /*
325
+ * @shyouhei notes that this is not for storing normal Ruby
326
+ * objects so do *NOT* mark this when you GC.
327
+ */
328
+ struct RArray at_exit;
329
+ } rb_vm_t;
330
+
331
+ typedef struct {
332
+ VALUE *pc; /* cfp[0] */
333
+ VALUE *sp; /* cfp[1] */
334
+ VALUE *bp; /* cfp[2] */
335
+ rb_iseq_t *iseq; /* cfp[3] */
336
+ VALUE flag; /* cfp[4] */
337
+ VALUE self; /* cfp[5] / block[0] */
338
+ VALUE *lfp; /* cfp[6] / block[1] */
339
+ VALUE *dfp; /* cfp[7] / block[2] */
340
+ rb_iseq_t *block_iseq; /* cfp[8] / block[3] */
341
+ VALUE proc; /* cfp[9] / block[4] */
342
+ const rb_method_entry_t *me;/* cfp[10] */
343
+ } rb_control_frame_t;
344
+
345
+ typedef struct rb_block_struct {
346
+ VALUE self; /* share with method frame if it's only block */
347
+ VALUE *lfp; /* share with method frame if it's only block */
348
+ VALUE *dfp; /* share with method frame if it's only block */
349
+ rb_iseq_t *iseq;
350
+ VALUE proc;
351
+ } rb_block_t;
352
+
353
+ extern const rb_data_type_t ruby_threadptr_data_type;
354
+
355
+ #define GetThreadPtr(obj, ptr) \
356
+ TypedData_Get_Struct((obj), rb_thread_t, &ruby_threadptr_data_type, (ptr))
357
+
358
+ enum rb_thread_status {
359
+ THREAD_TO_KILL,
360
+ THREAD_RUNNABLE,
361
+ THREAD_STOPPED,
362
+ THREAD_STOPPED_FOREVER,
363
+ THREAD_KILLED
364
+ };
365
+
366
+ typedef RUBY_JMP_BUF rb_jmpbuf_t;
367
+
368
+ struct rb_vm_tag {
369
+ rb_jmpbuf_t buf;
370
+ VALUE tag;
371
+ VALUE retval;
372
+ struct rb_vm_tag *prev;
373
+ };
374
+
375
+ struct rb_vm_protect_tag {
376
+ struct rb_vm_protect_tag *prev;
377
+ };
378
+
379
+ struct rb_unblock_callback {
380
+ rb_unblock_function_t *func;
381
+ void *arg;
382
+ };
383
+
384
+ struct rb_mutex_struct;
385
+
386
+ #ifdef SIGSTKSZ
387
+ #define ALT_STACK_SIZE (SIGSTKSZ*2)
388
+ #else
389
+ #define ALT_STACK_SIZE (4*1024)
390
+ #endif
391
+
392
+ typedef struct rb_thread_struct {
393
+ VALUE self;
394
+ rb_vm_t *vm;
395
+
396
+ /* execution information */
397
+ VALUE *stack; /* must free, must mark */
398
+ unsigned long stack_size;
399
+ rb_control_frame_t *cfp;
400
+ int safe_level;
401
+ int raised_flag;
402
+ VALUE last_status; /* $? */
403
+
404
+ /* passing state */
405
+ int state;
406
+
407
+ int waiting_fd;
408
+
409
+ /* for rb_iterate */
410
+ const rb_block_t *passed_block;
411
+
412
+ /* for bmethod */
413
+ const rb_method_entry_t *passed_me;
414
+
415
+ /* for load(true) */
416
+ VALUE top_self;
417
+ VALUE top_wrapper;
418
+
419
+ /* eval env */
420
+ rb_block_t *base_block;
421
+
422
+ VALUE *local_lfp;
423
+ VALUE local_svar;
424
+
425
+ /* thread control */
426
+ rb_thread_id_t thread_id;
427
+ enum rb_thread_status status;
428
+ int priority;
429
+
430
+ native_thread_data_t native_thread_data;
431
+ void *blocking_region_buffer;
432
+
433
+ VALUE thgroup;
434
+ VALUE value;
435
+
436
+ VALUE errinfo;
437
+ VALUE thrown_errinfo;
438
+
439
+ rb_atomic_t interrupt_flag;
440
+ rb_thread_lock_t interrupt_lock;
441
+ struct rb_unblock_callback unblock;
442
+ VALUE locking_mutex;
443
+ struct rb_mutex_struct *keeping_mutexes;
444
+
445
+ struct rb_vm_tag *tag;
446
+ struct rb_vm_protect_tag *protect_tag;
447
+
448
+ int parse_in_eval;
449
+ int mild_compile_error;
450
+
451
+ /* storage */
452
+ st_table *local_storage;
453
+
454
+ struct rb_thread_struct *join_list_next;
455
+ struct rb_thread_struct *join_list_head;
456
+
457
+ VALUE first_proc;
458
+ VALUE first_args;
459
+ VALUE (*first_func)(ANYARGS);
460
+
461
+ /* for GC */
462
+ VALUE *machine_stack_start;
463
+ VALUE *machine_stack_end;
464
+ size_t machine_stack_maxsize;
465
+ #ifdef __ia64
466
+ VALUE *machine_register_stack_start;
467
+ VALUE *machine_register_stack_end;
468
+ size_t machine_register_stack_maxsize;
469
+ #endif
470
+ jmp_buf machine_regs;
471
+ int mark_stack_len;
472
+
473
+ /* statistics data for profiler */
474
+ VALUE stat_insn_usage;
475
+
476
+ /* tracer */
477
+ rb_event_hook_t *event_hooks;
478
+ rb_event_flag_t event_flags;
479
+ int tracing;
480
+
481
+ /* fiber */
482
+ VALUE fiber;
483
+ VALUE root_fiber;
484
+ rb_jmpbuf_t root_jmpbuf;
485
+
486
+ /* misc */
487
+ int method_missing_reason;
488
+ int abort_on_exception;
489
+ #ifdef USE_SIGALTSTACK
490
+ void *altstack;
491
+ #endif
492
+ unsigned long running_time_us;
493
+ } rb_thread_t;
494
+
495
+ /* iseq.c */
496
+ #if defined __GNUC__ && __GNUC__ >= 4
497
+ #pragma GCC visibility push(default)
498
+ #endif
499
+ VALUE rb_iseq_new(NODE*, VALUE, VALUE, VALUE, VALUE, enum iseq_type);
500
+ VALUE rb_iseq_new_top(NODE *node, VALUE name, VALUE filename, VALUE filepath, VALUE parent);
501
+ VALUE rb_iseq_new_main(NODE *node, VALUE filename, VALUE filepath);
502
+ VALUE rb_iseq_new_with_bopt(NODE*, VALUE, VALUE, VALUE, VALUE, VALUE, enum iseq_type, VALUE);
503
+ VALUE rb_iseq_new_with_opt(NODE*, VALUE, VALUE, VALUE, VALUE, VALUE, enum iseq_type, const rb_compile_option_t*);
504
+ VALUE rb_iseq_compile(VALUE src, VALUE file, VALUE line);
505
+ VALUE rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE filepath, VALUE line, VALUE opt);
506
+ VALUE rb_iseq_disasm(VALUE self);
507
+ int rb_iseq_disasm_insn(VALUE str, VALUE *iseqval, size_t pos, rb_iseq_t *iseq, VALUE child);
508
+ const char *ruby_node_name(int node);
509
+ int rb_iseq_first_lineno(rb_iseq_t *iseq);
510
+
511
+ RUBY_EXTERN VALUE rb_cISeq;
512
+ RUBY_EXTERN VALUE rb_cRubyVM;
513
+ RUBY_EXTERN VALUE rb_cEnv;
514
+ RUBY_EXTERN VALUE rb_mRubyVMFrozenCore;
515
+ #if defined __GNUC__ && __GNUC__ >= 4
516
+ #pragma GCC visibility pop
517
+ #endif
518
+
519
+ /* each thread has this size stack : 128KB */
520
+ #define RUBY_VM_THREAD_STACK_SIZE (128 * 1024)
521
+
522
+ #define GetProcPtr(obj, ptr) \
523
+ GetCoreDataFromValue((obj), rb_proc_t, (ptr))
524
+
525
+ typedef struct {
526
+ rb_block_t block;
527
+
528
+ VALUE envval; /* for GC mark */
529
+ VALUE blockprocval;
530
+ int safe_level;
531
+ int is_from_method;
532
+ int is_lambda;
533
+ } rb_proc_t;
534
+
535
+ #define GetEnvPtr(obj, ptr) \
536
+ GetCoreDataFromValue((obj), rb_env_t, (ptr))
537
+
538
+ typedef struct {
539
+ VALUE *env;
540
+ int env_size;
541
+ int local_size;
542
+ VALUE prev_envval; /* for GC mark */
543
+ rb_block_t block;
544
+ } rb_env_t;
545
+
546
+ #define GetBindingPtr(obj, ptr) \
547
+ GetCoreDataFromValue((obj), rb_binding_t, (ptr))
548
+
549
+ typedef struct {
550
+ VALUE env;
551
+ VALUE filename;
552
+ unsigned short line_no;
553
+ } rb_binding_t;
554
+
555
+ /* used by compile time and send insn */
556
+ #define VM_CALL_ARGS_SPLAT_BIT (0x01 << 1)
557
+ #define VM_CALL_ARGS_BLOCKARG_BIT (0x01 << 2)
558
+ #define VM_CALL_FCALL_BIT (0x01 << 3)
559
+ #define VM_CALL_VCALL_BIT (0x01 << 4)
560
+ #define VM_CALL_TAILCALL_BIT (0x01 << 5)
561
+ #define VM_CALL_TAILRECURSION_BIT (0x01 << 6)
562
+ #define VM_CALL_SUPER_BIT (0x01 << 7)
563
+ #define VM_CALL_OPT_SEND_BIT (0x01 << 8)
564
+
565
+ enum vm_special_object_type {
566
+ VM_SPECIAL_OBJECT_VMCORE = 1,
567
+ VM_SPECIAL_OBJECT_CBASE,
568
+ VM_SPECIAL_OBJECT_CONST_BASE
569
+ };
570
+
571
+ #define VM_FRAME_MAGIC_METHOD 0x11
572
+ #define VM_FRAME_MAGIC_BLOCK 0x21
573
+ #define VM_FRAME_MAGIC_CLASS 0x31
574
+ #define VM_FRAME_MAGIC_TOP 0x41
575
+ #define VM_FRAME_MAGIC_FINISH 0x51
576
+ #define VM_FRAME_MAGIC_CFUNC 0x61
577
+ #define VM_FRAME_MAGIC_PROC 0x71
578
+ #define VM_FRAME_MAGIC_IFUNC 0x81
579
+ #define VM_FRAME_MAGIC_EVAL 0x91
580
+ #define VM_FRAME_MAGIC_LAMBDA 0xa1
581
+ #define VM_FRAME_MAGIC_MASK_BITS 8
582
+ #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
583
+
584
+ #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
585
+
586
+ /* other frame flag */
587
+ #define VM_FRAME_FLAG_PASSED 0x0100
588
+
589
+ #define RUBYVM_CFUNC_FRAME_P(cfp) \
590
+ (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_CFUNC)
591
+
592
+ /* inline cache */
593
+ typedef struct iseq_inline_cache_entry *IC;
594
+
595
+ void rb_vm_change_state(void);
596
+
597
+ typedef VALUE CDHASH;
598
+
599
+ #ifndef FUNC_FASTCALL
600
+ #define FUNC_FASTCALL(x) x
601
+ #endif
602
+
603
+ typedef rb_control_frame_t *
604
+ (FUNC_FASTCALL(*rb_insn_func_t))(rb_thread_t *, rb_control_frame_t *);
605
+
606
+ #define GC_GUARDED_PTR(p) ((VALUE)((VALUE)(p) | 0x01))
607
+ #define GC_GUARDED_PTR_REF(p) ((void *)(((VALUE)(p)) & ~0x03))
608
+ #define GC_GUARDED_PTR_P(p) (((VALUE)(p)) & 0x01)
609
+
610
+ #define RUBY_VM_PREVIOUS_CONTROL_FRAME(cfp) ((cfp)+1)
611
+ #define RUBY_VM_NEXT_CONTROL_FRAME(cfp) ((cfp)-1)
612
+ #define RUBY_VM_END_CONTROL_FRAME(th) \
613
+ ((rb_control_frame_t *)((th)->stack + (th)->stack_size))
614
+ #define RUBY_VM_VALID_CONTROL_FRAME_P(cfp, ecfp) \
615
+ ((void *)(ecfp) > (void *)(cfp))
616
+ #define RUBY_VM_CONTROL_FRAME_STACK_OVERFLOW_P(th, cfp) \
617
+ (!RUBY_VM_VALID_CONTROL_FRAME_P((cfp), RUBY_VM_END_CONTROL_FRAME(th)))
618
+
619
+ #define RUBY_VM_IFUNC_P(ptr) (BUILTIN_TYPE(ptr) == T_NODE)
620
+ #define RUBY_VM_NORMAL_ISEQ_P(ptr) \
621
+ ((ptr) && !RUBY_VM_IFUNC_P(ptr))
622
+
623
+ #define RUBY_VM_GET_BLOCK_PTR_IN_CFP(cfp) ((rb_block_t *)(&(cfp)->self))
624
+ #define RUBY_VM_GET_CFP_FROM_BLOCK_PTR(b) \
625
+ ((rb_control_frame_t *)((VALUE *)(b) - 5))
626
+
627
+ /* VM related object allocate functions */
628
+ VALUE rb_thread_alloc(VALUE klass);
629
+ VALUE rb_proc_alloc(VALUE klass);
630
+
631
+ /* for debug */
632
+ extern void rb_vmdebug_stack_dump_raw(rb_thread_t *, rb_control_frame_t *);
633
+ #define SDR() rb_vmdebug_stack_dump_raw(GET_THREAD(), GET_THREAD()->cfp)
634
+ #define SDR2(cfp) rb_vmdebug_stack_dump_raw(GET_THREAD(), (cfp))
635
+ void rb_vm_bugreport(void);
636
+
637
+ /* functions about thread/vm execution */
638
+ #if defined __GNUC__ && __GNUC__ >= 4
639
+ #pragma GCC visibility push(default)
640
+ #endif
641
+ VALUE rb_iseq_eval(VALUE iseqval);
642
+ VALUE rb_iseq_eval_main(VALUE iseqval);
643
+ void rb_enable_interrupt(void);
644
+ void rb_disable_interrupt(void);
645
+ #if defined __GNUC__ && __GNUC__ >= 4
646
+ #pragma GCC visibility pop
647
+ #endif
648
+ int rb_thread_method_id_and_class(rb_thread_t *th, ID *idp, VALUE *klassp);
649
+
650
+ VALUE rb_vm_invoke_proc(rb_thread_t *th, rb_proc_t *proc, VALUE self,
651
+ int argc, const VALUE *argv, const rb_block_t *blockptr);
652
+ VALUE rb_vm_make_proc(rb_thread_t *th, const rb_block_t *block, VALUE klass);
653
+ VALUE rb_vm_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp);
654
+ void rb_vm_rewrite_dfp_in_errinfo(rb_thread_t *th);
655
+ void rb_vm_inc_const_missing_count(void);
656
+ void rb_vm_gvl_destroy(rb_vm_t *vm);
657
+ VALUE rb_vm_call(rb_thread_t *th, VALUE recv, VALUE id, int argc,
658
+ const VALUE *argv, const rb_method_entry_t *me);
659
+ void rb_unlink_method_entry(rb_method_entry_t *me);
660
+ void rb_gc_mark_unlinked_live_method_entries(void *pvm);
661
+
662
+ void rb_thread_start_timer_thread(void);
663
+ void rb_thread_stop_timer_thread(int);
664
+ void rb_thread_reset_timer_thread(void);
665
+ void rb_thread_wakeup_timer_thread(void);
666
+
667
+ int ruby_thread_has_gvl_p(void);
668
+ VALUE rb_make_backtrace(void);
669
+ typedef int rb_backtrace_iter_func(void *, VALUE, int, VALUE);
670
+ int rb_backtrace_each(rb_backtrace_iter_func *iter, void *arg);
671
+ rb_control_frame_t *rb_vm_get_ruby_level_next_cfp(rb_thread_t *th, rb_control_frame_t *cfp);
672
+ int rb_vm_get_sourceline(const rb_control_frame_t *);
673
+ VALUE rb_name_err_mesg_new(VALUE obj, VALUE mesg, VALUE recv, VALUE method);
674
+ void rb_vm_stack_to_heap(rb_thread_t *th);
675
+ void ruby_thread_init_stack(rb_thread_t *th);
676
+
677
+ NOINLINE(void rb_gc_save_machine_context(rb_thread_t *));
678
+ void rb_gc_mark_machine_stack(rb_thread_t *th);
679
+
680
+ #define sysstack_error GET_VM()->special_exceptions[ruby_error_sysstack]
681
+
682
+ /* for thread */
683
+
684
+ #if RUBY_VM_THREAD_MODEL == 2
685
+ RUBY_EXTERN rb_thread_t *ruby_current_thread;
686
+ extern rb_vm_t *ruby_current_vm;
687
+
688
+ #define GET_VM() ruby_current_vm
689
+ #define GET_THREAD() ruby_current_thread
690
+ #define rb_thread_set_current_raw(th) (void)(ruby_current_thread = (th))
691
+ #define rb_thread_set_current(th) do { \
692
+ if ((th)->vm->running_thread != (th)) { \
693
+ (th)->vm->running_thread->running_time_us = 0; \
694
+ } \
695
+ rb_thread_set_current_raw(th); \
696
+ (th)->vm->running_thread = (th); \
697
+ } while (0)
698
+
699
+ #else
700
+ #error "unsupported thread model"
701
+ #endif
702
+
703
+ #define RUBY_VM_SET_TIMER_INTERRUPT(th) ATOMIC_OR((th)->interrupt_flag, 0x01)
704
+ #define RUBY_VM_SET_INTERRUPT(th) ATOMIC_OR((th)->interrupt_flag, 0x02)
705
+ #define RUBY_VM_SET_FINALIZER_INTERRUPT(th) ATOMIC_OR((th)->interrupt_flag, 0x04)
706
+ #define RUBY_VM_INTERRUPTED(th) ((th)->interrupt_flag & 0x02)
707
+
708
+ int rb_signal_buff_size(void);
709
+ void rb_signal_exec(rb_thread_t *th, int sig);
710
+ void rb_threadptr_check_signal(rb_thread_t *mth);
711
+ void rb_threadptr_signal_raise(rb_thread_t *th, int sig);
712
+ void rb_threadptr_signal_exit(rb_thread_t *th);
713
+ void rb_threadptr_execute_interrupts(rb_thread_t *);
714
+ void rb_threadptr_interrupt(rb_thread_t *th);
715
+ void rb_threadptr_unlock_all_locking_mutexes(rb_thread_t *th);
716
+
717
+ void rb_thread_lock_unlock(rb_thread_lock_t *);
718
+ void rb_thread_lock_destroy(rb_thread_lock_t *);
719
+
720
+ #define RUBY_VM_CHECK_INTS_TH(th) do { \
721
+ if (UNLIKELY((th)->interrupt_flag)) { \
722
+ rb_threadptr_execute_interrupts(th); \
723
+ } \
724
+ } while (0)
725
+
726
+ #define RUBY_VM_CHECK_INTS() \
727
+ RUBY_VM_CHECK_INTS_TH(GET_THREAD())
728
+
729
+ /* tracer */
730
+ void
731
+ rb_threadptr_exec_event_hooks(rb_thread_t *th, rb_event_flag_t flag, VALUE self, ID id, VALUE klass);
732
+
733
+ #define EXEC_EVENT_HOOK(th, flag, self, id, klass) do { \
734
+ rb_event_flag_t wait_event__ = (th)->event_flags; \
735
+ if (UNLIKELY(wait_event__)) { \
736
+ if (wait_event__ & ((flag) | RUBY_EVENT_VM)) { \
737
+ rb_threadptr_exec_event_hooks((th), (flag), (self), (id), (klass)); \
738
+ } \
739
+ } \
740
+ } while (0)
741
+
742
+ #if defined __GNUC__ && __GNUC__ >= 4
743
+ #pragma GCC visibility push(default)
744
+ #endif
745
+
746
+ int rb_thread_check_trap_pending(void);
747
+
748
+ extern VALUE rb_get_coverages(void);
749
+ extern void rb_set_coverages(VALUE);
750
+ extern void rb_reset_coverages(void);
751
+
752
+ #if defined __GNUC__ && __GNUC__ >= 4
753
+ #pragma GCC visibility pop
754
+ #endif
755
+
756
+ #endif /* RUBY_VM_CORE_H */